GET
https://www.sugu.es/api/v1/_me
Which application and environment this key belongs to, what its role may do, and a link to every document it may read. Call this first: the token embeds an environment id, not a slug, so no other URL can be constructed without it.
GET
https://www.sugu.es/api/v1/_docs/metadata.md
The YAML contract every application is written in: the options at each level, the field types, and a complete annotated example. Read this before proposing metadata. Also available as metadata.json.
GET
https://www.sugu.es/api/v1/{slug}/{env}/_docs/agents.md
A brief for the runtime API of one environment, filtered to what this key may call, in prose rather than schema. Explains the loops that OpenAPI cannot.
GET
https://www.sugu.es/api/v1/{slug}/{env}/_docs/openapi.json
OpenAPI 3.1 for the runtime API: the generated tables of one environment, as CRUD endpoints. Describes only what this key may call.
GET
https://www.sugu.es/api/v1/{slug}/{env}/_meta/schema
The generated schema of one environment — tables, fields, types and relations — as data rather than as an API description.
GET
https://www.sugu.es/api/v1/{slug}/_admin/_docs/agents.md
A brief for the backoffice API: reading and rewriting the metadata, versions, environments, backups and hooks. Filtered to this key, and it names what the key may not do as well as what it may.
GET
https://www.sugu.es/api/v1/{slug}/_admin/_docs/openapi.json
OpenAPI 3.1 for the backoffice API. Each operation carries x-capability, and x-environments where the capability is scoped to particular environments.