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
1cb1e2bc
Commit
1cb1e2bc
authored
May 14, 2018
by
bernardosunderhus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[API] Adiciona parametros padrões para todas rotas
parent
30903a10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
223 additions
and
129 deletions
+223
-129
Competition.yaml
Api/Competition.yaml
+223
-129
No files found.
Api/Competition.yaml
View file @
1cb1e2bc
...
...
@@ -3,7 +3,8 @@ info:
title
:
Competition API
version
:
1.0.0
description
:
>-
Api of the competition. This API should be used by the competition application to perform assessments
Api of the competition. This API should be used by the competition
application to perform assessments
contact:
name: Documentation
url: 'https://gitlab.dev.evologica.com.br/Competify/Docs'
...
...
@@ -20,7 +21,9 @@ tags:
-
name
:
authentication
description
:
Operations involving the user authentication
paths
:
/login
:
'
/login'
:
parameters
:
-
$ref
:
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.yaml/#/language
post
:
tags
:
-
authentication
...
...
@@ -45,8 +48,11 @@ paths:
schema
:
type
:
string
'
500'
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError'
/competifier/messages
:
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError
'
/competifier/messages'
:
parameters
:
-
$ref
:
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.yaml/#/language
get
:
tags
:
-
competifier
...
...
@@ -59,10 +65,19 @@ paths:
schema
:
type
:
array
items
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Message'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Message
'
500'
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError
'
/competifier/messages/{messageId}'
:
parameters
:
-
$ref
:
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.yaml/#/language
-
name
:
messageId
in
:
path
required
:
true
schema
:
type
:
integer
get
:
tags
:
-
competifier
...
...
@@ -73,9 +88,11 @@ paths:
content
:
application/json
:
schema
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Message'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Message
'
500'
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError
patch
:
tags
:
-
competifier
...
...
@@ -85,7 +102,8 @@ paths:
content
:
application/json
:
schema
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch
required
:
true
responses
:
'
200'
:
...
...
@@ -93,16 +111,14 @@ paths:
content
:
application/json
:
schema
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Message'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Message
'
500'
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError
'
/assessments'
:
parameters
:
-
name
:
messageId
in
:
path
required
:
true
schema
:
type
:
integer
/assessments
:
-
$ref
:
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.yaml/#/language
get
:
tags
:
-
assessments
...
...
@@ -116,11 +132,21 @@ paths:
type
:
array
items
:
oneOf
:
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/VirtualAssessment'
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/HandmadeAssessment'
-
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/VirtualAssessment
-
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/HandmadeAssessment
'
500'
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError
'
/assessments/{assessmentId}'
:
parameters
:
-
$ref
:
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.yaml/#/language
-
name
:
assessmentId
in
:
path
required
:
true
schema
:
type
:
integer
get
:
tags
:
-
assessments
...
...
@@ -132,17 +158,21 @@ paths:
application/json
:
schema
:
oneOf
:
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/VirtualAssessment'
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/HandmadeAssessment'
-
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/VirtualAssessment
-
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/HandmadeAssessment
'
500'
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError
'
/assessments/{assessmentId}/submissions'
:
parameters
:
-
$ref
:
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.yaml/#/language
-
name
:
assessmentId
in
:
path
required
:
true
schema
:
type
:
integer
'
/assessments/{assessmentId}/submissions'
:
get
:
tags
:
-
assessments
...
...
@@ -155,7 +185,8 @@ paths:
schema
:
type
:
array
items
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/AssessmentSubmission'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/AssessmentSubmission
examples
:
Dummy Submissions
:
value
:
|-
...
...
@@ -178,7 +209,8 @@ paths:
}
]
'
500'
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError
post
:
tags
:
-
assessments
...
...
@@ -187,7 +219,8 @@ paths:
content
:
application/json
:
schema
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/AssessmentSubmission'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/AssessmentSubmission
examples
:
Dummy Submission Post
:
value
:
...
...
@@ -209,16 +242,24 @@ paths:
content
:
application/json
:
schema
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/AssessmentSubmission'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/AssessmentSubmission
'
500'
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError
'
/assessments/{assessmentId}/submissions/{submissionId}'
:
parameters
:
-
$ref
:
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.yaml/#/language
-
name
:
assessmentId
in
:
path
required
:
true
schema
:
type
:
integer
'
/assessments/{assessmentId}/submissions/{submissionId}'
:
-
name
:
submissionId
in
:
path
required
:
true
schema
:
type
:
integer
get
:
tags
:
-
assessments
...
...
@@ -229,7 +270,8 @@ paths:
content
:
application/json
:
schema
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/AssessmentSubmission'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/AssessmentSubmission
examples
:
Dummy Submission
:
value
:
...
...
@@ -245,19 +287,16 @@ paths:
type
:
0
uploadUri
:
null
'
500'
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError
'
/assessments/{assessmentId}/questions'
:
parameters
:
-
$ref
:
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.yaml/#/language
-
name
:
assessmentId
in
:
path
required
:
true
schema
:
type
:
integer
-
name
:
submissionId
in
:
path
required
:
true
schema
:
type
:
integer
'
/assessments/{assessmentId}/questions'
:
get
:
tags
:
-
assessments
...
...
@@ -271,17 +310,26 @@ paths:
type
:
array
items
:
anyOf
:
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/ObjectiveQuestion'
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SubjectiveQuestion'
-
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/ObjectiveQuestion
-
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SubjectiveQuestion
'
500'
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError
'
/assessments/{assessmentId}/questions/{questionId}'
:
parameters
:
-
$ref
:
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.yaml/#/language
-
name
:
assessmentId
in
:
path
required
:
true
schema
:
type
:
integer
'
/assessments/{assessmentId}/questions/{questionId}'
:
-
name
:
questionId
in
:
path
required
:
true
schema
:
type
:
integer
get
:
tags
:
-
assessments
...
...
@@ -293,11 +341,16 @@ paths:
application/json
:
schema
:
anyOf
:
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SubjectiveQuestion'
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/ObjectiveQuestion'
-
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SubjectiveQuestion
-
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/ObjectiveQuestion
'
500'
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError
'
/assessments/{assessmentId}/questions/{questionId}/statement'
:
parameters
:
-
$ref
:
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.yaml/#/language
-
name
:
assessmentId
in
:
path
required
:
true
...
...
@@ -308,7 +361,6 @@ paths:
required
:
true
schema
:
type
:
integer
'
/assessments/{assessmentId}/questions/{questionId}/statement'
:
get
:
tags
:
-
assessments
...
...
@@ -319,10 +371,14 @@ paths:
content
:
application/json
:
schema
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/QuestionStatement'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/QuestionStatement
'
500'
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError
'
/assessments/{assessmentId}/questions/{questionId}/alternatives'
:
parameters
:
-
$ref
:
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.yaml/#/language
-
name
:
assessmentId
in
:
path
required
:
true
...
...
@@ -333,7 +389,6 @@ paths:
required
:
true
schema
:
type
:
integer
'
/assessments/{assessmentId}/questions/{questionId}/alternatives'
:
get
:
tags
:
-
assessments
...
...
@@ -346,21 +401,19 @@ paths:
schema
:
type
:
array
items
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Alternative'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Alternative
'
500'
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError
'
/assessments/{assessmentId}/drafts'
:
parameters
:
-
$ref
:
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.yaml/#/language
-
name
:
assessmentId
in
:
path
required
:
true
schema
:
type
:
integer
-
name
:
questionId
in
:
path
required
:
true
schema
:
type
:
integer
'
/assessments/{assessmentId}/drafts'
:
get
:
tags
:
-
assessments
...
...
@@ -374,10 +427,13 @@ paths:
type
:
array
items
:
oneOf
:
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/HandmadeAssessmentSubmission'
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/VirtualAssessmentSubmission'
-
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/HandmadeAssessmentSubmission
-
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/VirtualAssessmentSubmission
'
500'
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError
post
:
tags
:
-
assessments
...
...
@@ -387,8 +443,10 @@ paths:
application/json
:
schema
:
oneOf
:
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/HandmadeAssessmentSubmission'
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/VirtualAssessmentSubmission'
-
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/HandmadeAssessmentSubmission
-
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/VirtualAssessmentSubmission
responses
:
'
200'
:
description
:
'
'
...
...
@@ -396,18 +454,16 @@ paths:
application/json
:
schema
:
oneOf
:
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/HandmadeAssessmentSubmission'
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/VirtualAssessmentSubmission'
-
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/HandmadeAssessmentSubmission
-
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/VirtualAssessmentSubmission
'
500'
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError'
parameters
:
-
name
:
assessmentId
in
:
path
required
:
true
schema
:
type
:
integer
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError
'
/assessments/{assessmentId}/drafts/{draftId}'
:
parameters
:
-
$ref
:
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.yaml/#/language
-
name
:
assessmentId
in
:
path
required
:
true
...
...
@@ -429,11 +485,21 @@ paths:
application/json
:
schema
:
oneOf
:
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/HandmadeAssessmentSubmission'
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/VirtualAssessmentSubmission'
-
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/HandmadeAssessmentSubmission
-
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/VirtualAssessmentSubmission
'
500'
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError
'
/assessments/{assessmentId}/evaluation'
:
parameters
:
-
$ref
:
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.yaml/#/language
-
name
:
assessmentId
in
:
path
required
:
true
schema
:
type
:
integer
get
:
tags
:
-
assessments
...
...
@@ -444,16 +510,14 @@ paths:
content
:
application/json
:
schema
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/AssessmentSubmissionEvaluation'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/AssessmentSubmissionEvaluation
'
500'
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError
'
/competifier'
:
parameters
:
-
name
:
assessmentId
in
:
path
required
:
true
schema
:
type
:
integer
/competifier
:
-
$ref
:
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.yaml/#/language
get
:
tags
:
-
competifier
...
...
@@ -465,10 +529,13 @@ paths:
application/json
:
schema
:
oneOf
:
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SoloCompetifier'
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/TeamCompetifier'
-
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SoloCompetifier
-
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/TeamCompetifier
'
500'
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError
patch
:
tags
:
-
competifier
...
...
@@ -478,7 +545,8 @@ paths:
content
:
application/json
:
schema
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch
required
:
true
responses
:
'
200'
:
...
...
@@ -487,11 +555,16 @@ paths:
application/json
:
schema
:
oneOf
:
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SoloCompetifier'
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/TeamCompetifier'
-
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SoloCompetifier
-
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/TeamCompetifier
'
500'
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError'
/competifier/participants
:
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError
'
/competifier/participants'
:
parameters
:
-
$ref
:
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.yaml/#/language
get
:
tags
:
-
competifier
...
...
@@ -505,10 +578,19 @@ paths:
schema
:
type
:
array
items
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Participant'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Participant
'
500'
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError
'
/competifier/participants/{participantId}'
:
parameters
:
-
$ref
:
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.yaml/#/language
-
name
:
participantId
in
:
path
required
:
true
schema
:
type
:
integer
get
:
tags
:
-
competifier
...
...
@@ -519,9 +601,11 @@ paths:
content
:
application/json
:
schema
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Participant'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Participant
'
500'
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError
patch
:
tags
:
-
competifier
...
...
@@ -532,23 +616,22 @@ paths:
schema
:
type
:
array
items
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/JsonPatch
responses
:
'
200'
:
description
:
'
'
content
:
application/json
:
schema
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Participant'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Participant
'
500'
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError
'
/phases'
:
parameters
:
-
name
:
participantId
in
:
path
required
:
true
schema
:
type
:
integer
/phases
:
-
$ref
:
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.yaml/#/language
get
:
tags
:
-
phases
...
...
@@ -561,10 +644,19 @@ paths:
schema
:
type
:
array
items
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Phase'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Phase
'
500'
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError
'
/phases/{phaseId}'
:
parameters
:
-
$ref
:
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.yaml/#/language
-
name
:
phaseId
in
:
path
required
:
true
schema
:
type
:
integer
get
:
tags
:
-
phases
...
...
@@ -575,16 +667,19 @@ paths:
content
:
application/json
:
schema
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Phase'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Phase
'
500'
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError'
parameters
:
-
name
:
phaseId
in
:
path
required
:
true
schema
:
type
:
integer
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError
'
/phases/{phaseId}/ranking'
:
parameters
:
-
$ref
:
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.yaml/#/language
-
name
:
phaseId
in
:
path
required
:
true
schema
:
type
:
integer
get
:
tags
:
-
phases
...
...
@@ -597,16 +692,19 @@ paths:
schema
:
type
:
array
items
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Rank'
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Rank
'
500'
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError'
parameters
:
-
name
:
phaseId
in
:
path
required
:
true
schema
:
type
:
integer
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError
'
/phases/{phaseId}/ranking/me'
:
parameters
:
-
$ref
:
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/parameters.yaml/#/language
-
name
:
phaseId
in
:
path
required
:
true
schema
:
type
:
integer
get
:
tags
:
-
phases
...
...
@@ -619,15 +717,11 @@ paths:
content:
application/json:
schema:
$ref: 'https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Rank'
$ref: >-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Rank
'
500'
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError'
parameters
:
-
name
:
phaseId
in
:
path
required
:
true
schema
:
type
:
integer
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError
components
:
securitySchemes
:
COMPETITION_TOKEN
:
...
...
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