Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchronisation le code du PATCH Dataset avec le PATCH Distribution #600

Closed
EmmanuelDemey opened this issue Apr 19, 2024 · 1 comment · Fixed by #612
Closed

Synchronisation le code du PATCH Dataset avec le PATCH Distribution #600

EmmanuelDemey opened this issue Apr 19, 2024 · 1 comment · Fixed by #612
Assignees

Comments

@EmmanuelDemey
Copy link
Collaborator

No description provided.

@EmmanuelDemey
Copy link
Collaborator Author

EmmanuelDemey commented Apr 26, 2024

Pour recetter @flo7894 et @Emilia-Vittek

Il faut s'assurer qu'un code 400 soit retournée quand il n'y a aucune des propriétés modifiables (il faut au moins une propriété)(un JSON vide par exemple) et dans le cas nous définissons une propriété qui n'est pas supportée.

{} => 400
{ "title": "test" } => 400
{ observationNumber: 5, title: "test"} => 200 (mais le title n'est pas modifié) 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants