Superuser API
The superuser API is for the system operators of Invantive, at https://waypoint.invantive.eu/api/v1/admin. A tenant cannot use it: tenants are created, suspended and deleted by Invantive. A caller is a system operator signed in to the console, or a program with a superuser token that Invantive configures. The OpenAPI description is at https://waypoint.invantive.eu/api/v1/admin/openapi.json. A request of anybody else answers 401 or 403.
Operations
The superuser API offers the following operations:
/tenants: list the tenants, filtered byqandstateand paged withafterand$top;POSTcreates a tenant with its first editor./tenants/{code}: read, replace, change or delete a tenant. A deletion removes the tenant with all its data, only after an export of the last 24 hours, and the body repeats the code as confirmation./tenants/{code}/suspendand/tenants/{code}/resume: a suspended tenant shows nothing in its applications, and its APIs and console refuse it./tenants/{code}/limits: monthly active users, events per hour and the monthly ceiling of machine translation./tenants/{code}/usage: the use this month against the limits./tenants/{code}/deletion: what a deletion would remove./tenants/{code}/export: export a tenant./tenants/{code}/applicationsand/tenants/{code}/applications/{application}: the applications of a tenant;/rotate-secretrotates the signing secret./applications: the applications of every tenant./parties: the parties of Invantive Customer Service a tenant can belong to./refusals: the refused requests per hour and reason./audit-events: the audit trail of every tenant. A row cannot be changed or deleted (405,itgenwpt142)./demo-sets,/demo-sets/{set}and/demo-sets/{set}/package: the demo sets of the release./tenants/{code}/demo-sets/{set}: load a demo set into a tenant withPOST, remove it withDELETE./tenants/{code}/transfers, with/exports,/checksand/imports: export and import for a tenant.
The answers follow the conventions of Interfaces. Lists answer CSV as well, and are paged with a Link header.