One published application, with its OpenAPI document
OpenAPI JSONconst url = 'https://api.eu.apigami.com/v1/catalog/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.eu.apigami.com/v1/catalog/exampleThe card of one application, named by its slug, unique on all of Apigami: its identifier, the OpenAPI document of the version it has in production — so every action with its input schema — and the sites a call to it may touch, each one saying whether the request leaves the user’s own browser with their session or the application makes it itself, and which application it comes from. Only the version in production is described. Code should key off app_id: a slug can be renamed.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”The application, its effective sites and its OpenAPI document.
object
What code written against this application uses. A public name can be changed; this cannot.
Unique on all of Apigami; it names the application’s host, {slug}.apigami.tech.
The slug of its team, when the team has one.
The application’s own name, fixed outside any version; it does not change when a version is published.
The info.title of the version in production, so it changes at every publication.
The version its author declared, info.version of the manifest. version_id identifies the row; this is what the author wrote.
False until Apigami has reviewed the version in production.
object
Its operationId, which is the name you call.
object
extension: the request leaves the user’s browser with their session, and they approve the site. direct: the application calls it itself, with its own credentials.
Null when this application declares the site itself; otherwise the application it comes from.
The OpenAPI 3.1 document of the version in production, x-apigami block included.
Example
{ "visibility": "unlisted", "domains": [ { "via": "extension" } ]}No such published application.
object
Present and true when the approval window is open and the user has not answered within 45 s.
Example
{ "error": "not found"}