API reference
globalEntities
Without a class filter super user or read-only super user access is required. With a class filter, other callers see only public entities.
globalEntities(
class: String
first: UnsignedInt
after: String
): GlobalEntityPageArguments
| Name | Type | Description |
|---|---|---|
class |
String |
|
first |
UnsignedInt |
|
after |
String |
Returns
Example
query GlobalEntities {
globalEntities {
edges {
cursor
node {
id
class
visibility
}
}
pageInfo {
endCursor
hasNextPage
}
}
}curl https://api.thelocoapp.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LOCO_API_KEY" \
-d '{"query": "query { globalEntities { __typename } }"}'