app
Retrieve a single application.
app(
id: Int
): App
Example
- Query
- Variables
- Response
query (
$id: Int
$excludeUniqueLabels: [String]
$id2: Int
$isMultisite: Boolean
$launched: Boolean
$name: String
$type: String
$id3: Int!
$active: Boolean
$after: String
$first: Int
$notificationRecipientId: Int
$organizationSubscriptionsOnly: Boolean
$vin: Boolean
$permissions: [String]
) {
app(id: $id) {
active
createdAt
environments(
excludeUniqueLabels: $excludeUniqueLabels
id: $id2
isMultisite: $isMultisite
launched: $launched
name: $name
type: $type
) {
active
appId
backupPolicyId
backupsSqlDumpTool
branch
createdAt
currentCommit
datacenter
dbOperationInProgress
defaultDomain
deploymentStrategy
id
isDBPartitioningEnabled
isFedramp
isHipaa
isK8sResident
isLiveBackupCopyAllowed
isMultisite
isOnLatestCode
isSubdirectoryMultisite
launchModeEndAt
launched
name
repo
type
uniqueLabel
wpcliStrategy
}
features {
active
appId
context
id
name
}
id
name
notificationSubscription(id: $id3) {
active
createdAt
description
entityType
entityValue
id
updatedAt
vin
}
notificationSubscriptions(
active: $active
after: $after
first: $first
notificationRecipientId: $notificationRecipientId
organizationSubscriptionsOnly: $organizationSubscriptionsOnly
vin: $vin
) {
nextCursor
total
}
organization {
considerUsersInactiveAfterDays
enforceSSOAccess
id
isFedramp
isHipaa
letsEncryptDisallowed
name
salesforceId
serviceStatus
slug
supportPackage
traffic
trafficType
}
organizationId
pageviews {
apiRequests
appRequests
endDate
startDate
staticRequests
total
}
permissions(permissions: $permissions) {
isAllowed
permission
}
primaryEnvironment {
active
appId
backupPolicyId
backupsSqlDumpTool
branch
createdAt
currentCommit
datacenter
dbOperationInProgress
defaultDomain
deploymentStrategy
id
isDBPartitioningEnabled
isFedramp
isHipaa
isK8sResident
isLiveBackupCopyAllowed
isMultisite
isOnLatestCode
isSubdirectoryMultisite
launchModeEndAt
launched
name
repo
type
uniqueLabel
wpcliStrategy
}
repo
repository {
fullName
htmlUrl
name
organization
platform
}
serviceStatus
supportPackage
type
typeId
}
}
{
"id": 42,
"excludeUniqueLabels": [
"excludeUniqueLabels"
],
"id2": 42,
"isMultisite": true,
"launched": true,
"name": "A name",
"type": "type",
"id3": 42,
"active": true,
"after": "after",
"first": 42,
"notificationRecipientId": 42,
"organizationSubscriptionsOnly": true,
"vin": true,
"permissions": [
"permissions"
]
}
{
"data": {
"app": {
"active": true,
"createdAt": "createdAt",
"environments": [
{
"active": true,
"appId": 42,
"backupPolicyId": 42,
"backupsSqlDumpTool": "backupsSqlDumpTool",
"branch": "branch",
"createdAt": "createdAt",
"currentCommit": "currentCommit",
"datacenter": "datacenter",
"dbOperationInProgress": true,
"defaultDomain": "defaultDomain",
"deploymentStrategy": "deploymentStrategy",
"id": 42,
"isDBPartitioningEnabled": true,
"isFedramp": true,
"isHipaa": true,
"isK8sResident": true,
"isLiveBackupCopyAllowed": true,
"isMultisite": true,
"isOnLatestCode": true,
"isSubdirectoryMultisite": true,
"launchModeEndAt": "launchModeEndAt",
"launched": true,
"name": "A name",
"repo": "repo",
"type": "type",
"uniqueLabel": "uniqueLabel",
"wpcliStrategy": "ssh"
}
],
"features": [
{
"active": true,
"appId": 42,
"context": "context",
"id": 42,
"name": "A name"
}
],
"id": 42,
"name": "A name",
"notificationSubscription": {
"active": true,
"createdAt": "2024-01-15T00:00:00.000Z",
"description": "A description",
"entityType": "entityType",
"entityValue": "entityValue",
"id": 42,
"updatedAt": "2024-01-15T00:00:00.000Z",
"vin": true
},
"notificationSubscriptions": {
"nextCursor": "nextCursor",
"total": "42"
},
"organization": {
"considerUsersInactiveAfterDays": 42,
"enforceSSOAccess": true,
"id": 42,
"isFedramp": true,
"isHipaa": true,
"letsEncryptDisallowed": true,
"name": "A name",
"salesforceId": "salesforceId",
"serviceStatus": "serviceStatus",
"slug": "slug",
"supportPackage": "supportPackage",
"traffic": 42,
"trafficType": "HTTP"
},
"organizationId": 42,
"pageviews": {
"apiRequests": "42",
"appRequests": "42",
"endDate": "endDate",
"startDate": "startDate",
"staticRequests": "42",
"total": "42"
},
"permissions": [
{
"isAllowed": true,
"permission": "permission"
}
],
"primaryEnvironment": {
"active": true,
"appId": 42,
"backupPolicyId": 42,
"backupsSqlDumpTool": "backupsSqlDumpTool",
"branch": "branch",
"createdAt": "createdAt",
"currentCommit": "currentCommit",
"datacenter": "datacenter",
"dbOperationInProgress": true,
"defaultDomain": "defaultDomain",
"deploymentStrategy": "deploymentStrategy",
"id": 42,
"isDBPartitioningEnabled": true,
"isFedramp": true,
"isHipaa": true,
"isK8sResident": true,
"isLiveBackupCopyAllowed": true,
"isMultisite": true,
"isOnLatestCode": true,
"isSubdirectoryMultisite": true,
"launchModeEndAt": "launchModeEndAt",
"launched": true,
"name": "A name",
"repo": "repo",
"type": "type",
"uniqueLabel": "uniqueLabel",
"wpcliStrategy": "ssh"
},
"repo": "repo",
"repository": {
"fullName": "John Doe",
"htmlUrl": "htmlUrl",
"name": "A name",
"organization": "organization",
"platform": "platform"
},
"serviceStatus": "serviceStatus",
"supportPackage": "supportPackage",
"type": "type",
"typeId": 42
}
}
}
Arguments
app.id ● Int scalar common
The application ID.
Type
App object common
An application managed in WordPress VIP. This is the primary entry point for traversing into environment-level operational reads.