API

Openapi

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
GET /api/v1/openapi load Success

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

openapi, err := client.Openapi(nil).Load(nil, nil)
if err != nil {
    panic(err)
}
fmt.Println(openapi)

Lua

Construct client as shown in the Lua setup, then call the operations:

local openapi, err = client:Openapi():load()

PHP

Construct client as shown in the PHP setup, then call the operations:

$openapi = $client->Openapi()->load();

Python

Construct client as shown in the Python setup, then call the operations:

openapi = client.Openapi().load()

Ruby

Construct client as shown in the Ruby setup, then call the operations:

openapi = client.Openapi.load()

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const openapi = await client.Openapi().load()

Fields

Field Type Required Description

load

GET /api/v1/openapi

Operation ID: api_v1_openapi.

Authentication: bearer token (bearerAuth).

Responses

200: Success

application/json

The response is object.

401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway