Example queries and mutations
Each example is a complete operation you can copy: the document, its variables, a representative response, the permission the caller needs, and what the result does and does not tell you. The operations are checked against the current schema. The data in the responses is fictional.
Send them as described in How to use the API, or paste them into GraphiQL at
https://<your Owlie domain>/api/graphql while signed in.
- Get an identity fetches one identity by id or email, and shows what a lookup returns when nothing matches.
- List resources pages through the resource catalog with a filter and a sort, and counts matching resources without paging.
- Create an access request submits a request, previews it first, and reads its progress afterward. Submitting starts the approval and fulfillment process. It does not grant access.
- Get my tickets lists the approvals and tasks waiting on the caller.
- Select and update identities in bulk previews a change to a selection of identities, runs it as a job and reads each identity's outcome.
For any field these examples don't cover, the schema reference lists every query, mutation and type.