-
Notifications
You must be signed in to change notification settings - Fork 11
/
postman_collection.json
193 lines (193 loc) · 5.18 KB
/
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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
{
"info": {
"_postman_id": "a827fe7c-fad6-4e21-8d18-06b3f6d22d54",
"name": "Issuer_agent",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "30729753",
"_collection_link": "https://martian-comet-644842.postman.co/workspace/dhiway~0c0084e6-99d5-4fca-aa61-441132a5c4ac/collection/30729753-a827fe7c-fad6-4e21-8d18-06b3f6d22d54?action=share&source=collection_link&creator=30729753"
},
"item": [
{
"name": "schema",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"schema\": {\n \"title\": \"Test_224\",\n \"description\": \"Test_22\",\n \"properties\": {\n \"name\": { \"type\": \"string\"},\n \"email\": { \"type\": \"string\"}\n }\n }\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "localhost:5106/api/v1/schema",
"host": [
"localhost"
],
"port": "5106",
"path": [
"api",
"v1",
"schema"
]
}
},
"response": []
},
{
"name": "getSchema",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "localhost:5106/api/v1/schema/schema:cord:s35s4XMhariXiEDwxJ8GiPqLEhkfchkBkgChchhLY8P2jPimb",
"host": [
"localhost"
],
"port": "5106",
"path": [
"api",
"v1",
"schema",
"schema:cord:s35s4XMhariXiEDwxJ8GiPqLEhkfchkBkgChchhLY8P2jPimb"
]
}
},
"response": []
},
{
"name": "cred",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"schemaId\": \"schema:cord:s33ddYcZqR6nSw5smrk84Sj2vtrzmoqXp1C2XxLUs8wg25D2A\",\n \"properties\": {\n \"name\": \"demo22\",\n \"email\": \"demo22@gmail.com\"\n }\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "localhost:5106/api/v1/cred",
"host": [
"localhost"
],
"port": "5106",
"path": [
"api",
"v1",
"cred"
]
}
},
"response": []
},
{
"name": "getCred",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "localhost:5106/api/v1/cred/stmt:cord:s3bkEJchkHh4x4sbS9L1KYvSxwSuNSWTNcv9yybSDs6S6pNjx",
"host": [
"localhost"
],
"port": "5106",
"path": [
"api",
"v1",
"cred",
"stmt:cord:s3bkEJchkHh4x4sbS9L1KYvSxwSuNSWTNcv9yybSDs6S6pNjx"
]
}
},
"response": []
},
{
"name": "updateCred",
"request": {
"method": "PUT",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"properties\": {\n \"name\": \"test20\",\n \"email\": \"test20@dhiway.com\"\n }\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "localhost:5106/api/v1/cred/update/stmt:cord:s3dZ7iFCeE2CwXQxQTqi41mg5AQjY49SKuqkHZ42gaLJC8rqm",
"host": [
"localhost"
],
"port": "5106",
"path": [
"api",
"v1",
"cred",
"update",
"stmt:cord:s3dZ7iFCeE2CwXQxQTqi41mg5AQjY49SKuqkHZ42gaLJC8rqm"
]
}
},
"response": []
},
{
"name": "revokeCred",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "localhost:5106/api/v1/cred/revoke/stmt:cord:s3bkEJchkHh4x4sbS9L1KYvSxwSuNSWTNcv9yybSDs6S6pNjx",
"host": [
"localhost"
],
"port": "5106",
"path": [
"api",
"v1",
"cred",
"revoke",
"stmt:cord:s3bkEJchkHh4x4sbS9L1KYvSxwSuNSWTNcv9yybSDs6S6pNjx"
]
}
},
"response": []
},
{
"name": "docHash",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"issuer-cord\",\n \"version\": \"1.0.0\",\n \"description\": \"\",\n \"scripts\": {\n \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",\n \"start\": \"nodemon src/index.ts\",\n \"dev\": \"tsc-watch --skipLibCheck --onSuccess \\\"node ./dist/index.js\\\"\",\n \"prod\": \"node ./dist/index.js\",\n \"build\": \"tsc\"\n },\n \"author\": \"\",\n \"license\": \"ISC\",\n \"dependencies\": {\n \"@cord.network/sdk\": \"0.9.3-1rc7\",\n \"@cord.network/vc-export\": \"0.9.3-1rc7\",\n \"body-parser\": \"^1.20.2\",\n \"dotenv\": \"^16.0.3\",\n \"express\": \"^4.18.2\",\n \"moment\": \"^2.30.1\",\n \"nodemon\": \"^2.0.21\",\n \"pg\": \"^8.10.0\",\n \"reflect-metadata\": \"^0.1.13\",\n \"swagger-ui-express\": \"^4.6.2\",\n \"ts-node\": \"^10.9.1\",\n \"typeorm\": \"^0.2.31\"\n },\n \"devDependencies\": {\n \"@types/express\": \"^4.17.17\",\n \"@types/node\": \"^20.11.0\",\n \"@types/swagger-ui-express\": \"^4.1.3\",\n \"@types/uuid\": \"^9.0.1\",\n \"typescript\": \"^4.9.2\"\n }\n}\n",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "localhost:5106/api/v1/docHash",
"host": [
"localhost"
],
"port": "5106",
"path": [
"api",
"v1",
"docHash"
]
}
},
"response": []
}
]
}