Labels
Assign Label to Strings
Required scopes: project.source.file (Read and Write).
post/projects/{projectId}/labels/{labelId}/strings
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
labelIdinteger required
Label Identifier. Get via List Labels
Request body
Example request
{
"stringIds": [
1
]
}Response
Label was successfully assigned to Strings
Example response
{
"data": [
{
"data": {
"id": 2814,
"projectId": 2,
"branchId": 12,
"identifier": "name",
"text": "Not all videos are shown to users. See more",
"type": "text",
"context": "shown on main page",
"maxLength": 35,
"isDuplicate": true,
"masterStringId": 1,
"labelIds": [
3
],
"webUrl": "https://example.crowdin.com/editor/1/all/en-pl?filter=basic&value=0&view=comfortable#2",
"createdAt": "2019-09-20T12:43:57+00:00",
"updatedAt": "2019-09-20T13:24:01+00:00"
}
}
],
"pagination": {
"limit": 25
}
}Changes
No recorded changes to this operation across all 1 revision of this API.