Vesta Backup

licensing

Vesta API · 6.0.76 · Community with mTLS

GET/api/v1/licensingLicensing Details

Authentication

Responses

200

Successful Response

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "acknowledgement": {
      "anyOf": [
        {
          "additionalProperties": false,
          "properties": {
            "acknowledged_at": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "actor": {
              "additionalProperties": false,
              "properties": {
                "kind": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                },
                "user_id": {
                  "type": "string"
                }
              },
              "required": [
                "user_id",
                "label",
                "kind"
              ],
              "type": "object"
            },
            "notice_scope": {
              "type": "string"
            },
            "policy_version": {
              "type": "string"
            },
            "schema_version": {
              "type": "integer"
            }
          },
          "required": [
            "schema_version",
            "notice_scope",
            "actor",
            "acknowledged_at",
            "policy_version"
          ],
          "type": "object"
        },
        {
          "type": "null"
        }
      ]
    },
    "certificate": {
      "anyOf": [
        {
          "additionalProperties": false,
          "properties": {
            "class": {
              "enum": [
                "free",
                "paid"
              ],
              "type": "string"
            },
            "coverage": {
              "additionalProperties": false,
              "properties": {
                "modules": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              },
              "required": [
                "modules"
              ],
              "type": "object"
            },
            "customer_id": {
              "type": "string"
            },
            "expires_at": {
              "type": "string"
            },
            "installation_id": {
              "type": "string"
            },
            "issued_at": {
              "type": "string"
            },
            "license_id": {
              "type": "string"
            },
            "not_before": {
              "type": "string"
            },
            "policy_version": {
              "type": "string"
            },
            "product": {
              "const": "vesta",
              "type": "string"
            }
          },
          "required": [
            "product",
            "license_id",
            "customer_id",
            "class",
            "issued_at",
            "coverage"
          ],
          "type": "object"
        },
        {
          "type": "null"
        }
      ]
    },
    "installation_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "status": {
      "additionalProperties": false,
      "properties": {
        "acknowledged": {
          "type": "boolean"
        },
        "can_manage": {
          "type": "boolean"
        },
        "notice_required": {
          "type": "boolean"
        },
        "notice_scope": {
          "type": "string"
        },
        "policy": {
          "additionalProperties": false,
          "properties": {
            "usage_rules_configured": {
              "const": false,
              "type": "boolean"
            },
            "version": {
              "type": "string"
            }
          },
          "required": [
            "version",
            "usage_rules_configured"
          ],
          "type": "object"
        },
        "reason_code": {
          "type": "string"
        },
        "registration_url": {
          "type": "string"
        },
        "schema_version": {
          "const": 1,
          "type": "integer"
        },
        "status": {
          "type": "string"
        }
      },
      "required": [
        "schema_version",
        "status",
        "reason_code",
        "notice_required",
        "acknowledged",
        "can_manage",
        "registration_url",
        "notice_scope",
        "policy"
      ],
      "type": "object"
    },
    "trust_store": {
      "additionalProperties": false,
      "properties": {
        "fingerprints": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Trusted key IDs mapped to SHA-256 public-key fingerprints.",
          "type": "object",
          "x-open-schema-reason": "Trusted key IDs mapped to SHA-256 public-key fingerprints."
        },
        "key_ids": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "state": {
          "type": "string"
        }
      },
      "required": [
        "state",
        "key_ids",
        "fingerprints"
      ],
      "type": "object"
    }
  },
  "required": [
    "status",
    "certificate",
    "installation_id",
    "trust_store",
    "acknowledgement"
  ],
  "type": "object"
}

401

Bearer absent, invalid, disabled, stale or organization unavailable

Headers
{
  "WWW-Authenticate": {
    "schema": {
      "type": "string"
    }
  }
}

application/json

Schema
{
  "anyOf": [
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "type": "string"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "const": "Invalid tenant credentials",
          "type": "string"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    }
  ]
}

403

Request refused or failed

Headers
{
  "X-Vnbui-Environment": {
    "schema": {
      "type": "string"
    }
  },
  "X-Vnbui-Simulated": {
    "schema": {
      "type": "string"
    }
  }
}

application/json

