Screenshots

Edit Screenshot

Required scopes: project.screenshot (Read and Write).

patch/projects/{projectId}/screenshots/{screenshotId}

Request

Path parameters

projectIdinteger required

Project Identifier. Get via List Projects

screenshotIdinteger required

Screenshot Identifier. Get via List Screenshots

Request body

op'replace' | 'test' required

Patch operation to perform

path'/name' | '/labelIds' json-pointer required

A JSON Pointer as defined by <a href="https://tools.ietf.org/html/rfc6901" target="_blank">RFC 6901</a>

Response

Screenshot was successfully updated

Example response

{
  "data": {
    "id": 2,
    "userId": 6,
    "url": "https://production-enterprise-screenshots.downloads.crowdin.com/992000002/6/2/middle.jpg?X-Amz-Content-Sha256={sha}&X-Amz-Algorithm={algorithm}&X-Amz-Credential={credentials}&X-Amz-Date={date}&X-Amz-SignedHeaders={headers}&X-Amz-Expires={expires}&X-Amz-Signature={signature}",
    "webUrl": "https://production-enterprise-screenshots.downloads.crowdin.com/992000002/6/2/middle.jpg?X-Amz-Content-Sha256={sha}&X-Amz-Algorithm={algorithm}&X-Amz-Credential={credentials}&X-Amz-Date={date}&X-Amz-SignedHeaders={headers}&X-Amz-Expires={expires}&X-Amz-Signature={signature}",
    "name": "translate_with_siri.jpg",
    "size": {
      "width": 267,
      "height": 176
    },
    "tagsCount": 1,
    "tags": [
      {
        "id": 98,
        "screenshotId": 2,
        "stringId": 2822,
        "position": {
          "x": 474,
          "y": 147,
          "width": 490,
          "height": 99
        },
        "createdAt": "2019-09-23T09:35:31+00:00"
      }
    ],
    "labels": [
      1
    ],
    "labelIds": [
      1
    ],
    "createdAt": "2019-09-23T09:29:19+00:00",
    "updatedAt": "2019-09-23T09:29:19+00:00"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.