-
Notifications
You must be signed in to change notification settings - Fork 6
Container Item Resource
cjsaylor edited this page Apr 12, 2012
·
6 revisions
Controls contents of containers.
Lists all items of an account, or by container. Note: a limit of 150 results is in place for the time being. Pagination is in the works to retrieve more data.
/api/container_items
- Method: GET
- Source: ContainerItems.index
- Optional Parameters:
- slug - Container slug to list items.
Adds a new container item to a container by SLUG.
/api/container_items/add/<SLUG>
- Method: POST
- Source: ContainerItems.add
- Required Parameters:
- body - Description or name of the item.
- quantity - Amount of item being added.
Edits a container item by UUID
/api/container_items/edit/<UUID>
- Method: POST
- Source: ContainerItems.edit
- Optional Parameters:
- body - Description or name of the item.
- quantity - Amount of item being edited.
Deletes a container item by UUID
/api/container_items/delete/<UUID>
- Method: DELETE
- Source: ContainerItems.delete