Schema
{
  "anyOf": [
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "additionalProperties": false,
          "properties": {
            "code": {
              "const": "installation_authority_required",
              "type": "string"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "code",
            "message"
          ],
          "type": "object"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "type": "string"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "additionalProperties": false,
          "properties": {
            "code": {
              "const": "DEMO_POLICY_DENIED",
              "type": "string"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "code",
            "message"
          ],
          "type": "object"
        },
        "environment": {
          "const": "demo",
          "type": "string"
        },
        "simulated": {
          "const": true,
          "type": "boolean"
        }
      },
      "required": [
        "detail",
        "environment",
        "simulated"
      ],
      "type": "object"
    }
  ]
}

422

Request refused or failed

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "detail": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string"
        }
      },
      "required": [
        "code",
        "message"
      ],
      "type": "object"
    }
  },
  "required": [
    "detail"
  ],
  "type": "object"
}

500

Unhandled exception outside route-level conversion; body is plain text

text/plain

Schema
{
  "const": "Internal Server Error",
  "type": "string"
}

DELETE/api/v1/licensing/acknowledgementClear Acknowledgement

Authentication

Responses

200

Successful Response

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "acknowledged": {
      "type": "boolean"
    },
    "can_manage": {
      "type": "boolean"
    },
    "notice_required": {
      "type": "boolean"
    },
    "notice_scope": {
      "type": "string"
    },
    "policy": {
      "additionalProperties": false,
      "properties": {
        "usage_rules_configured": {
          "const": false,
          "type": "boolean"
        },
        "version": {
          "type": "string"
        }
      },
      "required": [
        "version",
        "usage_rules_configured"
      ],
      "type": "object"
    },
    "reason_code": {
      "type": "string"
    },
    "registration_url": {
      "type": "string"
    },
    "schema_version": {
      "const": 1,
      "type": "integer"
    },
    "status": {
      "type": "string"
    }
  },
  "required": [
    "schema_version",
    "status",
    "reason_code",
    "notice_required",
    "acknowledged",
    "can_manage",
    "registration_url",
    "notice_scope",
    "policy"
  ],
  "type": "object"
}

401

Bearer absent, invalid, disabled, stale or organization unavailable

Headers
{
  "WWW-Authenticate": {
    "schema": {
      "type": "string"
    }
  }
}

application/json

Schema
{
  "anyOf": [
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "type": "string"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "const": "Invalid tenant credentials",
          "type": "string"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    }
  ]
}

403

Request refused or failed

Headers
{
  "X-Vnbui-Environment": {
    "schema": {
      "type": "string"
    }
  },
  "X-Vnbui-Simulated": {
    "schema": {
      "type": "string"
    }
  }
}

application/json

Schema
{
  "anyOf": [
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "additionalProperties": false,
          "properties": {
            "code": {
              "const": "installation_authority_required",
              "type": "string"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "code",
            "message"
          ],
          "type": "object"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "type": "string"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "additionalProperties": false,
          "properties": {
            "code": {
              "const": "DEMO_POLICY_DENIED",
              "type": "string"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "code",
            "message"
          ],
          "type": "object"
        },
        "environment": {
          "const": "demo",
          "type": "string"
        },
        "simulated": {
          "const": true,
          "type": "boolean"
        }
      },
      "required": [
        "detail",
        "environment",
        "simulated"
      ],
      "type": "object"
    }
  ]
}

422

Request refused or failed

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "detail": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string"
        }
      },
      "required": [
        "code",
        "message"
      ],
      "type": "object"
    }
  },
  "required": [
    "detail"
  ],
  "type": "object"
}

500

Unhandled exception outside route-level conversion; body is plain text

text/plain

Schema
{
  "const": "Internal Server Error",
  "type": "string"
}

POST/api/v1/licensing/acknowledgement/confirmConfirm Acknowledgement

Request body

Required

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "challenge": {
      "maxLength": 128,
      "minLength": 16,
      "title": "Challenge",
      "type": "string"
    },
    "confirm": {
      "title": "Confirm",
      "type": "boolean"
    },
    "phrase": {
      "maxLength": 128,
      "title": "Phrase",
      "type": "string"
    }
  },
  "required": [
    "confirm",
    "challenge",
    "phrase"
  ],
  "title": "ConfirmRequest",
  "type": "object"
}

Authentication

Responses

200

