v1

latestOpenAPI 3.0.12026-07-26152262362.2 KB
Allocations

List allocations

Returns a list of allocations that your account has access to. Allocations are listed in reverse chronological order by default.

get/analytics/v1/allocations

Query parameters

maxResultsstring

The maximum number of results to return in a single page. Use the page tokens to iterate through the entire collection.

pageTokenstring

Page token, returned by a previous call, to request the next page of results

filterstring

An expression for filtering the results. Valid fields: type, owner, name, folderId.

sortBy'id' | 'name' | 'owner' | 'description' | 'type' | 'createTime' | 'updateTime'

A field by which the results will be sorted.

sortOrder'asc' | 'desc'

Sort order can be ascending or descending.

Response

OK - The request succeeded.

pageTokenstring

Page token, returned by a previous call, to request the next page of results.

rowCountinteger

Total number of allocations in the result set.

Example response

{
  "allocations": [
    {
      "folderId": "root"
    }
  ]
}