Create Rubric
POST
/admin/analytics/rubrics
const url = 'http://localhost:9000/admin/analytics/rubrics';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"name":"example","label":"example","description":"example","expected_properties":{},"active":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:9000/admin/analytics/rubrics \ --header 'Content-Type: application/json' \ --data '{ "name": "example", "label": "example", "description": "example", "expected_properties": {}, "active": true }'Request Body required
Section titled “Request Body required ” Media type application/json
object
name
required
string
label
required
string
description
string
expected_properties
object
key
additional properties
any
active
boolean
Example generated
{ "name": "example", "label": "example", "description": "example", "expected_properties": {}, "active": true}Responses
Section titled “ Responses ”OK
Media type application/json
object
Example generated
{}