--- title: "REST API: Meta information and versioning" slug: "custom-rest-api-meta-versioning" tags: ["API Versioning", "Meta Information", "REST API"] status: "update" updated: 2026-11-12T14:02:36Z published: 2026-11-12T14:02:36Z canonical: "docs.lobstersoftware.com/custom-rest-api-meta-versioning" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # REST API: Meta information and versioning This article describes the **Meta information** tab of a REST API definition and the supported versioning approaches. For an overview of the configuration, see [REST API](/v1/docs/en/custom-rest-api-definition) . ## Meta information tab ![User interface for REST API settings, including fields for title, version, and contact.](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/MetaInfoRESTAPI.png) In the **Meta information** tab, you record informative details about the REST API. These details appear in the OpenAPI documentation depending on the call context. The platform stores the information in the `meta` field of the **REST API** class (`RestApi`). The field contains a `RestApiMetadata` data object with the following structure: | **Property** | **Data type** | **Data field (path)** | **Notes** | | --- | --- | --- | --- | | **Info** | `RestApiMetadata` | `(meta)` | | | **Title** | `String` | `title` | | | **Version** | `String` | `version` | Typical format: `<major>.<minor>.<patch>`. Purely informational. For details, see the "API versioning" section. | | **Summary** | `String` | `summary` | | | **Description** | `String` | `description` | | | **Terms of service** | `String` | `termsOfService` | | | **Contact** | `RestApiMetadata$Contact` | `contact` | The data field path refers to the `RestApiMetadata` object in the `meta` field. | | **Contact > Name** | `String` | `contact.name` | | | **Contact > URL** | `String` | `contact.url` | | | **Contact > Email** | `String` | `contact.email` | | | **License** | `RestApiMetadata$License` | `license` | The data field path refers to the `RestApiMetadata` object in the `meta` field. | | **License > Name** | `String` | `license.name` | | | **License > URL** | `String` | `license.url` | | | **License > Identifier** | `String` | `license.identifier` | | ## API versioning As soon as you publish server-side functions via an API, the question of versioning arises. The [REST API](/v1/docs/en/custom-rest-api-definition) configuration supports multiple approaches. Multiple versions of an endpoint can be published and operated in parallel. Deprecating individual endpoints (sunset, status code `410 Gone`) is described in the article [REST API: Advanced endpoint settings](https://docs.lobster-world.com/docs/en/custom-rest-api-advanced-settings#is-deprecated-sunset). Query parameters and request headers are recommended conventions rather than dedicated platform features. The platform only exposes the generic `queryParameters` and `requestHeaders` maps, and your action block evaluates the version. ### Version in the base URI The **Base URI** property (`baseUri`) can contain a static version number. It is common to prefix the version number with the letter `v`. **Example:** `v2/lookup` within an endpoint URL such as `./api/v2/lookup/item/4711`. ### Version in the endpoint URI You can also place a version indicator within the **URI** property (`uri`) of an endpoint. **Example:** `v2/getItem/{id}` within an endpoint URL such as `./api/lookup/v2/getItem/4711`. ### Version as URI parameter Within the **URI**, you also map the version number to a variable. **Example:** `v{version}/getItem{id}` for the endpoint URL `./api/lookup/v2/getItem/4711`. The action block then distinguishes cases via the `version` variable, for example, with [If then else](/v1/docs/en/core-if-then-else-actor) or [Conditional value](/v1/docs/en/core-conditional-value-resolver). ### Version as query parameter Alternatively, place the version index as a query parameter. In the action block, you access it via the `queryParameters` map. **Example:** `./api/lookup/getItem/4711?v=2`. ### Version as request header You can also pass a version identifier into the action block via the `requestHeaders` map as a header parameter. The version then does not appear in the URL but is still accessible in the action block. **NOTE:** The platform uses the version field in the **Meta information** tab purely informatively for the OpenAPI documentation. It does not affect routing; routing is controlled solely by the base URI and the endpoint URI. The version shown there may be misleading when multiple active REST API definitions refer to the same base URI. An architecture for web APIs based on HTTP. REST APIs use standard methods such as GET, POST, PUT, and DELETE to access resources. The Lobster Data Platform provides its own REST API and can act as a REST endpoint via an HTTP input agent.