v2
latestOpenAPI 3.0.02026-08-07103189636.5 KBContext
Upload new context
Visual Context provides a visual representation of the source content to Translators and Editors as they are performing their work, and is a very effective way to ensure high-quality translations. Visual Context is displayed in the Smartling CAT Tool - the environment in which translations are performed.
The following context types are supported via the Smartling API:
- HTML: HTML files or files with content type text/html
- IMAGE: Image files
- VIDEO:
- Video file
- Link to video, such as:
- YouTube link
- Vimeo link
- Direct link to an .mp4 file
Context type is not specified directly, but rather, inferred via analyzing the request body.
This endpoint accepts multipart/form-data request body.
post/context-api/v2/projects/{projectId}/contexts
Path parameters
projectIdstring uuid required
A unique project identifier. This can be found in the Smartling Dashboard under Account Settings > API.
Response
OK