Logo
15_Days_of_Postman_-_for_testers_IvanKo API Documentation

Get all forked collections

GET {{baseUrl}}/collections/collection-forks

Gets a list of all the authenticated user's forked collections.

 

Body PARAM

Key Datatype Required Description 
cursor
string The pointer to the first record of the set of paginated results.
direction
string Sort the results by creation date in ascending (`asc`) or descending (`desc`) order.
limit
string The maximum number of rows to return in the response. Thsi value defaults to `10`.



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "data": [ { "forkName": "Collection Fork", "forkId": "12345678-667df1ad-2ee3-7890-b678-7742d82e2e1f", "sourceId": "87654321-bd46b634-b347-44d4-aa23-8c71ff4ecc4d", "createdAt": "2023-11-15T08:12:27.000Z" }, { "forkName": "Test Fork", "forkId": "12345678-38j9f1ad-2ee3-7890-dv5h-7742d82e2e1f", "sourceId": "87654321-bd46b634-b347-44d4-aa23-8c71ff4ecc4d", "createdAt": "2023-11-16T09:16:15.000Z" }, { "forkName": "My Fork", "forkId": "12345678-667df1ad-2gnm-7890-b678-7742d82e2e1f", "sourceId": "87654321-8c082f7b-6c1d-4110-9c44-ebe3353ba4e9", "createdAt": "2023-10-03T10:00:07.000Z" }, { "forkName": "Testing", "forkId": "12345678-667df1ad-2ee3-ifb0-b678-7742d82e2e1f", "sourceId": "87654321-5995bdd5-3935-4789-955f-1d5507d602ab", "createdAt": "2023-12-18T00:02:25.000Z" }, { "forkName": "Example Fork", "forkId": "12345678-9af28c4f-2974-40c7-a834-e1a2a18cba8f", "sourceId": "87654321-5995bdd5-3935-4789-955f-1d5507d602ab", "createdAt": "2023-12-29T02:28:11.000Z" } ], "meta": { "total": 10, "nextCursor": "eyJpZCI6MzMyNzksImZvcmtzQWZ0ZXIiOjIwfQ==", "inaccessibleFork": 0 } }



Curl
curl -X GET 'https://api.getpostman.com/collections/collection-forks?cursor=<string>&direction=<string>&limit=<integer>'

ENDPOINTS