Get All Workspaces #
Gets a list of all workspaces configured on your account. Once a list of all workspaces has been retrieved, report queries can be made against a specific workspace using its unique identifier.
GET /v1.0/workspaces
Example #
This request will get a list of all workspaces configured on your ~.Dimensions.~ account.
Request #
GET https://api.na.myreports.cloud/api/v1.0/workspaces HTTP/1.1
Authorization: Bearer {TOKEN}
Response #
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: xx
{
"page_size": 2,
"page_size": 0,
"data": [{
"id": "00000000-0000-0000-0000-000000000001",
"name": "Default Workspace",
"default": true
}, {
"id": "00000000-0000-0000-0000-000000000002",
"name": "Sales",
"default": false
}
],
"status": "success",
"timestamp": "2019-05-01T10:00:00.2890319Z"
}
Errors #
Unauthorized #
When the token is not provided, invalid or expired
HTTP/1.1 401 Unauthorized