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
f1ae2050
Commit
f1ae2050
authored
Dec 04, 2020
by
Zohten
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated doc
parent
f44c7f01
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
2 deletions
+16
-2
BackSummary.md
doc/BackSummary.md
+2
-0
login.md
doc/backend/login.md
+5
-1
user.md
doc/backend/user.md
+9
-1
No files found.
doc/BackSummary.md
View file @
f1ae2050
...
...
@@ -4,6 +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.
Le root endpoint est
`http://localhost/index.php`
|Endpoint principal |Description |
|-------------------------------------|------------------------------|
|
[
`/login`
](
backend/login.md
)
|Concerne l'authentification |
...
...
doc/backend/login.md
View file @
f1ae2050
# Endpoint `/login`
[
Revenir en arrière
](
../BackSummary.md
)
|Méthode|Token|Endpoint |Description |Champs json |
|-------|-----|--------------------|------------------------------------------|-------------|
|POST | Non |
`/login`
|Récupérer un token si succès de connection|
`login`
,
`pwd`
|
doc/backend/user.md
View file @
f1ae2050
# Endpoint `/user`
[
Revenir en arrière
](
../BackSummary.md
)
|Méthode|Token|Endpoint |Description |Champs json|
|-------|-----|--------------------|---------------------------------------|-----------|
|GET | Oui |
`/user`
|Récupérer tous les users | |
|GET | Oui |
`/user/{id}`
|Récupérer le user {id} | |
|PUT | Oui |
`/user/{id}`
|Modifie le user {id} |
`id`
,
`email`
|
|POST | Non |
`/user`
|Ouverture/création d'un round |
`login`
,
`pwd`
,
`avatar`
,
`lastname`
,
`firstname`
,
`mail`
|
|DELETE | Oui |
`/user/{id}`
|Suppression du user {id} | |
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