Return the files at the given paths. Requires project.files.read.
Arguments
inputFileContentsInput!requiredinput.projectReferenceStringProject UUID, slug or configured domain. Omit it to use the project of the request.
input.refStringContent to read: main, branch:<name-or-id>, release:<version> or env:<name>. Omit for main.
input.paths[String!]!requiredExact file paths to read. Results keep this order.
Responses
query FileContents($input: FileContentsInput!) { fileContents(input: $input) { data { path found } }}{ "data": { "fileContents": { "data": [ { "path": "string", "found": false } ] } }}The FileBatch! in data.fileContents.