Logo
MicroStrategy REST API API Documentation

Get palette specified by id

GET {{baseUrl}}/api/palettes/:id

Get palette specified by id.

 

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

{ "name": "Test", "id": "FF3A5FFF1A47C33BD8167690D03D5D04", "type": 71, "abbreviation": "test", "description": "test color palette", "subtype": 17921, "dateCreated": "2023-03-16T16:01:08.000+0000", "dateModified": "2023-03-16T16:01:08.000+0000", "version": "639B04BFEA4AEBCBEC95F38787D8335E", "acg": 255, "owner": { "name": "MSTR User", "id": "7FC05A65473CE2FD845CE6A1D3F13233" }, "extType": 0, "colors": [ "8636385", "9218428", "7560292", "7585731", "12167304", "5522787", "6599838", "11767682", "3879533", "6860425", "9860465", "921711" ] }

Curl
curl -X GET 'baseUrl/api/palettes/:id?fields=' -H 'X-MSTR-AuthToken: authToken' -H 'X-MSTR-ProjectID: projectId' -H 'Accept: application/json'

ENDPOINTS