Source Strings

Add String

Required scopes: project.source.string (Read and Write).

post/projects/{projectId}/strings

Request

Path parameters

projectIdinteger required

Project Identifier. Get via List Projects

Request body

OR

Example request

{
  "text": "Not all videos are shown to users. See more",
  "identifier": "6a1821e6499ebae94de4b880fd93b985",
  "branchId": 48,
  "context": "shown on main page",
  "maxLength": 35,
  "labelIds": [
    1
  ]
}

Response

String was successfully created

Example response

{
  "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"
  }
}

Changes

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