Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SAÉ_REST_API
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
antoine gaienier
SAÉ_REST_API
Commits
c4e6c958
Commit
c4e6c958
authored
1 year ago
by
antoine gaienier
Browse files
Options
Downloads
Patches
Plain Diff
correction doc
parent
162c0979
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+12
-1
12 additions, 1 deletion
README.md
with
12 additions
and
1 deletion
README.md
+
12
−
1
View file @
c4e6c958
# SAÉ S4.A02. : Web Backend
[TOC]
### Objectif:
Savoir réaliser et mettre en place une architecture REST.
...
...
@@ -97,6 +100,7 @@ Status | Description
------------ | -------------
201 CREATED | La requête s'est effectuée correctement
409 CONFLICT | L'ingrédient existe déjà
500 INTERNAL SERVER ERROR | Erreur interne
### DELETE /ingredients/{id}
...
...
@@ -157,6 +161,7 @@ Status | Description
------------ | -------------
200 OK | La requête s'est effectuée correctement
404 NOT FOUND |L'ingrédient n'existe pas
500 INTERNAL SERVER ERROR | Erreur interne
## API Pizzas
...
...
@@ -272,6 +277,7 @@ Status | Description
------------ | -------------
201 CREATED | La requête s'est effectuée correctement
409 CONFLICT | La pizza existe déjà
500 INTERNAL SERVER ERROR | Erreur interne
### DELETE /pizzas/{nom}
...
...
@@ -322,6 +328,7 @@ Status | Description
------------ | -------------
200 OK | La requête s'est effectuée correctement
404 NOT FOUND | La pizza n'existe pas
500 INTERNAL SERVER ERROR | Erreur interne
### PATCH /pizzas/{nom}
...
...
@@ -332,7 +339,7 @@ Body:
{
"prixbase"
:
15
}
```
qui modifie le prix de la pizza correspondant au nom passé en paramètre et renvoie la pizza modifiée et renvoie la pizza modifiée
```
json
...
...
@@ -397,6 +404,7 @@ Status | Description
------------ | -------------
200 OK | La requête s'est effectuée correctement
404 NOT FOUND | La pizza n'existe pas
500 INTERNAL SERVER ERROR | Erreur interne
## API Commandes
...
...
@@ -562,6 +570,7 @@ Status | Description
------------ | -------------
201 CREATED | La requête s'est effectuée correctement
409 CONFLICT | La commande existe déjà
500 INTERNAL SERVER ERROR | Erreur interne
### DELETE /commandes/{id}
...
...
@@ -651,6 +660,7 @@ Status | Description
------------ | -------------
200 OK | La requête s'est effectuée correctement
404 NOT FOUND | La commande n'existe pas
500 INTERNAL SERVER ERROR | Erreur interne
### PATCH /commandes/{id}
...
...
@@ -701,6 +711,7 @@ Status | Description
------------ | -------------
200 OK | La requête s'est effectuée correctement
404 NOT FOUND | La commande n'existe pas
500 INTERNAL SERVER ERROR | Erreur interne
## Restrictions d'accès
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment