Tenant/Buckets

List buckets of a product

Returns the buckets (platforms) that belong to a product.

GET
/api/v2/products/{productId}/buckets

Authorization

BearerAuthObject
AuthorizationBearer <token>

Machine tokens only: a personal API token or a product robot token (POST /api/v2/products/{uid}/robot-tokens). A session JWT here is 401 — the web app uses the b2t_access cookie.

In: header

Path Parameters

productId*string

UUID of the product

Formatuuid

Response Body

application/json

curl -X GET "https://example.com/api/v2/products/8ebfac95-50f4-422b-a257-6c6143b999c4/buckets"
{  "platforms": {    "property1": {      "projectTypeId": 1,      "projectTypeName": "b2core-default",      "platform": "default",      "createdAt": "2019-08-24T14:15:22Z"    },    "property2": {      "projectTypeId": 1,      "projectTypeName": "b2core-default",      "platform": "default",      "createdAt": "2019-08-24T14:15:22Z"    }  }}
Empty
Empty
Empty
Empty