collections list
GET {{baseUrl}}/collections
Returns a list of Collection
objects.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
collection_type | string | If provided, will only return collections of the given type. | |
created_after | string | If provided, will only return objects created after this datetime. | |
created_before | string | If provided, will only return objects created before this datetime. | |
cursor | string | The pagination cursor value. | |
expand | string | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | |
include_deleted_data | string | Whether to include data that was marked as deleted by third party webhooks. | |
include_remote_data | string | Whether to include the original data Merge fetched from the third-party to produce these models. | |
modified_after | string | If provided, only objects synced by Merge after this date time will be returned. | |
modified_before | string | If provided, only objects synced by Merge before this date time will be returned. | |
page_size | string | Number of results to return per page. | |
parent_collection_id | string | If provided, will only return collections whose parent collection matches the given id. | |
remote_fields | string | Deprecated. Use show_enum_origins. | |
remote_id | string | The API provider's ID for the given object. | |
show_enum_origins | string | A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. Learn more |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Account-Token | string | (Required) Token identifying the end user. | |
Accept | string |
RESPONSES
status: OK
{"next":"\u003cstring\u003e","previous":"\u003cstring\u003e","results":[{"id":"\u003cuuid\u003e","remote_id":"\u003cstring\u003e","created_at":"\u003cdateTime\u003e","modified_at":"\u003cdateTime\u003e","name":"\u003cstring\u003e","description":"\u003cstring\u003e","collection_type":"PROJECT","parent_collection":"\u003cuuid\u003e","remote_was_deleted":"\u003cboolean\u003e","access_level":"PRIVATE","field_mappings":{"anim__":{},"eiusmod_95b":{}},"remote_data":[{"path":"\u003cstring\u003e","data":{"readOnly":true}},{"path":"\u003cstring\u003e","data":{"readOnly":true}}]},{"id":"\u003cuuid\u003e","remote_id":"\u003cstring\u003e","created_at":"\u003cdateTime\u003e","modified_at":"\u003cdateTime\u003e","name":"\u003cstring\u003e","description":"\u003cstring\u003e","collection_type":"PROJECT","parent_collection":"\u003cuuid\u003e","remote_was_deleted":"\u003cboolean\u003e","access_level":"PUBLIC","field_mappings":{"utcf7":{}},"remote_data":[{"path":"\u003cstring\u003e","data":{"readOnly":true}},{"path":"\u003cstring\u003e","data":{"readOnly":true}}]}]}