Successful Response

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "acknowledged": {
      "type": "boolean"
    },
    "can_manage": {
      "type": "boolean"
    },
    "notice_required": {
      "type": "boolean"
    },
    "notice_scope": {
      "type": "string"
    },
    "policy": {
      "additionalProperties": false,
      "properties": {
        "usage_rules_configured": {
          "const": false,
          "type": "boolean"
        },
        "version": {
          "type": "string"
        }
      },
      "required": [
        "version",
        "usage_rules_configured"
      ],
      "type": "object"
    },
    "reason_code": {
      "type": "string"
    },
    "registration_url": {
      "type": "string"
    },
    "schema_version": {
      "const": 1,
      "type": "integer"
    },
    "status": {
      "type": "string"
    }
  },
  "required": [
    "schema_version",
    "status",
    "reason_code",
    "notice_required",
    "acknowledged",
    "can_manage",
    "registration_url",
    "notice_scope",
    "policy"
  ],
  "type": "object"
}

401

Bearer absent, invalid, disabled, stale or organization unavailable

Headers
{
  "WWW-Authenticate": {
    "schema": {
      "type": "string"
    }
  }
}

application/json

Schema
{
  "anyOf": [
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "type": "string"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "const": "Invalid tenant credentials",
          "type": "string"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    }
  ]
}

403

Request refused or failed

Headers
{
  "X-Vnbui-Environment": {
    "schema": {
      "type": "string"
    }
  },
  "X-Vnbui-Simulated": {
    "schema": {
      "type": "string"
    }
  }
}

application/json

Schema
{
  "anyOf": [
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "additionalProperties": false,
          "properties": {
            "code": {
              "const": "installation_authority_required",
              "type": "string"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "code",
            "message"
          ],
          "type": "object"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "type": "string"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "additionalProperties": false,
          "properties": {
            "code": {
              "const": "DEMO_POLICY_DENIED",
              "type": "string"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "code",
            "message"
          ],
          "type": "object"
        },
        "environment": {
          "const": "demo",
          "type": "string"
        },
        "simulated": {
          "const": true,
          "type": "boolean"
        }
      },
      "required": [
        "detail",
        "environment",
        "simulated"
      ],
      "type": "object"
    }
  ]
}

413

Request refused or failed

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "detail": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "const": "request_too_large",
          "type": "string"
        },
        "message": {
          "type": "string"
        }
      },
      "required": [
        "code",
        "message"
      ],
      "type": "object"
    }
  },
  "required": [
    "detail"
  ],
  "type": "object"
}

422

Request refused or failed

application/json

Schema
{
  "anyOf": [
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "additionalProperties": false,
          "properties": {
            "code": {
              "const": "invalid_request",
              "type": "string"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "code",
            "message"
          ],
          "type": "object"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "additionalProperties": false,
          "properties": {
            "code": {
              "type": "string"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "code",
            "message"
          ],
          "type": "object"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    }
  ]
}

500

Unhandled exception outside route-level conversion; body is plain text

text/plain

Schema
{
  "const": "Internal Server Error",
  "type": "string"
}

POST/api/v1/licensing/acknowledgement/preparePrepare Acknowledgement

Request body

Required

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "confirm": {
      "title": "Confirm",
      "type": "boolean"
    }
  },
  "required": [
    "confirm"
  ],
  "title": "PrepareRequest",
  "type": "object"
}

Authentication

Responses

200

Successful Response

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "challenge": {
      "type": "string"
    },
    "expected_phrase": {
      "type": "string"
    },
    "expires_at": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "notice_scope": {
      "type": "string"
    },
    "status": {
      "additionalProperties": false,
      "properties": {
        "acknowledged": {
          "type": "boolean"
        },
        "can_manage": {
          "type": "boolean"
        },
        "notice_required": {
          "type": "boolean"
        },
        "notice_scope": {
          "type": "string"
        },
        "policy": {
          "additionalProperties": false,
          "properties": {
            "usage_rules_configured": {
              "const": false,
              "type": "boolean"
            },
            "version": {
              "type": "string"
            }
          },
          "required": [
            "version",
            "usage_rules_configured"
          ],
          "type": "object"
        },
        "reason_code": {
          "type": "string"
        },
        "registration_url": {
          "type": "string"
        },
        "schema_version": {
          "const": 1,
          "type": "integer"
        },
        "status": {
          "type": "string"
        }
      },
      "required": [
        "schema_version",
        "status",
        "reason_code",
        "notice_required",
        "acknowledged",
        "can_manage",
        "registration_url",
        "notice_scope",
        "policy"
      ],
      "type": "object"
    }
  },
  "required": [
    "challenge",
    "expected_phrase",
    "notice_scope",
    "expires_at",
    "status"
  ],
  "type": "object"
}

