Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Docs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Registry
Registry
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Competify
Docs
Commits
f4d54ae8
Commit
f4d54ae8
authored
Jun 29, 2018
by
Rosana Aurélio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[API] Inclusão de rota na API do adm para associar resposta correta à determinada questão.
parent
47fae602
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
1 deletion
+23
-1
Competition.Adm.API.yaml
Api/Competition.Adm.API.yaml
+23
-1
No files found.
Api/Competition.Adm.API.yaml
View file @
f4d54ae8
...
...
@@ -300,7 +300,6 @@ paths:
schema
:
format
:
int32
type
:
integer
delete
:
tags
:
-
exams
...
...
@@ -309,6 +308,29 @@ paths:
responses
:
'
200'
:
description
:
'
Successfully
deleted'
/exams/{examId}/questions/{questionId}/answer
:
patch
:
tags
:
-
exams
summary
:
Update a question setting its correct answer
description
:
Updates questions of a exam
requestBody
:
content
:
application/json
:
schema
:
type
:
array
items
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Question'
required
:
true
responses
:
'
200'
:
description
:
'
'
content
:
application/json
:
schema
:
type
:
object
oneOf
:
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Question'
/exams/{examId}/groups
:
get
:
tags
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment