Get Endpoint Meta
Report what this deployment supports for each Admin API operation, and which request and response versions it will accept and serve.
Every Admin API operation is versioned independently, in both request and response. You ask for a response version in the x-haas-v header, and the version served is echoed in the x-haas-v response header and in the payload's version property. This operation tells you which versions are available before you uplift, without making a speculative call.
Consistent with the Data Adapter's Get Endpoint Meta, this operation uses the same operationId, path and x-haas-max-v request header instead of the Admin API's usual x-haas-v pattern. x-haas-max-v is a ceiling: the deployment serves the highest version it supports at or below the value you send, and returns 406 Header/UnsupportedVersion if it supports none.
The response lists listGrants, getGrant, getGrantHistory and revokeGrant, each with its responseVersions. revokeGrant also lists requestVersions, because it is the only operation with a request body.
The response is static: it is the same for every caller and is not filtered by your credential's scopes. Calling this operation needs the biza-au:haas:admin:read scope (see Admin API scopes). A credential with only biza-au:haas:admin:revoke still sees the read operations listed, and receives 403 when it calls one; the WWW-Authenticate header on that response names the scope required.
Admin APIβ
Get Endpoint Metaβ
From the HaaS Admin API 0.0.1-alpha.18. See the full reference.
Loading...