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
cbea0bb5
Commit
cbea0bb5
authored
May 15, 2018
by
bernardosunderhus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[API] Cria arquivo para separar API's da competição
parent
245d087f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
40 deletions
+7
-40
Competition.yaml
Api/Competition.yaml
+0
-35
CompetitionAdm.yaml
Api/CompetitionAdm.yaml
+7
-5
No files found.
Api/Competition.yaml
View file @
cbea0bb5
...
@@ -206,27 +206,6 @@ paths:
...
@@ -206,27 +206,6 @@ paths:
items
:
items
:
$ref
:
>-
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/AssessmentSubmission
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/AssessmentSubmission
examples
:
Dummy Submissions
:
value
:
|-
[
{
"answers": [
{
"choice": 0,
"freeText": "",
"question": 0
}
],
"assessment": 0,
"finishedAt": "date-time",
"lastUpdate": "date-time",
"startedAt": "date-time",
"status": 0,
"type": 0,
"uploadUri": ""
}
]
'
500'
:
'
500'
:
$ref
:
>-
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/responses.yaml/#/InternalServerError
...
@@ -240,20 +219,6 @@ paths:
...
@@ -240,20 +219,6 @@ paths:
schema
:
schema
:
$ref
:
>-
$ref
:
>-
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/AssessmentSubmission
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/AssessmentSubmission
examples
:
Dummy Submission Post
:
value
:
answers
:
-
choice
:
0
freeText
:
null
question
:
0
assessment
:
0
finishedAt
:
date-time
lastUpdate
:
date-time
startedAt
:
date-time
status
:
0
type
:
0
uploadUri
:
null
required
:
true
required
:
true
responses
:
responses
:
'
200'
:
'
200'
:
...
...
Api/Competi
fy
.yaml
→
Api/Competi
tionAdm
.yaml
View file @
cbea0bb5
openapi
:
3.0.0
openapi
:
3.0.0
info
:
info
:
title
:
Competition Admin API
title
:
Competition Admin API
description
:
Competition Admin API
description
:
>-
version
:
0.1.0
Api of the competition administration. This API should be used by the competify
application to control the competition itself
version: 1.0.0
tags
:
tags
:
-
name
:
admin
-
name
:
admin
description
:
'
Competition
admin
operations'
description
:
'
Competition
admin
operations'
...
...
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