curl --request PUT \
--url https://api.revong.com/api/v1/endpoints/{endpointId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"version": 123,
"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
}
}
'ROLES: ENDPOINT_WRITE,ENDPOINT_ADMIN USER: true SERVICE ACCOUNT: true
curl --request PUT \
--url https://api.revong.com/api/v1/endpoints/{endpointId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"version": 123,
"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
}
}
'Bearer token with Platform JWT token or API Key.
Version.
Name.
Category.
Description.
Component identifier.
Component version, if left empty it will use latest component version).
Path, e.g. /api/v1/users/{user}
Method.
GET, POST, PUT, PATCH, DELETE Validate data input with schema component.
Schema component version, if left empty it will use latest schema component version if specified).
Options.
Show child attributes
OK.