API reference
globalEntity
Public entities are readable by anyone; private entities require super user or read-only super user access (and otherwise appear not to exist).
globalEntity(
id: ID!
): GlobalEntityArguments
| Name | Type | Description |
|---|---|---|
id |
ID! |
Returns
Example
query GlobalEntity($id: ID!) {
globalEntity(id: $id) {
id
class
visibility
}
}curl https://api.thelocoapp.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LOCO_API_KEY" \
-d '{"query": "query { globalEntity(...) { __typename } }"}'