- a REST API to create, manage, and share color palettes.
- API Users will be able to:
- Browse public color palettes without login
-
Features
[1]
Create color palettes
[2]
publish them to the public or make them private
[3]
Save other’s palettes to favorite
-
A Palette consists of
[1]
1 to 2 dominant color(s)
[2]
2 to 4 accent colors(s)
[3]
A name
[4]
private or public state<br>
- change to codesign directory
pip install -r requirement.txt
python setup.py
python app.py
Each response will be returned with one of the following HTTP status codes:
200
OK
The request was successful400
Bad Request
There was a problem with the request (security, malformed, data validation, etc.)401
Unauthorized
The supplied API credentials are invalid403
Forbidden
The credentials provided do not have permission to access the requested resource404
Not found
An attempt was made to access a resource that does not exist in the API405
Method not allowed
The resource being accessed doesn't support the method specified (GET, POST, etc.).500
Server Error
An error on the server occurred
{
"admin": "1234",
"user1": "1234",
"user2": "1234",
}