PATCH
/
rubrics
/
v1
/
rubric
/
{id}
curl --request PATCH \
  --url https://api-staging.crazygoldfish.com/rubrics/v1/rubric/{id}/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Science Rubric",
  "description": "A rubric for evaluating science hand written assignment."
}'
{
  "id": "2b973c83-2830-4712-87b7-64a8c0a99035",
  "name": "English Rubric",
  "description": "A rubric for evaluating english hand written assignment.",
  "rubricCriteria": [],
  "createdAt": "2023-11-07T05:31:56Z",
  "modifiedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Unique identifier for the rubric.

Body

application/json
name
string

Name of the rubric

Example:

"Science Rubric"

description
string

Description of the rubric

Example:

"A rubric for evaluating science hand written assignment."

Response

200
application/json
Rubric updated successfully.
id
string

Unique ID of the rubric

Example:

"2b973c83-2830-4712-87b7-64a8c0a99035"

name
string

Name of the rubric

Example:

"English Rubric"

description
string

Description of the rubric

Example:

"A rubric for evaluating english hand written assignment."

rubricCriteria
any[]

List of rubric criteria

Example:
[]
createdAt
string

Created date for the rubric

modifiedAt
string

Modified date of the rubric