Retrieves all Box Hubs for requesting user.
Version header.
Value is always 2025.0
ASCThe direction to sort results in. This can be either in alphabetical ascending
(ASC) or descending (DESC) order.
Value is one of ASC,DESC
10001000The maximum number of items to return per page.
JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioViiDefines the position marker at which to begin returning results. This is used when paginating using marker-based pagination.
BoxThe query string to search for Box Hubs.
all"all"The scope of the Box Hubs to retrieve. Possible values include editable,
view_only, and all. Default is all.
name"relevance"The field to sort results by.
Possible values include name, updated_at,
last_accessed_at, view_count, and relevance.
Default is relevance.
Returns all Box Hubs for the given user or enterprise.
An unexpected client error.
await client.hubs.getHubsV2025R0({
scope: 'all',
sort: 'name',
direction: 'ASC' as GetHubsV2025R0QueryParamsDirectionField,
} satisfies GetHubsV2025R0QueryParams);client.hubs.get_hubs_v2025_r0(
scope="all", sort="name", direction=GetHubsV2025R0Direction.ASC
)await client.Hubs.GetHubsV2025R0Async(queryParams: new GetHubsV2025R0QueryParams() { Scope = "all", Sort = "name", Direction = GetHubsV2025R0QueryParamsDirectionField.Asc });try await client.hubs.getHubsV2025R0(queryParams: GetHubsV2025R0QueryParams(scope: "all", sort: "name", direction: GetHubsV2025R0QueryParamsDirectionField.asc))client.getHubs().getHubsV2025R0(new GetHubsV2025R0QueryParams.Builder().scope("all").sort("name").direction(GetHubsV2025R0QueryParamsDirectionField.ASC).build()){
"entries": [
{
"id": "12345",
"type": "hubs",
"can_non_owners_invite": true,
"can_shared_link_be_created": true,
"created_at": "2012-12-12T10:53:43Z",
"created_by": {
"id": "11446498",
"type": "user",
"login": "ceo@example.com",
"name": "Aaron Levie"
},
"description": "All the contracts for the company.",
"is_ai_enabled": true,
"is_collaboration_restricted_to_enterprise": true,
"title": "Contracts",
"updated_at": "2012-12-12T10:53:43Z",
"updated_by": {
"id": "11446498",
"type": "user",
"login": "ceo@example.com",
"name": "Aaron Levie"
},
"view_count": 506
}
],
"limit": 1000,
"next_marker": "JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii"
}