Skip to content

Versions and schema

Read an app's versions, its live schema and its stored collections with the Platform API.

Every published state of an app is a version. The API always reads the version that is live in production. Drafts are visible only in the dashboard preview.

List versions#

GET/apps/{id}/versionsversions:read

production_id tells you which version is currently live.

curl "https://apipublic.yeshbe.com/api/platform/v1/apps/341/versions" \ -H "Authorization: Bearer $YESHBE_KEY"
Response
{"success":true,"data":{"items":[{"ID":88,"created_at":"2026-05-02T08:00:00"}],"production_id":88}}

Get the schema#

GET/apps/{id}/schemaschema:read

The entity definitions of the live version. This is what tells you which collections the App data API will accept.

curl "https://apipublic.yeshbe.com/api/platform/v1/apps/341/schema" \ -H "Authorization: Bearer $YESHBE_KEY"
Response
{"success":true,"data":{"version_id":88,"entities":[{"name":"orders","properties":{"total":{"type":"number"},"status":{"type":"string"}},"required":["total"]}]}}

List collections#

GET/apps/{id}/collectionsschema:read

The stored collections, as opposed to the declared ones in the schema.

curl "https://apipublic.yeshbe.com/api/platform/v1/apps/341/collections" \ -H "Authorization: Bearer $YESHBE_KEY"
Response
{"success":true,"data":{"items":[{"id":7,"name":"orders"}]}}