Skip to main content
Feedback

Get Space details by its ID

This GraphQL query retrieves Space details by its ID. This query accepts ID as input.

Code samples

Input syntax

query Space {
Space(id:"ID!") {
id
name
description
createdDate
modifiedDate
modifiedByAccountId
sharedIpacks {
id
description
name
installationType
}
url
theme {
logoUrl
logoAltTxt
}
accountGroup {
id
name
}
}
}

FieldTypeDescriptionRequired/Optional
idIDThe unique Space ID.Required
nameStringThe Space name.Required
descriptionStringThe Space description.Optional
createdDateStringThe Space creation date.Optional
createdByAccountIdStringThe account id that created the Space.Optional
sharedIpacksIntegrationPacksThe Integration IPacks shared with the Space.
:::note
Only sub-accounts of the account group that is associated with the Space can request for the integration packs shared with the Space.
:::
Optional
accountGroupAccountGroupThe Account Group associated with the Space.Optional
urlStringThe URL of the Space User Interface.Optional
themeSpaceTheThe Space theme data.Optional
me

SpaceTheme

FieldTypeDescriptionRequired/Optional
logoAltTxtStringLogo Alternate Text.Optional
logoUrlStringThe Space Logo URL.Optional

AccountGroup

FieldTypeDescriptionRequired/Optional
idIDThe account group ID.Optional
nameStringThe account group name.Optional
integrationPacksIntegrationPackThe Integration Pack data.Optional

IntegrationPack

FieldTypeDescriptionRequired/Optional
idIDThe Integration Pack ID.Optional
nameStringThe Integration Pack name.Optional
descriptionStringThe Integration PackOptional
installationTypeInstallationTypeThe installation type data of the Integration Pack.Optional

Return syntax

{
"data": {
"Space": {
"id": "ID",
"name": "String",
"description": "String",
"createdDate": "String",
"modifiedDate": "String",
"modifiedByAccountId": "String",
"url": "String” {
"id": "String",
"name": "String"
}
}
}
}

Implementation

To get the details of a Space by its ID, send the query to platform.boomi.com/graphql with the following headers:

KeyValue
AuthorizationBearer <Token\>
Acceptapplication/json

Sample request

The id is the ID of the Space that is initially returned in the response of the Create a Space mutation request.

query Space {
Space(id:"2da77d1f-bbd4-4066-xxxx-e15fc
") {
id
name
description
createdDate
modifiedDate
modifiedByAccountId
sharedIpacks {
id
description
name
installationType
}
url
theme {
logoUrl
logoAltTxt
}
accountGroup {
id
name
}
}
}

Sample response

{
"data": {
"space": {
"id": "2da77d1f-bbd4-4066-xxxx-e15fc",
"name": "Trial1_Space",
"description": null,
"createdDate": "2022-11-03 08:43:50.0",
"modifiedDate": "2023-04-14 08:15:00.0",
"modifiedByAccountId": null,
"url": "https://api.space-service.cj-pipeline.boomi.com?guid=*****",
"accountGroup": {
"id": "b1bddd1dd41d-d59623-401ddb-8a9y01-*********",
"name": "Trial1"
}
}
}
}

On this Page