List collections

GET {{baseUrl}}/{{version}}/collections?start_date=2022-01-01&end_date=2022-06-10&team_id=100&name=Collection name&sort_name=&sorting=asc&limit=20

This endpoint enable you to get the list of collection.

Request Params

KeyDatatypeRequiredDescription
start_datestringrequired
end_datestring
team_idnumbernullable
namestringnullable

The name of the tag | | sort_name | null | | nullable | string | in: tag_name, , | | sorting | string | | nullable | string | in: desc, asc | default: desc | | limit | number | | nullable | integer | min: 1 | max: 100 | default: desc |

HEADERS

KeyDatatypeRequiredDescription
AuthorizationstringA valid JWT token

RESPONSES

status: OK

{"error":false,"code":200,"message":"Collections results.","response":{"current_page":1,"data":[],"first_page_url":"http://localhost:8000/v1/collections?page=1","from":null,"last_page":1,"last_page_url":"http://localhost:8000/v1/collections?page=1","links":[{"url":null,"label":"pagination.previous","active":false},{"url":"http://localhost:8000/v1/collections?page=1","label":"1","active":true},{"url":null,"label":"pagination.next","active":false}],"next_page_url":null,"path":"http://localhost:8000/v1/collections","per_page":"20","prev_page_url":null,"to":null,"total":0}}