This article introduces some core concepts in Apidog. Many of these concepts may differ from similar products (such as Postman). Understanding these definitions and differences will help you better comprehend Apidog's workflow.
Apidog's APIs module features two modes that can be switched at the bottom left corner of the interface: Design-first Mode and Request-first Mode.
Both modes provide similar functionalities but with different interfaces, catering to different team workflows.Design-first Mode is Apidog's recommended mode, suitable for teams following the API-Design First approach. In this mode, teams spec the API first and then proceed with development and testing based on the API spec.On the other hand, Request-first Mode is ideal for teams that do not initially define the API specifications. These teams typically focus on backend development, finalize the code, and then produce the API spec for testing and client-side work to begin.If you need to call APIs developed by someone else but you don't have the documentation, you should also use Request-first Mode.
Apidog is an API-first product, meaning everything starts with defining APIs, and Endpoints are the core elements in APIs.In Apidog's main interface, Endpoints are basic elements, grouped together in a directory form. For each Endpoint, you can modify its definition, preview it, send requests based on this endpoint spec, or save requests as endpoint cases.This structure is very different from Postman and is more like an extension based on OAS - an API spec that can directly debug and save requests.In Postman, the basic element is a request, and requests are essentially separate from API specs. This means that when the API spec changes, all requests and scripts need to be rewritten.In Apidog, all endpoint cases (corresponding to Postman's requests) are based on API specs. When API specs change, endpoint cases naturally change, and all test scenarios and CI/CD based on this can be automatically or manually updated, which is very suitable for development teams to maintain and update APIs.
Environments in Apidog are similar to environments in Postman, containing many variables. You can use different values of the same environment variable when switching environments.However, Apidog's environments also include another important concept: services. Each service corresponds to a prefix URL. Because Endpoints defined in OAS all start with /, they can be sent to different services. In Apidog, you don't need to write {{Base_url}} at the beginning of requests, storing services in the form of variables. You just need to switch to the corresponding environment, and all requests will be sent directly to the corresponding service in the environment.
A collection of endpoints, requests, schemas, environments, test scenarios, etc., forms a project. In Apidog, Project is the basic unit of collaboration.A Project corresponds to an OAS definition. You can also import an OAS as a project or export an OAS from a project. Compared to Apidog, an Apidog Project roughly corresponds to a Postman Collection, while an Apidog Team corresponds to a Postman Workspace.