Skip to content
Console
Menu

Getting Started

Authentication

KV Store

List serving routes

Lists every authorized public route; follow all pages in one snapshot.

Lists every authorized public route; follow all pages in one snapshot.

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

#Request

FieldTypeWhat it is
parentstringExact authorized environment. Required.
page_sizeint32At most 100 routes; each retains its full host/rule population.
page_tokenstringContinuation bound to this parent and owner snapshot.

#Response

FieldTypeWhat it is
serving_routesServingRoute[]Routes in stable identity order.
next_page_tokenstringEmpty only at the end of this snapshot.
snapshot_idstringChanges when routes, observations or current Release policy change.

#ServingRoute

FieldTypeWhat it is
namestringTenant-scoped name of this route observation.
uidstringStable identity of the underlying route lifetime. Output only.
metaResourceMetaRoute generation and observation time.
servicestringOwning same-environment service. Output only.
hostnamesstring[]Full declared hostname population; wildcard values stay wildcard. Output only.
rulesServingRouteRule[]Every rule, including unsupported or unobserved ones. Output only.
observedboolTrue only when the owner has observed the current route generation. 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.

#ServingRouteRule

FieldTypeWhat it is
indexint32Stable index in this route generation.
matchesServingRouteMatch[]Complete match population. No match means the default prefix /.
backendsServingRouteBackend[]Every selected backend, including weight zero for truthful readback.
expected_releasestringCurrent serving Release, or the admitted rollout moving this rule.
expected_source_shasstring[]Expected tenant sources from current Release members and admitted positive-weight rollout choices; never copied from response headers.
unknown_reasonstringNonempty for redirect-only, unsupported or unavailable policy.

#ServingRouteMatch

FieldTypeWhat it is
path_typestringExact, PathPrefix, or RegularExpression.
pathstringExact path or path expression.
methodstringEmpty matches any method; otherwise the exact HTTP method.
requires_request_contextboolTrue when headers/query or unknown match extensions need caller input.

#ServingRouteBackend

FieldTypeWhat it is
revisionstringImmutable selected revision name, when the backend is a revision.
weightint32Effective positive selection weight; zero receives no traffic.

#Errors

Every error arrives in the body Errors describes.

#Examples

curl "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/serving_routes" \
  -H "Authorization: Bearer $SYLPHX_API_KEY"