Collection

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

RESPONSES

status: OK

{"collection":{"info":{"_postman_id":"6066090a-f078-4906-bb92-8c7628a37818","name":"Visualize variables in a collection","description":"## Visualize variables in a collection using the Postman API","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","updatedAt":"2023-03-07T12:45:36.000Z"},"item":[{"name":"Collection","id":"030115ce-34c4-42a3-be6b-a93ae3526a57","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":[{"key":"key","value":"X-Api-Key","type":"string"},{"key":"value","value":"{{apiKey}}","type":"string"}]},"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/collections/{{collectionId}}","host":["{{baseUrl}}"],"path":["collections","{{collectionId}}"]}},"response":[]},{"name":"Test request with different variable type","id":"3583d0c1-df84-42d9-baa3-4bf1961e513c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"https://postman-echo.com/get?name=ricky","protocol":"https","host":["postman-echo","com"],"path":["get"],"query":[{"key":"name","value":"ricky"}]}},"response":[]}],"event":[{"listen":"prerequest","script":{"id":"4bad672c-15e7-4594-a64d-2c1ea0b00385","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a4473507-c85a-4fa0-a5fa-8a3b1166d6a1","type":"text/javascript","exec":[""]}}],"variable":[{"id":"113df046-29c0-4997-8395-4bf049512f96","key":"baseUrl","value":"https://api.getpostman.com","type":"string"},{"id":"a7c0819e-efcf-40e5-bc31-1dbb47c3851d","key":"collectionId","value":"20781379-6066090a-f078-4906-bb92-8c7628a37818","type":"string"},{"id":"a7c1d2ce-dd69-4fd4-898b-7aa063509244","key":"apiKey","value":"\u003cyour-api-key\u003e","type":"string"}]}}