Waiting for engine...
Skip to main content

apiLifecycles

Returns ApiLifecycles for all non-deleted APIs.

Input Parameters:

  • branchName: The name of the branch.

Response: Array of ApiLifecycle objects containing component information and deployments for all non-deleted APIs.

Example Request:

query {
apiLifecycles(branchName: "main") {
latestComponent {
id,
name
},
latestComponentMetadata {
title,
version,
description
},
apiDeployments {
id,
version,
environment {
id,
name
}
}
}
}

apiLifecycles(
branchName: String
): [ApiLifecycle!]

Arguments

apiLifecycles.branchName ● String scalar miscellaneous

Type

ApiLifecycle object platform

Represents the complete lifecycle information for an API, including its latest version and all deployments across environments.

On this Page