ASI/binobjects
GET ^top
List binary objects posted by currently logged in user. By default entries are ordered descending by 'updated_at'.
Parameters
- sort_order
Changes the sort order of entries. Allowed values are 'ascending' and 'descending'.
- page
Pagination page.
- per_page
Pagination per page.
Returns
- 200 - Returns binary objects posted by logged in user in json's entry -field.
POST ^top
Creates a binary object. All parameters are optional. Current user is set to binary object owner. Binary objects can be created using a regular POST or a multipart/form-data upload. In the second case the orig_name and content_type may be supplied by the client, but you can override these by specifying them explicitly.
Parameters
- binobject
- orig_name
The original filename (if any) of the binary object.
- name
Name of the binary object. If this is not specified and a orig_name if available, name will defaul to orig_name.
- data
Binary object data payload.
- content_type
Binary object's content type.
Returns
- 200 - Returns binary object metadata in json's 'entry' field.