One version, and optionally one of its files
OpenAPI JSONconst url = 'https://api.eu.apigami.com/v1/apps/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/versions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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/apps/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/versions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>'Where the version stands: validation, deployment, health, review and what blocks its publication (publish). No file is returned unless path names one, cut by from and to; base_version_id asks for a diff.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”The version.
Where one version stands. publish.next is the one sentence to act on.
object
ready once written, deployed, pending_review, rejected, among others.
object
object
A JSON pointer into the file.
The fix.
Present on a warning, which blocks nothing.
The info.version of its manifest.
Where its pages answer, from the slug of its manifest.
object
object
When one of its actions first answered below 500 on its own deployment, which publication requires.
object
object
Example
{ "validation": { "status": "valid", "diagnostics": [ { "level": "warning" } ] }}Not a version of an application of your team.
object
Present and true when the approval window is open and the user has not answered within 45 s.
Example
{ "error": "not found"}