Skip to main content
PUT
/
api
/
v1
/
endpoints
/
{endpointId}
Update endpoint.
curl --request PUT \
  --url https://api.revong.com/api/v1/endpoints/{endpointId} \
  --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
  },
  "version": 123
}'

Authorizations

Authorization
string
header
required

Bearer token with Platform JWT token or API Key.

Path Parameters

endpointId
string
required

Body

application/json
version
number
required

Version.

name
string

Name.

category
string

Category.

desc
string

Description.

componentId
string

Component identifier.

componentVersion
number

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

path
string

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

method
enum<string>

Method.

Available options:
GET,
POST,
PUT,
PATCH,
DELETE
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

OK.