List

Example

The example below retrieves a list of collections.

curl -X GET \
  v1/data/list \
  -H 'Authorization: Basic <Your Base64 Encoded Token>'

Success Response

The response will contain an array of collections with the number of uploads and the size in bytes.

{
    "status": "success",
    "data": {
        "collections": [
            {
                "name": "Collection 1",
                "uploads": 2,
                "size": 40834
            },
            {
                "name": "Collection 2",
                "uploads": 1,
                "size": 579816
            },
            ...etc
        ]
    },
    "hash": "32fe2ebfbcb4b4a6abdcac945ec1dbae",
    "response_time": 0.11788105964660645
}

Last updated