List strings
GEThttps://app.shuttleglobal.com/c/api/instances/{instance_key}/strings
Returns every string that can be changed, with the wording that currently applies for the language requested.
Strings that have not been translated into the language return the wording they inherit, so
listing a language you have not used yet returns the full set ready to translate. A string
that has its own wording in this language carries overriding, the wording it would
otherwise inherit.
This list does not take criteria, order or expand, and is not paginated: it always
returns the complete set.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”"default""ar"Lowercase two-letter ISO 639-1 language code (e.g. ar), or default for the base wording.
Defaults to default.
Enterprise field, for accounts with more than one branding. Leave out to use your own branding.
Responses
Section titled “Responses”All strings for the language
object
A customer-facing string and the wording that applies for one language
object
String id, <set>.<key>
The wording that currently applies
Language the wording applies to
Enterprise field. The branding the wording applies to
Present only when the string has its own wording for this language. Holds the wording it would otherwise inherit, which is what it goes back to if reset
Example
{ "strings": [ { "id": "web.payment_form.card_number", "text": "رقم البطاقة", "branding": "brd_123", "language": "ar", "overriding": "Card Number" }, { "id": "web.payment_processing.error", "text": "There was a problem processing the payment.", "branding": "brd_123", "language": "ar" } ]}Authentication required
Every error has a code and a message. Some add more fields alongside them, with detail about the error.
object
The error code, for example VALIDATION_ERROR, INVALID, INVALID_REQUEST, UNAUTHORIZED, FORBIDDEN or NOT_FOUND. Program against this, not the message.
What went wrong, in words, for logs and support.
Example
{ "code": "UNAUTHORIZED", "message": "Unauthorised"}Was this page helpful?
What went wrong?
Thanks for telling us.