Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Projet_idaw
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
Liang Wu
Projet_idaw
Commits
cb2e8352
Commit
cb2e8352
authored
Apr 05, 2020
by
Raulin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc
parent
1d54b83a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
98 additions
and
0 deletions
+98
-0
MLD.png
doc/MLD.png
+0
-0
RESTAPI.html
doc/RESTAPI.html
+98
-0
No files found.
doc/MLD.png
0 → 100644
View file @
cb2e8352
65.3 KB
RESTAPI.html
→
doc/
RESTAPI.html
View file @
cb2e8352
<!doctype html>
<html>
<!doctype html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title
id=
"hearts"
>
Site web
</title>
<link
rel=
"stylesheet"
href=
"bootstrap/css/freelancer.css"
type=
"text/css"
media=
"screen"
title=
"default"
charset=
"utf-8"
/>
</head>
<header>
Documentation API (Charlotte Raulin et Liang WU)
<h1>
Documentation API (Charlotte Raulin et Liang WU)
</h1>
</header>
<body>
<p>
Le REST endpoint est https://eden.imt-lille-douai.fr/~
prenom.nom/projet_idaw
</p>
<p>
Le REST endpoint est https://eden.imt-lille-douai.fr/~
charlotte.raulin/Projet/api
</p>
<p></p>
<br>
<h2>
CRUD ALIMENTS
</h2><br>
<table>
<thead>
<tr>
...
...
@@ -25,33 +29,69 @@ media="screen" title="default" charset="utf-8" /> </head>
<td>
Afficher
</td>
<td>
GET
</td>
<td></td>
<td>
/aliments
</td>
<td>
/
read_
aliments
</td>
<td>
Permet d'afficher la liste des aliments
</td>
</tr>
<tr>
<td>
Ajouter
</td>
<td>
POST
</td>
<td>
json
</td>
<td>
/
aliments
</td>
<td>
/
create_aliment.php
</td>
<td>
Permet d'ajouter un aliment
</td>
</tr>
<tr>
<td>
Supprimer
</td>
<td>
DELETE
</td>
<td></td>
<td>
/
aliments/id
</td>
<td>
/
delete_aliment.php
</td>
<td>
Permet de supprimer un aliment de la liste des aliments
</td>
</tr>
<tr>
<td>
Modifier
</td>
<td>
PUT
</td>
<td>
UPDATE
</td>
<td>
json
</td>
<td>
/
aliments/id
</td>
<td>
/
create_aliment.php
</td>
<td>
Permet de modifier un aliment
</td>
</tr>
</tbody>
</table>
</table><br><br>
<h2>
CRUD JOURNAL
</h2><br>
<table>
<thead>
<tr>
<th>
Action
</th>
<th>
HTTP
</th>
<th>
Payload
</th>
<th>
URL
</th>
<th>
Description
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
Afficher
</td>
<td>
GET
</td>
<td></td>
<td>
/read_journal
</td>
<td>
Permet d'afficher les éléments du journal
</td>
</tr>
<tr>
<td>
Ajouter
</td>
<td>
POST
</td>
<td>
json
</td>
<td>
/create_journal.php
</td>
<td>
Permet d'ajouter un élément au journal
</td>
</tr>
<tr>
<td>
Supprimer
</td>
<td>
DELETE
</td>
<td></td>
<td>
/delete_journal.php
</td>
<td>
Permet de supprimer un élément du journal
</td>
</tr>
</tbody>
</table>
</body>
...
...
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