Description:
Creates a new language within your space.
Resource URL:
https://<apphost>.competitionlabs.com/api/<your-space-name>/translations
Request headers
Key | Value | Required |
---|---|---|
X-API-KEY | Your unique API key | Yes |
Content-Type | application/json | Yes |
Request URL parameters
Parameter | Type | Required | Description |
---|---|---|---|
space | String | Yes | This is the space name which is linked to the account |
Post body parameters
Parameter | Type | Required | Description |
---|---|---|---|
key | String | Yes | The language helper key retrieved from GET translations resource |
EXAMPLE
ERROR CODES
Code | HTTP Status | Description | Example |
---|---|---|---|
404 | Inserting or removing the necessary information of the Request URL parameter | ||
1001 | 400 | No Post body parameters were sent | |
1002 | 404 | The parameter Key can not be empty; | |
1007 | 404 |