Setup Component
Create
Create a new Setup Component record.
post/api/cp/setup/component
Request body
Example request
{
"id": 12345,
"account_id": 1,
"name": "Example Name",
"path": "example_path",
"section": "example_section",
"title": "Example Name",
"subtitle": "example_subtitle",
"graph_type": "line",
"colspan": 1,
"height": 123,
"output": "graph",
"queries": "example_queries",
"graph": "Sample graph text content",
"scriptforge_id": 1,
"analytic_id": 1,
"pre_processor_script": "Sample pre_processor_script text content"
}Response
Successful response
Example response
{
"id": 12345,
"status": "OK"
}