Files__file
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).
files__file(where: CommonFindDocumentDto!): FileAuthenticated · 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).
Arguments
where*Returns
- files__file
_id*ID!alt?Stringcommits?createdAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
createdBy?directory?Stringfile*mimeType?StringoriginalName?Stringsize?Inttenant*String!updatedAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
usageCount?Intusages?query Files__file($where: CommonFindDocumentDto!) { files__file(where: $where) { _id alt commits { action commitedBy { email name phoneNumber referenceId } committedAt note } createdAt createdBy { email name phoneNumber referenceId } directory mimeType originalName size tenant }}{ "where": { "and": [ { "and": [ { "and": [ { "and": [ {} ], "key": "string" } ], "key": "string" } ], "key": "string" } ], "key": "string" }}{ "data": { "files__file": { "_id": "1", "alt": "string", "commits": [ { "action": "string", "commitedBy": { "email": "string", "name": "string", "phoneNumber": "string", "referenceId": "1" }, "committedAt": "<DateTime>", "note": "string" } ], "createdAt": "<DateTime>", "createdBy": { "email": "string", "name": "string", "phoneNumber": "string", "referenceId": "1" }, "directory": "string", "mimeType": "string", "originalName": "string", "size": 10, "tenant": "string" } }}Files__attachments QUERY
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__files QUERY
Authenticated · x-tenant · Lists reusable files for this store. 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).