Flowdrom
RUSign in
API / DTO

How to describe APIs and DTOs in a specification

Define the method, URL, parameter types and required fields, responses and errors. Store shared data structures in the DTO catalog and reuse them across contracts.

Explore the online store example

From an API block to a contract

A REST API block describes a specific operation, such as GET /products/{productId} for getProduct or POST /orders for createOrder. Specify the service, purpose, request and response parameters. gRPC, handlers and transport have their own specification fields.

Reusing DTOs

Create Product, CartItem and Order in the board catalog. When choosing the DTO type in a parameter table, select the structure from the catalog. The type link opens its document. Example generation, parameter validation and runs resolve nested DTOs; related structures accompany specification exports.

What to check before approval

Check required fields, value types, nested structures, operation URLs and error examples. Separate incoming and outgoing data. Explicitly define transformations in the action editor: matching field names alone does not define business logic.

Questions and answers

Is a DTO an automatically created database table?

No. A DTO describes the structure of exchanged data. Database tables and relationships are separate; a DTO may combine data from multiple tables.

Can I describe the algorithm in plain text?

Yes. Specifications support free text and the action editor. To execute an algorithm locally, populate the action editor or select templates. Arbitrary prose is not executable on its own.

Flowdrom

Try it on your board

Features depend on the plan. See pricing for current terms.

Sign inView pricing