Logo
15_Days_of_Postman_-_for_testers_IvanKo API Documentation

Get a folder

GET {{baseUrl}}/collections/{{collectionId}}/folders/{{folderId}}

Gets information about a folder in a collection.

 

Body PARAM

Key Datatype Required Description 
ids
string If true, returns only the folder properties that contain ID values.
uid
string If true, returns all IDs in UID format (`userId`-`id`).
populate
string If true, returns all of a folder's contents.



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "model_id": "65a99e60-8e0a-4b6e-b79c-7d8264cc5caa", "meta": { "model": "folder", "populate": false, "changeset": false, "action": "find" }, "data": { "owner": "12345678", "lastUpdatedBy": "12345678", "lastRevision": 24994132707, "collection": "12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2", "folder": null, "id": "12345678-65a99e60-8e0a-4b6e-b79c-7d8264cc5caa", "name": "Test Folder", "description": "This is a test collection folder.", "variables": null, "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "XXX" }, { "key": "key", "value": "x-api-key" } ] }, "events": null, "order": [ "12345678-81b49e05-0b87-4ca4-ac8c-091aaedafea3", "12345678-929acf24-4234-45e1-59cf-dc2b27ea7603", "12345678-3cfc2ac8-00a9-47d2-415d-049773f23268" ], "folders_order": [ "12345678-65a99e60-8e0a-4b6e-b79c-7d8264cc5caa", "12345678-5c341de9-5751-461f-b7bd-af86bbae740c" ], "createdAt": "2022-08-29T16:49:19.964Z", "updatedAt": "2022-08-29T16:49:19.964Z" } }



Curl
curl -X GET 'https://api.getpostman.com/collections/collectionId/folders/folderId?ids=<boolean>&uid=<boolean>&populate=<boolean>'

ENDPOINTS