Create a new rubric template
const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
criteria: [{title: '<string>', pointsPossible: 123, description: '<string>'}],
description: '<string>',
assignmentContent: '<string>'
})
};
fetch('https://studyfetchapi.com/api/v1/assignment-grader/rubric-templates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://studyfetchapi.com/api/v1/assignment-grader/rubric-templates \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "<string>",
"criteria": [
{
"title": "<string>",
"pointsPossible": 123,
"description": "<string>"
}
],
"description": "<string>",
"assignmentContent": "<string>"
}
'import requests
url = "https://studyfetchapi.com/api/v1/assignment-grader/rubric-templates"
payload = {
"name": "<string>",
"criteria": [
{
"title": "<string>",
"pointsPossible": 123,
"description": "<string>"
}
],
"description": "<string>",
"assignmentContent": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"_id": "<string>",
"name": "<string>",
"criteria": [
{
"title": "<string>",
"pointsPossible": 123,
"description": "<string>"
}
],
"organizationId": "<string>",
"createdBy": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"assignmentContent": "<string>"
}Assignment Grader
Create a new rubric template
Creates a reusable rubric template scoped to your organization. Optionally stores assignmentContent so the same source material is automatically supplied every time the template is used.
POST
/
api
/
v1
/
assignment-grader
/
rubric-templates
Create a new rubric template
const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
criteria: [{title: '<string>', pointsPossible: 123, description: '<string>'}],
description: '<string>',
assignmentContent: '<string>'
})
};
fetch('https://studyfetchapi.com/api/v1/assignment-grader/rubric-templates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://studyfetchapi.com/api/v1/assignment-grader/rubric-templates \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "<string>",
"criteria": [
{
"title": "<string>",
"pointsPossible": 123,
"description": "<string>"
}
],
"description": "<string>",
"assignmentContent": "<string>"
}
'import requests
url = "https://studyfetchapi.com/api/v1/assignment-grader/rubric-templates"
payload = {
"name": "<string>",
"criteria": [
{
"title": "<string>",
"pointsPossible": 123,
"description": "<string>"
}
],
"description": "<string>",
"assignmentContent": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"_id": "<string>",
"name": "<string>",
"criteria": [
{
"title": "<string>",
"pointsPossible": 123,
"description": "<string>"
}
],
"organizationId": "<string>",
"createdBy": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"assignmentContent": "<string>"
}Authorizations
x-api-keybearerAuth
API Key for server-to-server authentication. Resolves to the owning organization.
Body
application/json
Name of the rubric template
Grading criteria
Show child attributes
Show child attributes
Description of the rubric template
Default source material applied to any grading request that uses this template, unless overridden at the request level.
Response
Rubric template created
Template ID
Template name
Grading criteria
Show child attributes
Show child attributes
Owning organization ID
User who created the template
Creation timestamp
Update timestamp
Template description
Default source material attached to this template
Was this page helpful?