Skip to main content
Feedback

Get All Spaces

This query retrieves all Spaces that are created by the authorized account.

Code samples

Input syntax


query spaces {
spaces {
id
name
accountGroup {
id
name
}
createdDate
modifiedDate
modifiedByAccountId
}
}

Return syntax

{
"data": {
"spaces": [
{
"id": "ID",
"name": "String",
"accountGroup": {
"id": "ID",
"name": "String"
},
"createdDate": "String",
"modifiedDate": "String",
"modifiedByAccountId": "String"
},
]
}
}

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

Implementation

To get a list of Spaces created by the authorizing account, send the query to platform.boomi.com/graphqlwith the following headers:

KeyValue
AuthorizationBearer <Token\>
Acceptapplication/json

Sample request

query spaces {
spaces {
id
name
accountGroup {
id
name
}
createdDate
modifiedDate
modifiedByAccountId
}
}

Sample response

{
"data": {
"spaces": [
{
"id": "97b78685-0e6c-41f7-a484-c1512",
"name": "test12",
"accountGroup": {
"id": "00035d16-600e-43af-a98f-0566272a111d",
"name": "All Accounts"
},
"createdDate": "2022-11-02 18:41:11.0",
"modifiedDate": null,
"modifiedByAccountId": null
},
{
"id": "2dcd9964-b85e-42ce-998d-b7c22",
"name": "Trial1_Space",
"accountGroup": {
"id": "3ebe1222-b5fa-4d53-ab2f-fd57c4daf530",
"name": "Trial1"
},
"createdDate": "2022-11-03 08:43:50.0",
"modifiedDate": "2023-04-14 08:15:00.0",
"modifiedByAccountId": null
}
]
}
}

On this Page