Skip to main content

Introduction

Now that you have defined the table structure, operations, and added data, Rocket automatically generates APIs for your database. Rocket generates these APIs based on the following parameters:

  • Attributes & Tables
  • RocketQuery
  • RocketAuth

In Rocket, there are three types of APIs:

  • Attribute APIs: APIs that are created based on Attributes & Tables.
  • Query APIs: APIs that are created by RocketQuery.
  • Auth APIs: APIs that are created by RocketAuth.

Rocket generates basic documentation for these APIs, derived from the details provided during database, table, and attribute creation, as well as other information.

While Rocket generates basic documentation, it is essential to review and enhance the documentation on the APIs page to improve comprehension and foster better collaboration.

API Operations

  • Documenting APIs: Refer to the documentation on documenting APIs to understand the process for documenting APIs effectively.
  • Swagger and Redoc: Explore the documentation on Swagger and Redoc to learn more about these tools and how to utilize them efficiently.

Field Rules

The following table outlines the field rules for documenting apis:

FieldDescriptionData TypeMinimum LengthMaximum LengthValid OptionsDefault ValueIs OptionalExtra Details
TitleAPI Titlestring225--No-
DescriptionAPI Descriptionlarge-text2255--No-