Screenshots
Update a screenshot
Update an existing screenshot.
patch/projects/{project_id}/screenshots/{id}
Request
- Base URLhttps://eu.phrase.com/control-hub
- Authnone required
- TypeScripthttps://skmtc.dev/phrase/apis/control-hub-service/docs/projects/:project_id/screenshots/:id/patch.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
project_idstring required
Project ID
idstring required
ID
Headers
X-PhraseApp-OTPstring
Two-Factor-Authentication token (optional)
Request body
Example request
{
"branch": "my-feature-branch",
"name": "A screenshot name",
"description": "A screenshot description",
"filename": "/path/to/my/screenshot.png"
}Response
OK
Example response
{
"id": "d2e056aa9e70b01121f41693e344f5ee",
"name": "A screenshot name",
"description": "A screenshot description",
"screenshot_url": "http://assets.example.com/screenshot.png",
"created_at": "2015-01-28T09:52:53Z",
"updated_at": "2015-01-28T09:52:53Z",
"markers_count": 0
}Changes
No recorded changes to this operation across all 1 revision of this API.