Upload translation key screenshot from file
Changed onUploads translation key screenshot from a file. It throws an error if translation key does not exist.
The uploaded screenshot replaces the existing screenshot if it exists.
key is a required field, and it cannot be null or empty. The endpoint throws an error if key is null or empty.
namespace is an optional field, and it can be null or empty. Null and empty values are ignored.
If namespace is not provided, then an empty namespace is used.
Max size of screenshot is 4MB for file upload, otherwise, the endpoint throws an error.
Only PNG, JPG and JPEG formats are supported, otherwise, the endpoint may throw an error.
Request
- Base URLhttps://api.simplelocalize.io
- AuthAPI key in header X-SimpleLocalize-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Request body multipart/form-data
Response
OK
Changes
- warning
deleted the
headerrequest parameterX-SimpleLocalize-Token - info
the endpoint scheme security
Project API Keywas added to the API - info
the endpoint scheme security
apiKeywas removed from the API - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- warning
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info