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
b7dc8b6e
Commit
b7dc8b6e
authored
Dec 04, 2020
by
Zohten
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more doc
parent
3a8a0db2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
blacklist.md
doc/backend/blacklist.md
+10
-1
game.md
doc/backend/game.md
+1
-1
No files found.
doc/backend/blacklist.md
View file @
b7dc8b6e
# Endpoint `/blacklist`
[
Revenir en arrière
](
../BackSummary.md
)
\ No newline at end of file
[
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 @
b7dc8b6e
...
...
@@ -7,4 +7,4 @@
|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 |
`/
round`
|Ouverture/création d'un game |
`is_private`
|
|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