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
0
Issues
0
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
Thibaut Felten
projet-cdaw
Commits
43b01cd4
Commit
43b01cd4
authored
Dec 04, 2020
by
thibaut-felten
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc
parent
c49f944f
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
19 additions
and
0 deletions
+19
-0
.gitkeep
doc/.gitkeep
+0
-0
README.md
doc/README.md
+19
-0
delete_user.md
doc/delete_user.md
+0
-0
get_user.md
doc/get_user.md
+0
-0
get_users.md
doc/get_users.md
+0
-0
login.md
doc/login.md
+0
-0
post_user.md
doc/post_user.md
+0
-0
put_user.md
doc/put_user.md
+0
-0
No files found.
doc/.gitkeep
deleted
100644 → 0
View file @
c49f944f
backend/MVC
/README.md
→
doc
/README.md
View file @
43b01cd4
...
...
@@ -4,16 +4,16 @@
Open endpoints require no Authentication.
*
[
Login
](
doc/
login.md
)
:
`POST /api/login/`
*
[
Get all users data
](
doc/
get_users.md
)
:
`GET /api.php/users/`
*
[
Show data of a user
](
doc/
get_user.md
)
:
`GET /api.php/user/{id}`
*
[
Create a new user
](
doc/
post_user.md
)
:
`POST /api.php/user/`
*
[
Delete a user
](
d
oc/d
elete_user.md
)
:
`DELETE /api.php/user/{id}`
Should be a closed endpoint.
*
[
Login
](
login.md
)
:
`POST /api/login/`
*
[
Get all users data
](
get_users.md
)
:
`GET /api.php/users/`
*
[
Show data of a user
](
get_user.md
)
:
`GET /api.php/user/{id}`
*
[
Create a new user
](
post_user.md
)
:
`POST /api.php/user/`
*
[
Delete a user
](
delete_user.md
)
:
`DELETE /api.php/user/{id}`
Should be a closed endpoint.
## Endpoints that require Authentication
Closed endpoints require a valid Token to be included in the header of the
request.
*
[
Update user informations
](
doc/
put_user.md
)
:
`PUT /api.php/user/{id}`
*
[
Update user informations
](
put_user.md
)
:
`PUT /api.php/user/{id}`
backend/MVC/
doc/delete_user.md
→
doc/delete_user.md
View file @
43b01cd4
File moved
backend/MVC/
doc/get_user.md
→
doc/get_user.md
View file @
43b01cd4
File moved
backend/MVC/
doc/get_users.md
→
doc/get_users.md
View file @
43b01cd4
File moved
backend/MVC/
doc/login.md
→
doc/login.md
View file @
43b01cd4
File moved
backend/MVC/
doc/post_user.md
→
doc/post_user.md
View file @
43b01cd4
File moved
backend/MVC/
doc/put_user.md
→
doc/put_user.md
View file @
43b01cd4
File moved
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