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
99673c45
Commit
99673c45
authored
May 18, 2018
by
Isaac Pereira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adiciona rotas e autenticação
parent
ff49cd5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
64 additions
and
0 deletions
+64
-0
CompetitionAdm.yaml
Api/CompetitionAdm.yaml
+64
-0
No files found.
Api/CompetitionAdm.yaml
View file @
99673c45
...
...
@@ -6,6 +6,8 @@ info:
application to control the competition itself
version: 1.0.0
tags
:
-
name
:
auth
description
:
'
Authentication
and
register'
-
name
:
admin
description
:
'
Competition
admin
operations'
-
name
:
public
...
...
@@ -17,6 +19,68 @@ tags:
-
name
:
exams
description
:
'
Exam
operations'
paths
:
/login
:
post
:
tags
:
-
auth
summary
:
Retrieves information about this competition
description
:
Retrieves information about this competition.
requestBody
:
content
:
application/json
:
schema
:
type
:
object
properties
:
username
:
type
:
string
password
:
type
:
string
required
:
true
responses
:
'
200'
:
description
:
'
JWT'
content
:
application/json
:
schema
:
type
:
string
/register
:
post
:
tags
:
-
auth
summary
:
Retrieves information about this competition
description
:
Retrieves information about this competition.
requestBody
:
content
:
application/json
:
schema
:
type
:
object
properties
:
username
:
type
:
string
fullname
:
type
:
string
email
:
type
:
string
password
:
type
:
string
required
:
true
responses
:
'
200'
:
description
:
'
'
content
:
application/json
:
schema
:
type
:
object
properties
:
oid
:
type
:
integer
username
:
type
:
string
fullname
:
type
:
string
email
:
type
:
string
/competition
:
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