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
2737eef7
Commit
2737eef7
authored
Jul 16, 2018
by
Rosana Aurélio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[API] Correção API competify
parent
a7f27f28
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
52 deletions
+49
-52
Competify.API.yaml
Api/Competify.API.yaml
+3
-3
Competition.API.yaml
Api/Competition.API.yaml
+46
-49
No files found.
Api/Competify.API.yaml
View file @
2737eef7
...
...
@@ -23,8 +23,8 @@ tags:
description
:
'
User
operations'
-
name
:
competition
description
:
'
Competition
admin
operations'
-
name
:
assessments
description
:
'
Assessments
operations'
#
- name: assessments
#
description: 'Assessments operations'
paths
:
/login
:
post
:
...
...
@@ -186,7 +186,7 @@ paths:
schema
:
format
:
int32
type
:
integer
/competitions/{competitionId}/token
:
get
:
security
:
...
...
Api/Competition.API.yaml
View file @
2737eef7
...
...
@@ -149,7 +149,7 @@ paths:
content
:
application/json
:
schema
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/
Phase
.json#/Competition'
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/
Competition
.json#/Competition'
/subscription
:
get
:
...
...
@@ -395,32 +395,32 @@ paths:
schema
:
type
:
integer
patch
:
tags
:
-
assignments
summary
:
Updates status of the assignment
description
:
The only attribute allowed to be altered is read
requestBody
:
content
:
application/json
:
schema
:
type
:
object
oneOf
:
-
$ref
:
'
htps://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/VirtualAssessment'
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Handmade
Assessment'
required
:
true
responses
:
'
200'
:
description
:
'
'
content
:
application/json
:
tags
:
-
assignments
summary
:
Updates status of the assignment
description
:
The only attribute allowed to be altered is read
requestBody
:
required
:
true
content
:
application/json
:
schema
:
type
:
object
oneOf
:
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Virtual
Assessment'
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/HandmadeAssessment'
responses
:
'
200'
:
description
:
'
'
content
:
application/json
:
schema
:
type
:
object
oneOf
:
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/VirtualAssessment'
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/HandmadeAssessment'
'
500'
:
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
'
500'
:
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
/assignments/{assignmentId}
:
parameters
:
-
$ref
:
>-
...
...
@@ -530,29 +530,27 @@ paths:
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
patch
:
tags
:
-
assignments
summary
:
Sync the progress for the assignment
description
:
Sync the progress for the assignment
requestBody
:
content
:
application/json
:
schema
:
type
:
object
oneOf
:
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/VirtualAssessmentSubmissionDraft'
required
:
true
responses
:
'
200'
:
description
:
'
'
content
:
application/json
:
schema
:
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/VirtualAssessmentSubmissionDraft
'
500'
:
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
tags
:
-
assignments
summary
:
Sync the progress for the assignment
description
:
Sync the progress for the assignment
requestBody
:
required
:
true
content
:
application/json
:
schema
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/VirtualAssessmentSubmissionDraft'
responses
:
'
200'
:
description
:
'
'
content
:
application/json
:
schema
:
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/VirtualAssessmentSubmissionDraft
'
500'
:
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
/assignments/{assignmentId}/exam
:
parameters
:
-
$ref
:
>-
...
...
@@ -633,11 +631,10 @@ paths:
content
:
application/json
:
schema
:
type
:
object
anyOf
:
-
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/SubjectiveQuestion
-
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/ObjectiveQuestion
-
$ref
:
"
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/SubjectiveQuestion"
-
$ref
:
"
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/ObjectiveQuestion"
'
500'
:
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.json#/InternalServerError
...
...
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