-
Notifications
You must be signed in to change notification settings - Fork 6
Container Resource
cjsaylor edited this page Apr 12, 2012
·
4 revisions
Controls all actions concerning containers. To control the contents of those containers, see Container Item Resource.
Shows a list of all containers (with their information) associated with account.
/api/containers
- Method: GET
- Source: Containers.index
- Optional parameters:
- slug - Slug of a container. Providing this will limit the results to a single container.
Adds a new container.
/api/containers/add
- Method: POST
- Source: Containers.add
- Required Parameters:
- name - Name of the container. The slug of the container is generated by the system.
Edits an existing container by SLUG.
/api/containers/edit/<SLUG>
- Method: POST
- Source: Containers.edit
- Optional Parameters:
- name - Name o fthe container.
Deletes a container by SLUG.
/api/containers/delete/<SLUG>
- Method: DELETE
- Source: Containers.delete
Searches all containers for items with body of provided search query.
/api/containers/search
- Method: GET
- Source: Containers.search
- Required Parameters
- query - The search term
- Optional Parameters
- page - If there is a large number of results, use this parameter to page through the results. Note: There is a
page
key returned with the results.
- page - If there is a large number of results, use this parameter to page through the results. Note: There is a