updateProjectResource

Change the pattern, description or title of a structured project resource, where an omitted field keeps its value; returns the updated project resource source document. Requires project.files.write.

Arguments

  • inputUpdateProjectResourceInput!required

  • input.projectReferenceString

  • input.resourceIdString!required

  • input.sourceTargetKindString

  • input.targetBranchIdID

  • input.patternString

  • input.descriptionString

  • input.titleString

Responses

mutation UpdateProjectResource($input: UpdateProjectResourceInput!) {  updateProjectResource(input: $input) {    id    pattern    description    title    sourcePath    source    editMode    sourceOnlyReasons  }}
{  "data": {    "updateProjectResource": {      "id": "string",      "pattern": "string",      "description": "string",      "title": "string",      "sourcePath": "string",      "source": "string",      "editMode": "string",      "sourceOnlyReasons": [        "string"      ]    }  }}

The ProjectResourceDocument in data.updateProjectResource.