V1::ExamQuestionAnswersController

ExamQuestionAnswers

index

Get a list of exam_question_answers

URL

GET /exam_questions/:exam_question_id/exam_question_answers

Objeto resposta

Array<ExamQuestionAnswer>

The created exam_question_answers

create

Create new exam_question_answer

URL

POST /exam_questions/:exam_question_id/exam_question_answers

Parâmetros obrigatórios

Nome Tipo Descrição
exam_question_answer Hash

The exam_question_answer to create

exam_question_answer[exam_answer_id] Integer

Id of the associated exam answer

Objeto resposta

ExamQuestionAnswer

The created exam_question_answer or a list of errors

show

Get a exam_question_answers information

URL

GET /v1/exam_question_answers/:id

Parâmetros obrigatórios

Nome Tipo Descrição
id Integer

of the exam_question_answer

Objeto resposta

ExamQuestionAnswer

The requested exam_question_answer

update

Update an existing exam_question_answer and redirect to 'show' action

URL

PUT/PATCH /v1/exam_question_answers/:id

Parâmetros obrigatórios

Nome Tipo Descrição
exam_question_answer Hash

The exam_question_answer to update

exam_question_answer[exam_answer_id] Integer

Id of the associated exam answer

Objeto resposta

ExamQuestionAnswer

The created exam_question_answer or a list of errors

destroy

Destroy exam_question_answer

URL

DELETE /v1/exam_question_answers/:id

Parâmetros obrigatórios

Nome Tipo Descrição
id Integer

Id of a exam_question_answer