401

Bearer absent, invalid, disabled, stale or organization unavailable

Headers
{
  "WWW-Authenticate": {
    "schema": {
      "type": "string"
    }
  }
}

application/json

Schema
{
  "anyOf": [
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "type": "string"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "const": "Invalid tenant credentials",
          "type": "string"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    }
  ]
}

403

Request refused or failed

Headers
{
  "X-Vnbui-Environment": {
    "schema": {
      "type": "string"
    }
  },
  "X-Vnbui-Simulated": {
    "schema": {
      "type": "string"
    }
  }
}

application/json

Schema
{
  "anyOf": [
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "additionalProperties": false,
          "properties": {
            "code": {
              "const": "installation_authority_required",
              "type": "string"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "code",
            "message"
          ],
          "type": "object"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "type": "string"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "additionalProperties": false,
          "properties": {
            "code": {
              "const": "DEMO_POLICY_DENIED",
              "type": "string"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "code",
            "message"
          ],
          "type": "object"
        },
        "environment": {
          "const": "demo",
          "type": "string"
        },
        "simulated": {
          "const": true,
          "type": "boolean"
        }
      },
      "required": [
        "detail",
        "environment",
        "simulated"
      ],
      "type": "object"
    }
  ]
}

413

Request refused or failed

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "detail": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "const": "request_too_large",
          "type": "string"
        },
        "message": {
          "type": "string"
        }
      },
      "required": [
        "code",
        "message"
      ],
      "type": "object"
    }
  },
  "required": [
    "detail"
  ],
  "type": "object"
}

422

Request refused or failed

application/json

Schema
{
  "anyOf": [
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "additionalProperties": false,
          "properties": {
            "code": {
              "const": "invalid_request",
              "type": "string"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "code",
            "message"
          ],
          "type": "object"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "additionalProperties": false,
          "properties": {
            "code": {
              "type": "string"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "code",
            "message"
          ],
          "type": "object"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    }
  ]
}

500

Unhandled exception outside route-level conversion; body is plain text

text/plain

Schema
{
  "const": "Internal Server Error",
  "type": "string"
}

POST/api/v1/licensing/importImport Registration

Request body

Required

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "envelope": {
      "maxLength": 65536,
      "title": "Envelope",
      "type": "string"
    }
  },
  "required": [
    "envelope"
  ],
  "title": "ImportRequest",
  "type": "object"
}

Authentication

Responses

200

