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

api docs #486

Open
atherdon opened this issue May 2, 2018 · 0 comments
Open

api docs #486

atherdon opened this issue May 2, 2018 · 0 comments

Comments

@atherdon
Copy link
Member

atherdon commented May 2, 2018

Description/Steps to reproduce

stolen

// POST [/grocerylist/department] Departmentalize a list of strings -- used for ad-hoc grocery list item addition
// DELETE [/grocerylist] Delete all the items on a grocery list; faster operation than a sync with deleted items.
// GET [/grocerylist] Get the user's grocery list. User is determined by Basic Authentication.
// POST [/grocerylist/recipe] Add a Recipe to the grocery list. In the request data, pass in recipeId, scale (scale=1.0 says to keep the recipe the same size as originally posted), markAsPending (true/false) to indicate that the lines in the recipe should be marked in a "pending" (unconfirmed by user) state.
// POST [/grocerylist/sync] Synchronize the grocery list. Call this with a POST to /grocerylist/sync
// POST [/grocerylist/item] Add a single line item to the grocery list
// DELETE [/grocerylist/item/{guid}] [/grocerylist/item/{guid}] DELETE will delete this item assuming you own it.
// PUT [/grocerylist/item/{guid}] Update a grocery item by GUID

Expected result

Additional information

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

No branches or pull requests

1 participant