Skip to content

Foacs/foacs-website-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Foacs website backend

Backend for Foacs website.

ForTheBadge ForTheBadge

# Error codes

1XXX - Common codes

Codes between 1 000 and 1 999 are common to any endpoints

10XX - User request

Codes between 1 000 and 1 099 are related to user request

code meaning
1001 Unknown ID
1002 Wrong body
1003 Invalid page argument (negative)
1004 Invalid limit argument (negative)

11XX - DB issues

Codes between 1 100 and 1 199 are related to issue while executing DB operation

code meaning
1101 Issue while retrieving document
1102 Issue while creating document
1103 Issue while updating document
1104 Issue while deleting document
1105 Non unique result while once is expected

12XX - Authentication issue

Codes between 1 200 and 1 299 are related to issue with authentication

code meaning
1201 No authentication provided
1202 Access not autorized

License

This project is licensed under the terms of the CeCILL license.

You can check out the full license here.

About

Backend pour le site web de Foacs

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published