POST /_system/react/components
Create a new React component with code compilation
Create a new React component with code compilation
| Key | Type | Example | |
|---|---|---|---|
| authorization required | string |
"Bearer your-jwt-token"
|
| Key | Type | Example | Description |
|---|---|---|---|
| name required | string |
"example-string"
|
Component name
|
| description optional | string |
"example-string"
|
Component description
|
| component required | string |
"example-string"
|
React component source code
|
| inpins optional | array |
[]
|
Input pin configuration
|
{
"success": true
}
{
"success": false,
"error": "HTTP_401",
"message": "Error response"
}
| Error Code | Description |
|---|---|
| HTTP_401 | HTTP 401 error |
| permission | description |
|---|---|
BearerAuth |
JWT access token obtained from login endpoint required |
Back to React Components Return to the React Components category to view other endpoints All API Categories Browse all available API categories