Screenshots
Add Screenshot
Required scopes: project.screenshot (Read and Write).
post/projects/{projectId}/screenshots
Request
- Base URLhttps://api.crowdin.com/api/v2
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdinteger required
Project Identifier. Get via List Projects
Request body
Example request
{
"storageId": 71,
"name": "translate_with_siri.jpg",
"branchId": 34,
"labelIds": [
1
]
}Response
Screenshot was successfully added
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.