-
Notifications
You must be signed in to change notification settings - Fork 0
/
dog-api.postman_collection.json
128 lines (128 loc) · 2.29 KB
/
dog-api.postman_collection.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"info": {
"_postman_id": "4e1bb3dd-3d4b-4dad-b874-d275a6afcfc5",
"name": "Dog API",
"description": "A collection for the Dog API, providing access to dog breeds and images.",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "25650151"
},
"item": [
{
"name": "List all breeds",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/breeds/list/all",
"host": [
"{{base_url}}"
],
"path": [
"breeds",
"list",
"all"
]
},
"description": "Retrieves a list of all dog breeds available in the database."
},
"response": []
},
{
"name": "List images of a breed",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/breed/{{breed}}/images",
"host": [
"{{base_url}}"
],
"path": [
"breed",
"{{breed}}",
"images"
]
},
"description": "Retrieves a list of image URLs for a specific breed."
},
"response": []
},
{
"name": "List sub-breeds",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/breed/{{breed}}/list",
"host": [
"{{base_url}}"
],
"path": [
"breed",
"{{breed}}",
"list"
]
},
"description": "Retrieves a list of all sub-breeds for a specific breed."
},
"response": []
},
{
"name": "List images of a sub-breed",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/breed/{{breed}}/{{subbreed}}/images",
"host": [
"{{base_url}}"
],
"path": [
"breed",
"{{breed}}",
"{{subbreed}}",
"images"
]
},
"description": "Retrieves a list of image URLs for a specific sub-breed."
},
"response": []
}
],
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
],
"variable": [
{
"key": "base_url",
"value": "https://dog.ceo/api"
},
{
"key": "breed",
"value": "hound",
"type": "string"
},
{
"key": "subbreed",
"value": "afghan",
"type": "string"
}
]
}