Skip to main content
POST
/
api
/
v1
/
endpoints
Create endpoint.
curl --request POST \
  --url https://api.revong.com/api/v1/endpoints \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "category": "<string>",
  "desc": "<string>",
  "componentId": "<string>",
  "componentVersion": 123,
  "path": "<string>",
  "method": "GET",
  "inputs": {},
  "componentSchemaId": "<string>",
  "componentSchemaVersion": 123,
  "options": {
    "skipLibs": true,
    "legacyResults": true,
    "hideRequest": true,
    "hideResponse": true
  }
}'

Authorizations

Authorization
string
header
required

Bearer token with Platform JWT token or API Key.

Body

application/json
name
string
required

Name.

path
string
required

Path, e.g. /api/v1/users/{user}

method
enum<string>
required

Method.

Available options:
GET,
POST,
PUT,
PATCH,
DELETE
category
string

Category.

desc
string

Description.

componentId
string

Component identifier.

componentVersion
number

Component version, if left empty it will use latest component version).

inputs
object
componentSchemaId
string

Validate data input with schema component.

componentSchemaVersion
number

Schema component version, if left empty it will use latest schema component version if specified).

options
object

Options.

Response

Job scheduled.