Skip to main content
POST
Create a destination endpoint

Authorizations

Authorization
string
header
required

Sign in with the existing Occtoo Studio identity and selected organization.

Path Parameters

destinationId
string
required

Id of the destination (e.g. catalogue).

version
integer<int32>
required

Version number of the destination (e.g. 1).

Body

application/json

A new endpoint of a destination version.

id
string
required

3 to 50 letters and digits. Becomes part of the URL of the published API and cannot change. mcp and openapi are taken.

name
string
required

Display name, 3 to 50 characters.

content
object
required

What the endpoint returns.

description
null | string

Free text, up to 200 characters.

Response

Created

An endpoint of a destination version: one route of the published API and what it returns.

id
string
required

The endpoint's safe name. Part of the URL of the published API.

name
string
required

Display name.

description
null | string
required

Free text shown with the endpoint.

content
object
required

What the published endpoint returns.

pendingContent
null | object
required

Changed content that waits for the next publish. Null when nothing waits.

etag
required

Version of the endpoint to send in If-Match.