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
c2c743a5
Commit
c2c743a5
authored
Jul 16, 2018
by
Rosana Aurélio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[API] Inclusão de novas rotas na api competition.adm
parent
2737eef7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
96 additions
and
0 deletions
+96
-0
Competition.Adm.API.yaml
Api/Competition.Adm.API.yaml
+92
-0
schemas.json
Api/components/schemas.json
+4
-0
No files found.
Api/Competition.Adm.API.yaml
View file @
c2c743a5
...
...
@@ -37,6 +37,8 @@ tags:
description
:
'
Assessment
operations'
-
name
:
exams
description
:
'
Exam
operations'
-
name
:
assignment
description
:
'
Assignments
information'
paths
:
# Competition
...
...
@@ -1083,6 +1085,96 @@ paths:
schema
:
format
:
int32
type
:
integer
/assessments/{assessmentId}/assignments
:
get
:
tags
:
-
assessments
summary
:
Retrieve all assignment from assessment
responses
:
'
200'
:
content
:
application/json
:
schema
:
type
:
array
items
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Assignment'
#Assignment
/assignments
:
get
:
tags
:
-
assignment
summary
:
Retrieves all assignments for the assessment.
responses
:
'
200'
:
content
:
application/json
:
schema
:
type
:
array
items
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Assignment'
/assignments/{assignmentId}
:
get
:
tags
:
-
assignment
summary
:
Retrieves a specific assignment.
responses
:
'
200'
:
content
:
application/json
:
schema
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.json#/Assignment'
parameters
:
-
name
:
assignmentId
in
:
path
required
:
true
schema
:
format
:
int32
type
:
integer
/assignments/{assignmentId}/submissions
:
get
:
tags
:
-
assignment
summary
:
Retrives all submissions from specific assignment
responses
:
'
200'
:
content
:
application/json
:
schema
:
type
:
array
items
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.json#/AssessmentSubmission'
parameters
:
-
name
:
assignmentId
in
:
path
required
:
true
schema
:
format
:
int32
type
:
integer
/assignments/{assignmentId}/submissions/{submissionId}
:
get
:
tags
:
-assignment
summary
:
Retrieve a specific submission from assignment
responses
:
'
200'
:
content
:
application/json
:
schema
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Submission.json#/AssessmentSubmission'
parameters
:
-
name
:
assignmentId
in
:
path
required
:
true
schema
:
format
:
int32
type
:
integer
-
name
:
submissionId
in
:
path
required
:
true
schema
:
format
:
int32
type
:
integer
# /subscription/templates:
# get:
...
...
Api/components/schemas.json
View file @
c2c743a5
...
...
@@ -157,5 +157,9 @@
},
"Submission"
:
{
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Subscription.json#/Submission"
},
"Assignment"
:{
"$ref"
:
"https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas/Assessment.json#/Assignment"
}
}
\ No newline at end of file
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