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

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