Skip to content
Console
Menu

Queues

Workflows

Getting Started

Authentication

KV Store

List entries

Lists catalog entries.

Lists catalog entries. The filter is limited to state, locale, and qa_state.

  • Path GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/catalogs/catalog/entries
  • Scope localization:read
  • Effect read — nothing is written.
  • Collection entries
  • Query page_size, page_token, filter
  • Pagination the answer carries catalog_entries and, when there is more, next_page_token

#Request

FieldTypeWhat it is
parentstringThe catalog to list in. Required.
page_sizeint32At most this many; default 50, clamped to 1000.
page_tokenstringnext_page_token of the previous page.
filterstringAIP-160 filter, limited to state, locale, and qa_state; for example state = ENTRY_STATE_ACTIVE AND locale = "ja" AND qa_state = QA_STATE_FAILED.

#Response

FieldTypeWhat it is
catalog_entriesCatalogEntry[]The page.
next_page_tokenstringThe token of the next page; empty on the last page.

#CatalogEntry

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 "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/catalogs/catalog/entries" \
  -H "Authorization: Bearer $SYLPHX_API_KEY"