Reputation: 158
I know i can get the values of the picklist via a call to describe an object.
Upvotes: 1
Views: 4551
Reputation: 53
Since API 39.0 it is possible to access GlobalValueSets through the Tooling API. It is possible to access the GlobalValueSet without adding the field to an object.
The following REST call should be used:
GET /services/data/v39.0/tooling/sobjects/GlobalValueSet/{ID}
Where the ID can be found in SalesForce > Global Value Set > The Global Value Set you wish to access via the API > Grab the ID from the URL.
Upvotes: 3