Get by domain

projectByDomain(input: GetProjectByDomainInput!): Project

Requires project.read.

Arguments

ArgumentTypeRequired
inputGetProjectByDomainInput!Yes

Input fields

input

GetProjectByDomainInput

FieldTypeRequiredDescription
domainString!YesDomain name associated with a project environment.

Response

Returns Project. Open the type for its fields and nested types.

FieldType
invites[Invite]
idID!
slugString!
nameString!
descriptionString
typeString
systemManagedBoolean
isClaimedBoolean!

All fields of Project.

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

query.graphql
query ProjectByDomain($input: GetProjectByDomainInput!) {  projectByDomain(input: $input) {    id    name    slug    createdAt    updatedAt  }}
variables.json
{  "input": {    "domain": "example"  }}