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
738cc65d
Commit
738cc65d
authored
Dec 04, 2020
by
Zohten
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more doc
parent
d7f7190f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
BackSummary.md
doc/BackSummary.md
+2
-2
round.md
doc/backend/round.md
+7
-6
No files found.
doc/BackSummary.md
View file @
738cc65d
...
...
@@ -4,8 +4,8 @@
Pour tester les différents endpoint, nous avons centralisé les requêtes dans des fichiers
`.http`
dans
`BackEnd/src/testRequests`
. Nous vous invitons à y jeter un coup d'oeil. On utilisait l'extension REST IO de VSCode avec ces fichiers.
|Endpoint principal |Description |
|------------------------------|------------------------------|
|Endpoint principal
|Description |
|------------------------------
-------
|------------------------------|
|
[
`/login`
](
backend/login.md
)
|Concerne l'authentification |
|
[
`/user`
](
backend/user.md
)
|Concerne l'utilisateur |
|
[
`/blacklist`
](
backend/blacklist.md
)
|Concerne la blacklist |
...
...
doc/backend/round.md
View file @
738cc65d
...
...
@@ -2,9 +2,10 @@
[
Revenir en arrière
](
../BackSummary.md
)
|Méthode |Endpoint |Description |
|--------|-------------------|---------------------------------------|
|GET |
`/round`
|Récupère tous les rounds |
|GET |
`/round/{id}`
|Récupère le round {id} |
|GET |
`/round/{id}/user`
|Récupère les utilisateurs du round {id}|
|POST |
`/round/{id}/user`
|Récupère les utilisateurs du round {id}|
|Méthode|Token|Endpoint |Description |Champs json|
|-------|-----|--------------------|---------------------------------------|-----------|
|GET | Non |
`/round`
|Récupère tous les rounds | |
|GET | Non |
`/round/{id}`
|Récupère le round {id} | |
|GET | Non |
`/round/{id}/user`
|Récupère les utilisateurs du round {id}| |
|POST | Non |
`/round`
|Ouverture/création d'un round |
`id_game`
,
`prevailing_wind`
,
`seed`
|
|PUT | Non |
`/round/{id}/action`
|Add an action to the round |
`actions`
|
\ 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