Logo
MicroStrategy REST API API Documentation

Get all palettes

GET {{baseUrl}}/api/palettes

Get all palettes in the MicroStrategy Project.

 

Body PARAM

Key Datatype Required Description 
fields
null Comma-separated, top-level field whitelist that allows the client to selectively retrieve part of the response model. If specified, extra filtering is applied, and for top-level object (if root model is an array, each array element), only the listed fields are kept in the response. For example, "id,elements" keeps only the "id" field and whole "elements" array field, omitting all other fields in the top-level response model.



HEADERS

Key Datatype Required Description 
X-MSTR-AuthToken
string (Required) Authorization token
X-MSTR-ProjectID
string Project ID
Accept
string




RESPONSES

status OK

{ "palettes": [ { "colors": [ "8636385", "9218428", "7560292", "7585731", "12167304", "5522787", "6599838", "11767682", "3879533", "6860425", "9860465", "921711" ], "name": "Agave", "id": "3243A91D4834A5BAFF28C2BFAE822D43", "paletteType": 1 } ], "themes": [ { "sup": [ { "ql": 0, "paletteObjectID": "3243A91D4834A5BAFF28C2BFAE822D43", "paletteType": 71 }, { "ql": 0, "paletteObjectID": "483AC70645E584360EAC9DAA9AA63640", "pa
Curl
curl -X GET 'baseUrl/api/palettes?fields=' -H 'X-MSTR-AuthToken: authToken' -H 'X-MSTR-ProjectID: projectId' -H 'Accept: application/json'

ENDPOINTS