Logo
15_Days_of_Postman_-_for_testers_IvanKo API Documentation

Get a collection's forks

GET {{baseUrl}}/collections/{{collectionId}}/forks

Gets a collection's forked collections. The response returns data for each fork, such as the fork's ID, the user who forked it, and the fork's creation date.

 

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", "createdBy": "12345678", "createdAt": "2023-11-15T08:12:27.000Z" }, { "forkName": "Test Fork", "forkId": "87654321-38j9f1ad-2ee3-7890-dv5h-7742d82e2e1f", "createdBy": "Alex Cruz", "createdAt": "2023-11-16T09:16:15.000Z" }, { "forkName": "My Fork", "forkId": "12345678-667df1ad-2gnm-7890-b678-7742d82e2e1f", "createdBy": "Taylor Lee", "createdAt": "2023-10-03T10:00:07.000Z" }, { "forkName": "Testing", "forkId": "12345678-667df1ad-2ee3-ifb0-b678-7742d82e2e1f", "createdBy": "Taylor Lee", "createdAt": "2023-12-18T00:02:25.000Z" }, { "forkName": "Example Fork", "forkId": "87654321-667df1ad-efbh-7880-b678-7742d82e2e1f", "createdBy": "Alex Cruz", "createdAt": "2023-12-29T02:28:11.000Z" } ], "meta": { "total": 10, "nextCursor": "eyJpZCI6MzMyNzksImZvcmtzQWZ0ZXIiOjIwfQ==" } }



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

ENDPOINTS