Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
projet-cdaw
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Quentin Vrel
projet-cdaw
Commits
f44c7f01
Commit
f44c7f01
authored
Dec 04, 2020
by
quentin.vrel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gvipers.imt-lille-douai.fr/QVrel/projet-cdaw
parents
8e09ce9a
b7dc8b6e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
blacklist.md
doc/backend/blacklist.md
+10
-1
game.md
doc/backend/game.md
+8
-1
No files found.
doc/backend/blacklist.md
View file @
f44c7f01
# Endpoint `/blacklist`
[
Revenir en arrière
](
../BackSummary.md
)
Pour ce endpoint, il faut avoir un token valide et être administrateur.
|Méthode|Token|Endpoint |Description |Champs json |
|-------|-----|--------------------|------------------------------------------|------------|
|GET | Oui |
`/blacklist`
|Récupérer toutes les ip bannies | |
|GET | Oui |
`/blacklist/{ip}`
|Vérifie si {ip} appartient à la blacklist | |
|POST | Oui |
`/blacklist`
|Ajouter une ip valide à la blacklist |
`ip`
|
|DELETE | Oui |
`/blacklist/{ip}`
|Supprime une ip valide à la blacklist | |
doc/backend/game.md
View file @
f44c7f01
# Endpoint `/game`
[
Revenir en arrière
](
../BackSummary.md
)
|Méthode|Token|Endpoint |Description |Champs json |
|-------|-----|--------------------|---------------------------------------|------------|
|GET | Oui |
`/game`
|Récupère tous les games | |
|GET | Oui |
`/game/{id}`
|Récupère la game {id} | |
|GET | Oui |
`/game/public`
|Récupérer toutes les games publiques | |
|POST | Oui |
`/game`
|Ouverture/création d'un game |
`is_private`
|
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