Skip to content
All demos
Demo 7 of 12 Video in production

Publish a data product API

Declare a versioned REST product over a catalog asset, deploy it, and subscribe a consumer. OpenAPI is generated, and every call is answered under the caller's grants and masks.

3 min On Aldgate, a sample asset manager we built to prove the platform
Product screen used as the poster for “Publish a data product API”

Video in production

The script is below; the recording is being made on a sample tenant.

Poster: a product screen of a fictional sample organisation. The script below is what the recording will follow.

Chapters

  1. 0:00A .api file
  2. 0:40Deploy
  3. 1:10The marketplace
  4. 1:50Subscribe and call it

The script

The spec the recording follows: what the browser does on screen, then what the narration says.

1. A .api file

Screen. Open apis/revenue_api.api. Scroll: the asset:// binding, the endpoint, the rate limit, scopes, exposure.

Say. A data product is declared over a catalog asset, not over a table. The endpoint, its rate limit, its scopes and its exposure are authored in the same file. Nothing is configured somewhere else and hoped for.

2. Deploy

Screen. Click Deploy. Show the compile step, then the deployed version and the generated OpenAPI link.

Say. Deploying compiles the product against the catalog. The OpenAPI document is generated from the source, never maintained by hand.

3. The marketplace

Screen. Open Market. Find revenue_api. Open it: domain, classification, owner, version.

Say. The product appears in the marketplace with its domain, classification and owner, because they were in the source.

4. Subscribe and call it

Screen. As a consumer account, subscribe. Show the issued credential. In a terminal, call the endpoint with it. Show the JSON response.

Say. Subscribing issues a credential scoped to this consumer. Here is the call and the response. Two fields are masked; the next demo shows why.