Skip to content
Console
Menu

Queues

Workflows

Getting Started

Authentication

KV Store

Unpin translation on an entry

Removes the human override of one locale; the next sync may translate it again.

Removes the human override of one locale; the next sync may translate it again.

  • Path POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/catalogs/catalog/entries/entry:unpinTranslation
  • Scope localization:write
  • Effect write — a successful call changes state.
  • Collection entries

#Request

FieldTypeWhat it is
namestringThe name of the catalog entry. Required.
localestringThe target locale. Required.

#Response

FieldTypeWhat it is
namestringorgs/{org}/projects/{project}/envs/{env}/catalogs/{catalog}/entries/{entry}.
uidstringent_<cell><ulid>; never reused. Output only.
metaResourceMetaResource metadata.
keystringThe source text plus an optional |context, or an id for id-keyed formats. Output only.
filestringThe source file's path within the upload; empty for a single-file catalog. Output only.
source_textstringThe source message, a Unicode MessageFormat 2 pattern. Output only.
contextstringDisambiguates the same text with different meanings. Output only.
descriptionstringA note for translators. Output only.
max_lengthint32The longest a translation may be, in characters; 0 is no limit. Output only.
source_hashstringThe first 16 lowercase hex characters of the SHA-256 of the UTF-8 source pattern. A translation is stale when its source hash differs. Output only.
stateEntryStateWhether the source still has this message. Output only. One of active, obsolete.
translationsTranslation[]The translations, one per target locale at most. Output only.
create_timetimestampWhen the entry was first synced. Output only.
update_timetimestampWhen the entry last changed. Output only.

#ResourceMeta

FieldTypeWhat it is
generationint64Increases by one on every change to spec. Output only.
etagstringStrong ETag (AIP-154): changes on any change to spec, status, or metadata. Send it back as If-Match or etag to make Update and Delete conditional; a mismatch fails with ABORTED / 409 ETAG_MISMATCH. Output only.
create_timetimestampWhen the Resource was created. Output only.
update_timetimestampWhen the Resource last changed. Output only.
delete_timetimestampSet while the Resource is being deleted. Output only.
labelsmap<string, string>Caller-writable, indexed labels (AIP-122 label rules).
annotationsmap<string, string>Caller-writable, unindexed annotations.
display_namestringCaller-writable human-readable name.
creatorstringThe principal that created the Resource. Output only.

#Translation

FieldTypeWhat it is
localestringThe target locale. Output only.
textstringThe translated message, a Unicode MessageFormat 2 pattern. Output only.
originTranslationOriginWhere the text came from. Output only. One of ai, memory, human, imported.
pinnedboolA human override that AI never overwrites. Output only.
staleboolThe source changed since this text was made. Output only.
qa_stateQaStateThe result of QA on the text. Output only. One of passed, warning, failed, pending.
findingsQaFinding[]What QA found. Output only.
update_timetimestampWhen the text last changed. Output only.

#QaFinding

FieldTypeWhat it is
entrystringThe Catalog Entry, as a resource name. Output only.
keystringThe entry's key. Output only.
localestringThe target locale. Output only.
checkQaCheckThe check that found it. Output only. One of syntax, placeholders, markup, plural, length, glossary, forbidden_term.
severityQaSeverityHow serious it is. Output only. One of error, warning.
messagestringWhat is wrong. Output only.

#Errors

Every error arrives in the body Errors describes.

#Examples

curl -X POST "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/catalogs/catalog/entries/entry:unpinTranslation" \
  -H "Authorization: Bearer $SYLPHX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"locale":"…"}'