Files__attachments
Authenticated · x-tenant · Usage log of where files are attached. Requires a signed-in staff user. Needs the `files__File` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).
files__attachments(where: CommonPaginationDto): FileAttachmentsWithPagination!Authenticated · x-tenant · Usage log of where files are attached. Requires a signed-in staff user. Needs the files__File read permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
where?Returns
- files__attachments
meta?nodes?query Files__attachments { files__attachments { meta { currentPage hasNextPage totalCount totalPages } nodes { _id assetId collection createdAt createdBy { email name phoneNumber referenceId } documentId field fileKey tenant } }}{ "data": { "files__attachments": { "meta": { "currentPage": 10.5, "hasNextPage": true, "totalCount": 10.5, "totalPages": 10.5 }, "nodes": [ { "_id": "1", "assetId": "1", "collection": "string", "createdAt": "<DateTime>", "createdBy": { "email": "string", "name": "string", "phoneNumber": "string", "referenceId": "1" }, "documentId": "string", "field": "string", "fileKey": "string", "tenant": "string" } ] } }}Coupons QUERY
Only coupons that the user has access to will be returned. Requires a signed-in staff user. Needs the `Coupon` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).
Files__file QUERY
Authenticated · x-tenant · Fetch one reusable file. Requires a signed-in staff user. Needs the `files__File` `read` permission. Send the `x-tenant` header (the gateway sets it from your API key).