Successful Response

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "acknowledgement": {
      "anyOf": [
        {
          "additionalProperties": false,
          "properties": {
            "acknowledged_at": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "actor": {
              "additionalProperties": false,
              "properties": {
                "kind": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                },
                "user_id": {
                  "type": "string"
                }
              },
              "required": [
                "user_id",
                "label",
                "kind"
              ],
              "type": "object"
            },
            "notice_scope": {
              "type": "string"
            },
            "policy_version": {
              "type": "string"
            },
            "schema_version": {
              "type": "integer"
            }
          },
          "required": [
            "schema_version",
            "notice_scope",
            "actor",
            "acknowledged_at",
            "policy_version"
          ],
          "type": "object"
        },
        {
          "type": "null"
        }
      ]
    },
    "certificate": {
      "anyOf": [
        {
          "additionalProperties": false,
          "properties": {
            "class": {
              "enum": [
                "free",
                "paid"
              ],
              "type": "string"
            },
            "coverage": {
              "additionalProperties": false,
              "properties": {
                "modules": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              },
              "required": [
                "modules"
              ],
              "type": "object"
            },
            "customer_id": {
              "type": "string"
            },
            "expires_at": {
              "type": "string"
            },
            "installation_id": {
              "type": "string"
            },
            "issued_at": {
              "type": "string"
            },
            "license_id": {
              "type": "string"
            },
            "not_before": {
              "type": "string"
            },
            "policy_version": {
              "type": "string"
            },
            "product": {
              "const": "vesta",
              "type": "string"
            }
          },
          "required": [
            "product",
            "license_id",
            "customer_id",
            "class",
            "issued_at",
            "coverage"
          ],
          "type": "object"
        },
        {
          "type": "null"
        }
      ]
    },
    "installation_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "status": {
      "additionalProperties": false,
      "properties": {
        "acknowledged": {
          "type": "boolean"
        },
        "can_manage": {
          "type": "boolean"
        },
        "notice_required": {
          "type": "boolean"
        },
        "notice_scope": {
          "type": "string"
        },
        "policy": {
          "additionalProperties": false,
          "properties": {
            "usage_rules_configured": {
              "const": false,
              "type": "boolean"
            },
            "version": {
              "type": "string"
            }
          },
          "required": [
            "version",
            "usage_rules_configured"
          ],
          "type": "object"
        },
        "reason_code": {
          "type": "string"
        },
        "registration_url": {
          "type": "string"
        },
        "schema_version": {
          "const": 1,
          "type": "integer"
        },
        "status": {
          "type": "string"
        }
      },
      "required": [
        "schema_version",
        "status",
        "reason_code",
        "notice_required",
        "acknowledged",
        "can_manage",
        "registration_url",
        "notice_scope",
        "policy"
      ],
      "type": "object"
    },
    "trust_store": {
      "additionalProperties": false,
      "properties": {
        "fingerprints": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Trusted key IDs mapped to SHA-256 public-key fingerprints.",
          "type": "object",
          "x-open-schema-reason": "Trusted key IDs mapped to SHA-256 public-key fingerprints."
        },
        "key_ids": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "state": {
          "type": "string"
        }
      },
      "required": [
        "state",
        "key_ids",
        "fingerprints"
      ],
      "type": "object"
    }
  },
  "required": [
    "status",
    "certificate",
    "installation_id",
    "trust_store",
    "acknowledgement"
  ],
  "type": "object"
}

401

Bearer absent, invalid, disabled, stale or organization unavailable

Headers
{
  "WWW-Authenticate": {
    "schema": {
      "type": "string"
    }
  }
}

application/json

Schema
{
  "anyOf": [
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "type": "string"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "const": "Invalid tenant credentials",
          "type": "string"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    }
  ]
}

403

Request refused or failed

Headers
{
  "X-Vnbui-Environment": {
    "schema": {
      "type": "string"
    }
  },
  "X-Vnbui-Simulated": {
    "schema": {
      "type": "string"
    }
  }
}

application/json

Schema
{
  "anyOf": [
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "additionalProperties": false,
          "properties": {
            "code": {
              "const": "installation_authority_required",
              "type": "string"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "code",
            "message"
          ],
          "type": "object"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "type": "string"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "additionalProperties": false,
          "properties": {
            "code": {
              "const": "DEMO_POLICY_DENIED",
              "type": "string"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "code",
            "message"
          ],
          "type": "object"
        },
        "environment": {
          "const": "demo",
          "type": "string"
        },
        "simulated": {
          "const": true,
          "type": "boolean"
        }
      },
      "required": [
        "detail",
        "environment",
        "simulated"
      ],
      "type": "object"
    }
  ]
}

413

Request refused or failed

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "detail": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "const": "request_too_large",
          "type": "string"
        },
        "message": {
          "type": "string"
        }
      },
      "required": [
        "code",
        "message"
      ],
      "type": "object"
    }
  },
  "required": [
    "detail"
  ],
  "type": "object"
}

422

Request refused or failed

application/json

Schema
{
  "anyOf": [
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "additionalProperties": false,
          "properties": {
            "code": {
              "const": "invalid_request",
              "type": "string"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "code",
            "message"
          ],
          "type": "object"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "additionalProperties": false,
          "properties": {
            "code": {
              "type": "string"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "code",
            "message"
          ],
          "type": "object"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    }
  ]
}

500

Unhandled exception outside route-level conversion; body is plain text

text/plain

Schema
{
  "const": "Internal Server Error",
  "type": "string"
}

PUT/api/v1/licensing/registration-urlRegistration Url

Request body

Required

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "url": {
      "maxLength": 2048,
      "title": "Url",
      "type": "string"
    }
  },
  "required": [
    "url"
  ],
  "title": "RegistrationURLRequest",
  "type": "object"
}

