gplay schema
Query an embedded, offline projection of the Android Publisher API (the Schema index) — does a method exist, what does it send and return, what fields and enums does a type carry.
This command is OFFLINE: it makes no API call and needs no credentials. It queries an index compiled into the binary, derived from the committed Discovery snapshot.
The query matches, case-insensitively, across three projections:
- the native RPC method id (e.g.
edits.tracks.update) - a REST path fragment (e.g.
tracks/{track}) - a schema / type name (e.g.
Track)
A matched method shows its HTTP method, REST path, parameters, and a one-hop inline expansion of its request/response schema (fields, types, enums, Google's verbatim descriptions); nested types are shown by name. A matched schema is rendered directly.
--list print the compact catalog (id · http · path) of all methods --method GET|POST|PATCH|PUT|DELETE filter the method surface by HTTP verb (combinable)
A query that matches nothing prints a note on stderr and exits 0.
[experimental] — the surface, especially the --output json shape, may still change.
gplay schema [query] [flags]| Flag | Description |
|---|---|
--list | print the compact catalog of all methods |
--method string | filter methods by HTTP verb (GET, POST, PATCH, PUT, DELETE) |
--output string | output format: table, json, or markdown (default: auto — table on TTY, json in pipes/CI) |
Global flags
Section titled “Global flags”| Flag | Description |
|---|---|
--account string | name of a stored Account to use (overrides env and active Account) |
--retry int | retry transient failures (transport errors, 5xx, 429) up to N times with exponential backoff (default: 0, no retry) |
--service-account string | path to a service-account JSON, or inline JSON content (overrides --account, env, and active Account) |
--timeout duration | per-request API timeout, e.g. 30s or 2m (default: 60s for control-plane calls, none for uploads) |
-v, --verbose | log flow steps to stderr (info level) |