Skip to content
Pyck docs

You are reading the Dev docs (main @ e991a08). They can differ from the released product.Dev docs, not the release

Switch to LatestLatest

nodeFile

Fetches an object given its ID.

Served by: file

Name Type Description
id ID! ID of the object.

NodeFile

Fetches one file by its global ID. The inline fragment selects the File fields; the lookup returns null when no object has that ID.

query GetNodeFile($id: ID!) {
nodeFile(id: $id) {
id
... on File {
tenantID
name
contentType
refid
createdAt
}
}
}

Variables

{
"id": "<file ID>"
}