curl --request POST \
--url https://api.revong.com/api/v1/component \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"componentId": "<string>",
"name": "<string>",
"type": "<string>",
"active": true,
"category": "<string>",
"desc": "<string>"
}
'ROLES: COMPONENT_WRITE,COMPONENT_ADMIN USER: true SERVICE ACCOUNT: true
curl --request POST \
--url https://api.revong.com/api/v1/component \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"componentId": "<string>",
"name": "<string>",
"type": "<string>",
"active": true,
"category": "<string>",
"desc": "<string>"
}
'Bearer token with Platform JWT token or API Key.
componentId optionally used for existing components
Name is only used for the presentation.
Type of component must be one of: CODE_JS,CODE_TS,CODE_JS_LIB,CODE_TS_LIB,JSON_VALIDATOR.
Activate upon creation.
Category.
Description.
Created.