Skip to content

RESTful API built on Flask, using LaunchDarkly feature flags to serve rate limits.

License

Notifications You must be signed in to change notification settings

atrakh/ice-cream-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ice-cream-api

RESTful API built on Flask, using LaunchDarkly feature flags to serve rate limits.

Want to test out this API? There's a live demo available!

Try entering these commands in a terminal evironment to make an API request. Note: Replace text in capitals with desired resource/field

Get all flavors: $ curl -v http://atrakh.com/api/v1/flavors

Get a specific flavor: $ curl -v http://atrakh.com/api/v1/flavors/FLAVOR_NAME

Create a new flavor: $ curl -v -H "Content-Type: application/json" -X POST -d '{"name":FLAVOR_NAME, "stock":FLAVOR_AMOUNT}' http://atrakh.com/api/v1/flavors

Modify an existing flavor: $ curl -v -H "Content-Type: application/json" -X PUT -d '{"name":NEW_FLAVOR_NAME, "stock":NEW_FLAVOR_AMOUNT}' http://atrakh.com/api/v1/flavors/FLAVOR_NAME

Delete a flavor: $ curl -v -X DELETE http://atrakh.com/api/v1/flavors/FLAVOR_NAME

About

RESTful API built on Flask, using LaunchDarkly feature flags to serve rate limits.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published