This repository has been archived by the owner on Feb 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PowerLoom-PreAlpha.postman_collection.json
152 lines (152 loc) · 5.11 KB
/
PowerLoom-PreAlpha.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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
"info": {
"_postman_id": "bd82ded8-e64d-4a8d-a6c6-990a152048bc",
"name": "PowerLoom-PreAlpha",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Create new API key",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\"hotEnabled\": true}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:9000/create",
"protocol": "http",
"host": [
"localhost"
],
"port": "9000",
"path": [
"create"
]
},
"description": "hotEnabled False causes troubles with localnet, it could not finalize the storage mining. Dafuq."
},
"response": []
},
{
"name": "Commit payload",
"request": {
"method": "POST",
"header": [
{
"key": "Auth-Token",
"value": "f4c51980-0245-49ac-a1a9-d5c0610014a8",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"payload\": \"SUVFTVSMBX00Q34O4L24Q74AC1WLQYLU016WRR3LTQPN8VAQTGEFVAADY2BZ38UFLOJH9BRBLRMETJUXMEUEOW8PPGMSSQ9OJ218U2FPN1T2V05F0W67DXH6I1YRSLVT6M41JC0W36A791ADSRWCJMDS1MM2KFM7ZZXE7SUUEAVXY0E562PNZMR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AMCIU2M4U1RXXD6AEEZGUMHC4P09Q6649P1GQ95Z7C4GUYJJOWCCHBM15II5XSBWO4CZ7H6AC3G0TOJWTVL1UVV1T99ER6WPKBIW2IW260LPY6P24C4UI3A47LVBOXRUSVAQE48IF6R9ZOCCN0QZ7LJJXHPZXZ5LP2U8ML0TEI9UQQKR2Z2SO7BJ7BCEOW5KJ64CPL9DIO41OAXNN02MU113E53BHYYS821B4ZPZUFE23HGRYWU31BBCDSHVA05OW9L3RZN4J1X1QNVP3LKPCXBZ391HI6RF4EL1OZHL9R556A28RHK8ISKOVUG6574AR2LACEHJYZ2ERZQXMCSGQIS4G0EU93ZFJT8UY6Z5X4G5552XPAB1YSLBP5XA3A20ZTJ5602P9852ZFPATA83LQTTZ3UKSUEGFPD0SDEOL6UA9IE6PM35AWXX6740TMNCTWC2HNYZMK0TIMAIIN0INMRAFVXMWENZ6JUY88FB0BFB4BJ8ITN83M8B24XYGNGS0ZTRNR6BU1UTYP6HZWAIA0YOLTH63GF7U3UZV6X6ZA58KXWTOZ7OFAWJEOTS3MVFD7435F1NA9VQB8R7XZF3S4KS1PJSZVS2QC94IF2WMKSMBUCBJR39ZHTV23H8C6FNXNLUNZVUI3U3GUKWQL9ST9M7OKC2Y4IROS0FGVCLY3VUE808TBEQZ2A2C7IFWM18RIXRBPN45LN41XD4ZF0E467JWW1F6B6XIJFVB0ZFMCEIPDXCPUHIYSSV4FICQ2\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:9000",
"protocol": "http",
"host": [
"localhost"
],
"port": "9000"
},
"description": "pass Auth-Token in headers: apiKey obtained from create"
},
"response": []
},
{
"name": "Initiate a retrieval request behind the scenes",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:9000/payload/562d1d5a-5ccd-4470-bcdd-df40452ce3c2",
"protocol": "http",
"host": [
"localhost"
],
"port": "9000",
"path": [
"payload",
"562d1d5a-5ccd-4470-bcdd-df40452ce3c2"
]
},
"description": "Pass record CID obtained from committing payload from HTTP POST on /"
},
"response": []
},
{
"name": "Get request status update",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:9000/requests/66f97e4e-23a9-46b9-95a8-fbbf21289cd3/",
"protocol": "http",
"host": [
"localhost"
],
"port": "9000",
"path": [
"requests",
"66f97e4e-23a9-46b9-95a8-fbbf21289cd3",
""
]
},
"description": "Use request ID obtained from initiating retrieval request on call to /payload"
},
"response": []
},
{
"name": "Get recordCids of all payloads. Optional retrieval mode.",
"request": {
"method": "GET",
"header": [
{
"key": "Auth-Token",
"value": "361b7bd0-a782-428c-bd24-76a8eb4309ba",
"type": "text"
},
{
"key": "",
"value": "",
"type": "text",
"disabled": true
}
],
"url": {
"raw": "http://localhost:9000/payloads?retrieval=true",
"protocol": "http",
"host": [
"localhost"
],
"port": "9000",
"path": [
"payloads"
],
"query": [
{
"key": "retrieval",
"value": "true"
}
]
},
"description": "Pass Auth-Token in header"
},
"response": []
}
],
"protocolProfileBehavior": {}
}