Optimize-The-Drive / optimize-the-drive

0 stars 0 forks source link

Create Common API Response Schema #36

Open natedunn2230 opened 9 months ago

natedunn2230 commented 9 months ago

Design TBD:

something along the lines of

{
    status: 'success|error',
    data: { .... } | null,
    message(s): ..... 
}
natedunn2230 commented 9 months ago

See: https://medium.com/@bojanmajed/standard-json-api-response-format-c6c1aabcaa6d

https://github.com/marshmallow-code/flask-smorest/issues/44

https://github.com/omniti-labs/jsend