Authentication

Responses

200

Successful Response

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "acknowledgement": {
      "anyOf": [
        {
          "additionalProperties": false,
          "properties": {
            "acknowledged_at": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "actor": {
              "additionalProperties": false,
              "properties": {
                "kind": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                },
                "user_id": {
                  "type": "string"
                }
              },
              "required": [
                "user_id",
                "label",
                "kind"
              ],
              "type": "object"
            },
            "notice_scope": {
              "type": "string"
            },
            "policy_version": {
              "type": "string"
            },
            "schema_version": {
              "type": "integer"
            }
          },
          "required": [
            "schema_version",
            "notice_scope",
            "actor",
            "acknowledged_at",
            "policy_version"
          ],
          "type": "object"
        },
        {
          "type": "null"
        }
      ]
    },
    "certificate": {
      "anyOf": [
        {
          "additionalProperties": false,
          "properties": {
            "class": {
              "enum": [
                "free",
                "paid"
              ],
              "type": "string"
            },
            "coverage": {
              "additionalProperties": false,
              "properties": {
                "modules": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              },
              "required": [
                "modules"
              ],
              "type": "object"
            },
            "customer_id": {
              "type": "string"
            },
            "expires_at": {
              "type": "string"
            },
            "installation_id": {
              "type": "string"
            },
            "issued_at": {
              "type": "string"
            },
            "license_id": {
              "type": "string"
            },
            "not_before": {
              "type": "string"
            },
            "policy_version": {
              "type": "string"
            },
            "product": {
              "const": "vesta",
              "type": "string"
            }
          },
          "required": [
            "product",
            "license_id",
            "customer_id",
            "class",
            "issued_at",
            "coverage"
          ],
          "type": "object"
        },
        {
          "type": "null"
        }
      ]
    },
    "installation_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "status": {
      "additionalProperties": false,
      "properties": {
        "acknowledged": {
          "type": "boolean"
        },
        "can_manage": {
          "type": "boolean"
        },
        "notice_required": {
          "type": "boolean"
        },
        "notice_scope": {
          "type": "string"
        },
        "policy": {
          "additionalProperties": false,
          "properties": {
            "usage_rules_configured": {
              "const": false,
              "type": "boolean"
            },
            "version": {
              "type": "string"
            }
          },
          "required": [
            "version",
            "usage_rules_configured"
          ],
          "type": "object"
        },
        "reason_code": {
          "type": "string"
        },
        "registration_url": {
          "type": "string"
        },
        "schema_version": {
          "const": 1,
          "type": "integer"
        },
        "status": {
          "type": "string"
        }
      },
      "required": [
        "schema_version",
        "status",
        "reason_code",
        "notice_required",
        "acknowledged",
        "can_manage",
        "registration_url",
        "notice_scope",
        "policy"
      ],
      "type": "object"
    },
    "trust_store": {
      "additionalProperties": false,
      "properties": {
        "fingerprints": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Trusted key IDs mapped to SHA-256 public-key fingerprints.",
          "type": "object",
          "x-open-schema-reason": "Trusted key IDs mapped to SHA-256 public-key fingerprints."
        },
        "key_ids": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "state": {
          "type": "string"
        }
      },
      "required": [
        "state",
        "key_ids",
        "fingerprints"
      ],
      "type": "object"
    }
  },
  "required": [
    "status",
    "certificate",
    "installation_id",
    "trust_store",
    "acknowledgement"
  ],
  "type": "object"
}

401

Bearer absent, invalid, disabled, stale or organization unavailable

Headers
{
  "WWW-Authenticate": {
    "schema": {
      "type": "string"
    }
  }
}

application/json

Schema
{
  "anyOf": [
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "type": "string"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "const": "Invalid tenant credentials",
          "type": "string"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    }
  ]
}

403

Request refused or failed

Headers
{
  "X-Vnbui-Environment": {
    "schema": {
      "type": "string"
    }
  },
  "X-Vnbui-Simulated": {
    "schema": {
      "type": "string"
    }
  }
}

application/json

