curl --request POST \
--url https://api.example.com/api/v1/accounts/{accountId}/projects/{projectId}/widgets \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"type": "<string>",
"configuration": {}
}
'{
"widget": {
"id": "<string>",
"projectId": "<string>",
"description": "<string>",
"name": "<string>"
},
"widgetConfiguration": {
"id": "<string>",
"description": "<string>",
"name": "<string>",
"configuration": {},
"version": "<string>"
}
}Creates a new widget for the specified account and project
curl --request POST \
--url https://api.example.com/api/v1/accounts/{accountId}/projects/{projectId}/widgets \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"type": "<string>",
"configuration": {}
}
'{
"widget": {
"id": "<string>",
"projectId": "<string>",
"description": "<string>",
"name": "<string>"
},
"widgetConfiguration": {
"id": "<string>",
"description": "<string>",
"name": "<string>",
"configuration": {},
"version": "<string>"
}
}