Retrieve Sorted Bitlinks for Group
GET {{baseUrl}}/groups/:group_guid/bitlinks/:sort?unit=day&units=5&unit_reference=2006-01-02T15:04:05-0700&size=10
Returns a list of Bitlinks sorted by group.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
unit | string | A unit of time | |
units | number | An integer representing the time units to query data for. pass -1 to return all units of time. | |
unit_reference | string | An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) | |
size | number | The quantity of items to be be returned |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"sorted_links":[{"clicks":-72831963,"id":"aute ex"},{"clicks":56827849,"id":"velit eiusmod ex ull"}],"links":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}