Schema
{
  "anyOf": [
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "additionalProperties": false,
          "properties": {
            "code": {
              "const": "installation_authority_required",
              "type": "string"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "code",
            "message"
          ],
          "type": "object"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "type": "string"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "additionalProperties": false,
          "properties": {
            "code": {
              "const": "DEMO_POLICY_DENIED",
              "type": "string"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "code",
            "message"
          ],
          "type": "object"
        },
        "environment": {
          "const": "demo",
          "type": "string"
        },
        "simulated": {
          "const": true,
          "type": "boolean"
        }
      },
      "required": [
        "detail",
        "environment",
        "simulated"
      ],
      "type": "object"
    }
  ]
}

413

Request refused or failed

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "detail": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "const": "request_too_large",
          "type": "string"
        },
        "message": {
          "type": "string"
        }
      },
      "required": [
        "code",
        "message"
      ],
      "type": "object"
    }
  },
  "required": [
    "detail"
  ],
  "type": "object"
}

422

Request refused or failed

application/json

Schema
{
  "anyOf": [
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "additionalProperties": false,
          "properties": {
            "code": {
              "const": "invalid_request",
              "type": "string"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "code",
            "message"
          ],
          "type": "object"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "additionalProperties": false,
          "properties": {
            "code": {
              "type": "string"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "code",
            "message"
          ],
          "type": "object"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    }
  ]
}

500

Unhandled exception outside route-level conversion; body is plain text

text/plain

Schema
{
  "const": "Internal Server Error",
  "type": "string"
}

GET/api/v1/licensing/statusLicensing Status

Authentication

Responses

200

Successful Response

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "acknowledged": {
      "type": "boolean"
    },
    "can_manage": {
      "type": "boolean"
    },
    "notice_required": {
      "type": "boolean"
    },
    "notice_scope": {
      "type": "string"
    },
    "policy": {
      "additionalProperties": false,
      "properties": {
        "usage_rules_configured": {
          "const": false,
          "type": "boolean"
        },
        "version": {
          "type": "string"
        }
      },
      "required": [
        "version",
        "usage_rules_configured"
      ],
      "type": "object"
    },
    "reason_code": {
      "type": "string"
    },
    "registration_url": {
      "type": "string"
    },
    "schema_version": {
      "const": 1,
      "type": "integer"
    },
    "status": {
      "type": "string"
    }
  },
  "required": [
    "schema_version",
    "status",
    "reason_code",
    "notice_required",
    "acknowledged",
    "can_manage",
    "registration_url",
    "notice_scope",
    "policy"
  ],
  "type": "object"
}

401

Bearer absent, invalid, disabled, stale or organization unavailable

Headers
{
  "WWW-Authenticate": {
    "schema": {
      "type": "string"
    }
  }
}

application/json

Schema
{
  "anyOf": [
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "type": "string"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    },
    {
      "additionalProperties": false,
      "properties": {
        "detail": {
          "const": "Invalid tenant credentials",
          "type": "string"
        }
      },
      "required": [
        "detail"
      ],
      "type": "object"
    }
  ]
}

403

Only in demo deployment mode: ordinary API surface is denied before handlers

Headers
{
  "X-Vnbui-Environment": {
    "schema": {
      "type": "string"
    }
  },
  "X-Vnbui-Simulated": {
    "schema": {
      "type": "string"
    }
  }
}

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "detail": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "const": "DEMO_POLICY_DENIED",
          "type": "string"
        },
        "message": {
          "type": "string"
        }
      },
      "required": [
        "code",
        "message"
      ],
      "type": "object"
    },
    "environment": {
      "const": "demo",
      "type": "string"
    },
    "simulated": {
      "const": true,
      "type": "boolean"
    }
  },
  "required": [
    "detail",
    "environment",
    "simulated"
  ],
  "type": "object"
}

422

Request refused or failed

application/json

Schema
{
  "additionalProperties": false,
  "properties": {
    "detail": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string"
        }
      },
      "required": [
        "code",
        "message"
      ],
      "type": "object"
    }
  },
  "required": [
    "detail"
  ],
  "type": "object"
}

500

Unhandled exception outside route-level conversion; body is plain text

text/plain

Schema
{
  "const": "Internal Server Error",
  "type": "string"
}