List the project resources defined in the source of a project, a branch or an environment to find one to read or edit; returns every project resource with the source files that could not be read. Requires project.resources.read.
Arguments
projectReferenceString!requiredsourceTargetKindSourceTargetKindThe source to read; default runtimeTargetKind, else project. One of
project,main_branch,environment,preview_branch.runtimeTargetKindRuntimeTargetKindUsed as the source to read when sourceTargetKind is omitted. One of
main_branch,environment,preview_branch.targetEnvironmentIdIDRequired with the kind environment.
targetBranchIdIDRequired with the kind preview_branch.
Responses
query ProjectResourcesPage($projectReference: String!) { projectResourcesPage(projectReference: $projectReference) { data { id pattern description title sourcePath editMode } pageInfo { hasNextPage hasPreviousPage startCursor endCursor } diagnostics { kind sourceKind sourcePath sourceId code message details } }}{ "data": { "projectResourcesPage": { "data": [ { "id": "string", "pattern": "string", "description": "string", "title": "string", "sourcePath": "string", "editMode": "string" } ], "pageInfo": { "hasNextPage": false, "hasPreviousPage": false, "startCursor": "string", "endCursor": "string" }, "diagnostics": [ { "kind": "string", "sourceKind": "string", "sourcePath": "string", "sourceId": "string", "code": "string", "message": "string", "details": {} } ] } }}The ProjectResourceList! in data.projectResourcesPage.