questions

put/questions/{id}

Path parameters

idinteger required

id of the question

Request body

idnumber
subtopicIdnumber
questionTextstring
answerTypestring
evidenceFileRequiredboolean
hintstring
isRequiredboolean
priorityLevel'high priority' | 'medium priority' | 'low priority'

Example request

{
  "id": 1,
  "subtopicId": 1,
  "questionText": "What is the purpose of this feature?",
  "answerType": "Multiple Choice",
  "hint": "As a deployer, you are responsible for any additional changes made to the high-risk AI system and must fulfill additional requirements based on the data used and the specific use case you are deploying.",
  "isRequired": true,
  "priorityLevel": "high priority"
}

Response

question

messagestring

Example response

{
  "message": "accepted",
  "data": {
    "id": 1,
    "subtopicId": 1,
    "questionText": "What is the purpose of this feature?",
    "answerType": "Multiple Choice",
    "hint": "As a deployer, you are responsible for any additional changes made to the high-risk AI system and must fulfill additional requirements based on the data used and the specific use case you are deploying.",
    "isRequired": true,
    "priorityLevel": "high priority"
  }
}

Changes