Entities
List entities
List some set of details for all entities that fit the given criteria and return in the requested order. Does not support negation in filters, assumes relation type EQUALS. There is a limit of 10000 entities that can be retrieved via this endpoint, except when using FULL_DIRECTORY request type for people entities.
post/rest/api/v1/listentities
Query parameters
localestring
The client's preferred locale in rfc5646 format (e.g. en, ja, pt-BR). If omitted, the Accept-Language will be used. If not present or not supported, defaults to the closest match or en.
Headers
X-Glean-ActAsstring email
Email address of a user on whose behalf the request is intended to be made (should be non-empty only for global tokens).
X-Glean-Auth-Typestring
Auth type being used to access the endpoint (should be non-empty only for global tokens).
Request body
Example request
{
"filter": [
{
"fieldName": "type",
"values": [
{
"value": "Spreadsheet",
"relationType": "EQUALS"
},
{
"value": "Presentation",
"relationType": "EQUALS"
}
]
}
],
"pageSize": 100
}Response
OK
Example response
{
"results": [
{
"name": "George Clooney",
"obfuscatedId": "abc123"
}
],
"teamResults": [
{
"members": [
{
"person": {
"name": "George Clooney",
"obfuscatedId": "abc123"
}
}
],
"customFields": [
{
"values": [
{
"person": {
"name": "George Clooney",
"obfuscatedId": "abc123"
}
}
]
}
],
"datasourceProfiles": [
{
"datasource": "github"
}
]
}
],
"customEntityResults": [
{
"roles": [
{
"person": {
"name": "George Clooney",
"obfuscatedId": "abc123"
}
}
]
}
],
"facetResults": [
{
"sourceName": "container_name",
"operatorName": "SelectMultiple",
"buckets": [
{
"count": 1,
"datasource": "jira",
"percentage": 5,
"value": {
"stringValue": "engineering",
"integerValue": 5,
"displayLabel": "engineering",
"iconConfig": {
"color": "#343CED",
"key": "person_icon",
"iconType": "GLYPH",
"name": "user"
}
}
}
],
"groupName": "Service Cloud"
}
]
}