Skip to main content

Application

A bundle that runs on a runtime.

An application adds its own dependencies, resources, environment variables, and secrets to a runtime. Its massdriver.yaml sets app.runtime, and each published version is built on one exact runtime version.

type Application {
id: ID!
latest: Bundle!
runtime: Runtime
runtimeAccessGroups(
sort: GroupsSort
cursor: Cursor
): GroupsPage!
versions(
cursor: Cursor
): BundlesPage!
instances(
filter: InstancesFilter
sort: InstancesSort
cursor: Cursor
): InstancesPage!
}

Fields​

Application.id ● ID! non-null scalar {#id}​

The application name, which is the name of its bundle repository (e.g., payments-api).

Application.latest ● Bundle! non-null object {#latest}​

The newest published version: the highest stable version, or the highest development version when no stable version exists. latest.runtime is the exact runtime version it is built on.

Application.runtime ● Runtime object {#runtime}​

The runtime that the newest version is built on.

null when you cannot view the runtime's repository. runtimeAccessGroups then lists the groups that can.

Application.runtimeAccessGroups ● GroupsPage! non-null object {#runtime-access-groups}​

The groups whose members can view the runtime's repository. You can read this field even when you cannot view the runtime. When runtime is null for you, ask a member of one of these groups for access.

Application.runtimeAccessGroups.sort ● GroupsSort input {#application-runtime-access-groups-sort}​

Sort field and direction. Defaults to name ascending.

Application.runtimeAccessGroups.cursor ● Cursor input {#application-runtime-access-groups-cursor}​

Pagination cursor returned from a previous response to fetch the next page.

Application.versions ● BundlesPage! non-null object {#versions}​

Every published version of the application, newest first.

Application.versions.cursor ● Cursor input {#application-versions-cursor}​

Pagination cursor returned by a previous page.

Application.instances ● InstancesPage! non-null object {#instances}​

The instances of the application's components that you can view, whatever version each instance runs. The filters and sort work as on the top-level instances query, so runtime matches the runtime that each instance's latest completed provision runs.

Application.instances.filter ● InstancesFilter input {#application-instances-filter}​

Narrow results by project, environment, status, bundle, or params.

Application.instances.sort ● InstancesSort input {#application-instances-sort}​

Sort field and direction. Defaults to name ascending.

Application.instances.cursor ● Cursor input {#application-instances-cursor}​

Pagination cursor returned by a previous page.

Returned By​

application query

Member Of​

ApplicationsPage object