1.5 REST APIs

Videos in module 1.5 REST APIs of A²D Cloud.

10 videos

1.5 REST APIsIntro

REST APIs in A²D: the backend that isn't built yet

Why to design a REST API first: endpoints, a live mock URL and scenarios, so the frontend and agents can start before the backend exists.

Related docs →
1.5 REST APIsFeature

Create a REST API from scratch and add endpoints

Create the Baggage Tracking API from scratch, add two endpoints, mock a found bag, a 404 and a new claim, and call the live mock.

Related docs →
1.5 REST APIsFeature

Import an OpenAPI spec

Import a guest reviews OpenAPI spec: A²D reads the title, base path and endpoints, and turns every example into a mock scenario.

Related docs →
1.5 REST APIsFeature

Generate a REST API with AI

Describe an airport transfer API in two sentences: A²D drafts four endpoints with schemas and mock scenarios, and the mock answers at once.

Related docs →
1.5 REST APIsFeature

Endpoint design: parameters, request bodies and responses

Open the endpoint editor of a room availability API: path and query parameters, headers, a request body, response examples and tags, all reflected in the OpenAPI spec.

Related docs →
1.5 REST APIsFeature

REST mock scenarios: priority, AND/OR conditions, status, delay, headers

Make a car rental mock behave like the real thing: priorities, AND and OR conditions, a 1.5 s delay, response headers and a 429 for a test bot.

Related docs →
1.5 REST APIsFeature

The OpenAPI tab and spec download

Read the OpenAPI 3 spec A²D writes from your design, download it as a JSON file, and fetch it from its live URL next to the mock.

Related docs →
1.5 REST APIsFeature

Convert a REST API into an MCP server

Turn the Flight Status API into an MCP server design in three steps: name it, pick the endpoints agents may call, convert. One tool per endpoint.

Related docs →
1.5 REST APIsFeature

Security, environments and test cases for REST APIs

Protect the mock with a bearer token (401 without, 200 with), add a Pre-Prod staging environment, and generate test cases from the mock scenarios.

Related docs →
1.5 REST APIsTutorial

Tutorial: mock a hotel inventory backend

Build the Hotel Inventory API mock from empty: an availability endpoint with sold-out and available scenarios, a hold endpoint that returns 201, then call it, generate tests and download the spec.

Related docs →

Next Steps


Every video links to its written documentation page.