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
bf3ff787
Commit
bf3ff787
authored
Jun 05, 2018
by
Isaac Pereira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adicionar endpoints públicos para a parte de inscrição
parent
830e5b54
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
101 additions
and
0 deletions
+101
-0
Competition.yaml
Api/Competition.yaml
+101
-0
No files found.
Api/Competition.yaml
View file @
bf3ff787
...
@@ -11,6 +11,8 @@ info:
...
@@ -11,6 +11,8 @@ info:
tags
:
tags
:
-
name
:
authentication
-
name
:
authentication
description
:
Operations involving the user authentication
description
:
Operations involving the user authentication
-
name
:
public
description
:
'
Public
operations'
-
name
:
competifier
-
name
:
competifier
description
:
Operations involving the competifier
description
:
Operations involving the competifier
-
name
:
assessments
-
name
:
assessments
...
@@ -53,6 +55,105 @@ paths:
...
@@ -53,6 +55,105 @@ paths:
'
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
/competition
:
get
:
tags
:
-
public
summary
:
Retrieves information about this competition
description
:
Retrieves information about this competition.
responses
:
'
200'
:
description
:
'
'
content
:
application/json
:
schema
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/Competition'
/subscription
:
get
:
tags
:
-
public
summary
:
Retrieves the subscription rule
responses
:
'
200'
:
description
:
'
'
content
:
application/json
:
schema
:
type
:
object
oneOf
:
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SoloSubscriptionRule'
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/TeamSubscriptionRule'
/subscription/team-template
:
get
:
tags
:
-
public
summary
:
Retrieves the team form template
responses
:
'
200'
:
description
:
'
'
content
:
application/json
:
schema
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/FormTemplate'
/subscription/participant-template
:
get
:
tags
:
-
public
summary
:
Retrieves the participant form template
responses
:
'
200'
:
description
:
'
'
content
:
application/json
:
schema
:
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/FormTemplate'
/subscription/submissions
:
get
:
tags
:
-
subscription
summary
:
Retrieves all submissions for this competition
description
:
Retrieves all submissions for this competition.
responses
:
'
200'
:
description
:
'
'
content
:
application/json
:
schema
:
type
:
array
items
:
oneOf
:
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SoloSubscriptionSubmission'
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/TeamSubscriptionSubmission'
post
:
tags
:
-
public
summary
:
Creates a submission for the competition
description
:
Creates a new submission for the competition.
requestBody
:
content
:
application/json
:
schema
:
type
:
object
oneOf
:
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SoloSubscriptionSubmission'
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/TeamSubscriptionSubmission'
required
:
true
responses
:
'
200'
:
description
:
'
'
content
:
application/json
:
schema
:
type
:
object
oneOf
:
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/SoloSubscriptionSubmission'
-
$ref
:
'
https://gitlab.dev.evologica.com.br/Competify/Docs/raw/master/Api/components/schemas.yaml/#/TeamSubscriptionSubmission'
/competifier/messages
:
/competifier/messages
:
parameters
:
parameters
:
-
$ref
:
>-
-
$ref
:
>-
...
...
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