Queries
hubBasicInfoAcrossRegions
Retrieves basic hub information across all regions that the user has access to.
This query is intended for cross-region discovery of hubs. It returns only core identifying attributes of hubs. Returns the same hub information as the 'hubs' query, but searches across all regions.
Template for Query:
query GetHubBasicInfoAcrossRegions($filter: HubFilterInput, $pagination: PaginationInput) {
hubBasicInfoAcrossRegions(filter: $filter, pagination: $pagination) {
results {
id
name
region
}
}
}
Show More
Arguments
| filter | Specifies how to filter a list of hubs. You can filter by name. |
| pagination | Specifies how to split the response into multiple pages. |
Possible Returns
| Value Type | Description |
|---|---|
| HubBasicInfos | Contains a list of basic hub information returned in response to a cross-region query. The results include only core hub attributes and are intended for lightweight discovery across regions. |
Examples
Example 1
Discover hubs across regions. Use the returned hub ID and set the region
request header to the returned region when accessing the hub’s data.
query DiscoverHubsAcrossRegions {
hubBasicInfoAcrossRegions {
results {
id
name
region
}
}
}
Show More
Illustrative response
{
"data": {
"hubBasicInfoAcrossRegions": {
"results": [
{
"id": "urn:adsk.ace:prod.scope:11111111-4444-4555-8666-777777777777",
"name": "India design hub",
"region": "IND"
},
{
"id": "urn:adsk.ace:prod.scope:22222222-4444-4555-8666-777777777777",
"name": "Germany design hub",
"region": "DEU"
}
]
}
}
}
Show More