generated from nyu-devops/project-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
thunder-collection_REST API calls to work with promotions_postman.json
107 lines (107 loc) · 3.63 KB
/
thunder-collection_REST API calls to work with promotions_postman.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
{
"client": "Thunder Client",
"collectionName": "REST API calls to work with promotions",
"dateExported": "2023-03-21T19:59:04.525Z",
"version": "1.1",
"folders": [],
"requests": [
{
"_id": "4d2d8fd9-760d-43fc-b733-dcff5098b355",
"colId": "1e7f1893-cf50-46dd-ad5f-2c121a45c294",
"containerId": "",
"name": "update promotion",
"url": "http://127.0.0.1:8000/promotions/{id}",
"method": "PUT",
"sortNum": 10000,
"created": "2023-03-21T01:48:56.620Z",
"modified": "2023-03-21T19:22:04.182Z",
"headers": [],
"params": [
{
"name": "id",
"value": "1862",
"isPath": true
}
],
"body": {
"type": "json",
"raw": "{\n \"available\": true,\n \"category\": \"a\",\n \"id\": 1862,\n \"name\": \"Bob\",\n \"promotype\": \"BUYONEGETONEFREE\"\n}",
"form": []
},
"tests": []
},
{
"_id": "65158e21-b7de-48f4-b36f-bdb4a4baa29a",
"colId": "1e7f1893-cf50-46dd-ad5f-2c121a45c294",
"containerId": "",
"name": "get promotion(by id)",
"url": "http://127.0.0.1:8000/promotions/{id}",
"method": "GET",
"sortNum": 20000,
"created": "2023-03-21T01:49:07.523Z",
"modified": "2023-03-21T01:50:42.824Z",
"headers": [],
"params": [
{
"name": "id",
"value": "1860",
"isPath": true
}
],
"tests": []
},
{
"_id": "850e5363-d707-4776-ba63-beeb77cbf8e8",
"colId": "1e7f1893-cf50-46dd-ad5f-2c121a45c294",
"containerId": "",
"name": "delete promotion",
"url": "http://127.0.0.1:8000/promotions/{id}",
"method": "DELETE",
"sortNum": 30000,
"created": "2023-03-21T01:49:13.764Z",
"modified": "2023-03-21T19:35:26.586Z",
"headers": [],
"params": [
{
"name": "id",
"value": "1933",
"isPath": true
}
],
"tests": []
},
{
"_id": "80020723-5320-45af-b6c0-9a9bc74fbd22",
"colId": "1e7f1893-cf50-46dd-ad5f-2c121a45c294",
"containerId": "",
"name": "create promotion",
"url": "http://127.0.0.1:8000/promotions",
"method": "POST",
"sortNum": 40000,
"created": "2023-03-21T01:49:18.245Z",
"modified": "2023-03-21T19:50:30.338Z",
"headers": [],
"params": [],
"body": {
"type": "json",
"raw": "{\n \"available\": true,\n \"category\": \"a\",\n \"name\": \"Alice\",\n \"promotype\": \"BUYONEGETONEFREE\"\n}",
"form": []
},
"tests": []
},
{
"_id": "4f53f5b5-daf6-42da-a855-f72cbea2c56a",
"colId": "1e7f1893-cf50-46dd-ad5f-2c121a45c294",
"containerId": "",
"name": "list promotions",
"url": "http://127.0.0.1:8000/promotions/",
"method": "GET",
"sortNum": 50000,
"created": "2023-03-21T01:49:22.535Z",
"modified": "2023-03-21T01:49:22.535Z",
"headers": [],
"params": [],
"tests": []
}
]
}