|
2 | 2 | "info": { |
3 | 3 | "_postman_id": "f3832a20-fbb3-4c68-becf-8637c0e2dc17", |
4 | 4 | "name": "Sample Issue-Store-Verify", |
5 | | - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", |
| 5 | + "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json", |
6 | 6 | "_exporter_id": "36302582" |
7 | 7 | }, |
8 | 8 | "item": [ |
|
44 | 44 | } |
45 | 45 | } |
46 | 46 | }, |
47 | | - "url": { |
48 | | - "raw": "{{BaseUrl}}/dids", |
49 | | - "host": [ |
50 | | - "{{BaseUrl}}" |
51 | | - ], |
52 | | - "path": [ |
53 | | - "dids" |
54 | | - ] |
55 | | - } |
| 47 | + "url": "{{BaseUrl}}/dids" |
56 | 48 | }, |
57 | 49 | "response": [] |
58 | 50 | }, |
|
101 | 93 | "header": [], |
102 | 94 | "body": { |
103 | 95 | "mode": "raw", |
104 | | - "raw": "{\n \"$schema\": \"http://json-schema.org/schema\",\n \"name\": \"My Sample schema\",\n \"description\": \"description of my schema\",\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\"\n },\n \"emailAddress\": {\n \"type\": \"string\",\n \"format\": \"email\"\n },\n \"textAttribute\": {\n \"type\": \"string\"\n },\n \"numberAttribute\": {\n \"type\": \"number\"\n }\n },\n \"required\": [\n \"emailAddress\",\n \"textAttribute\",\n \"numberAttribute\"\n ],\n \"additionalProperties\": false\n }", |
| 96 | + "raw": "{\n \"$schema\": \"http://json-schema.org/schema\",\n \"name\": \"My Credential ref schema\",\n \"description\": \"description of my schema\",\n \"type\": \"object\",\n \"properties\": {\n \"@context\": {\n \"type\": [\n \"string\",\n \"array\",\n \"object\"\n ]\n },\n \"id\": {\n \"type\": \"string\"\n },\n \"emailAddress\": {\n \"type\": \"string\",\n \"format\": \"email\"\n },\n \"textAttribute\": {\n \"type\": \"string\"\n },\n \"credentialSubject\": {\n \"type\":\"object\",\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"name\"\n ]\n },\n \"numberAttribute\": {\n \"type\": \"number\"\n }\n },\n \"required\": [\n \"emailAddress\",\n \"textAttribute\",\n \"numberAttribute\",\n \"credentialSubject\"\n ],\n \"additionalProperties\": false\n }", |
105 | 97 | "options": { |
106 | 98 | "raw": { |
107 | 99 | "language": "json" |
108 | 100 | } |
109 | 101 | } |
110 | 102 | }, |
111 | | - "url": { |
112 | | - "raw": "{{BaseUrl}}/schemas", |
113 | | - "host": [ |
114 | | - "{{BaseUrl}}" |
115 | | - ], |
116 | | - "path": [ |
117 | | - "schemas" |
118 | | - ] |
119 | | - } |
120 | | - }, |
121 | | - "response": [] |
122 | | - }, |
123 | | - { |
124 | | - "name": "Create revocation registry", |
125 | | - "request": { |
126 | | - "method": "POST", |
127 | | - "header": [], |
128 | | - "body": { |
129 | | - "mode": "raw", |
130 | | - "raw": "{\n \"addOnly\": false,\n \"policy\": [\n \"did:cheqd:testnet:1c2c6efe-3c4b-4424-9175-f1e1057f2e71\"\n ],\n \"type\": \"DockVBAccumulator2022\"\n}", |
131 | | - "options": { |
132 | | - "raw": { |
133 | | - "language": "json" |
134 | | - } |
135 | | - } |
136 | | - }, |
137 | | - "url": { |
138 | | - "raw": "{{BaseUrl}}/registries", |
139 | | - "host": [ |
140 | | - "{{BaseUrl}}" |
141 | | - ], |
142 | | - "path": [ |
143 | | - "registries" |
144 | | - ] |
145 | | - } |
| 103 | + "url": "{{BaseUrl}}/schemas" |
146 | 104 | }, |
147 | 105 | "response": [] |
148 | 106 | }, |
|
153 | 111 | "header": [], |
154 | 112 | "body": { |
155 | 113 | "mode": "raw", |
156 | | - "raw": "{\n \"persist\": true,\n \"password\": \"1234\",\n \"algorithm\": \"dockbbs\",\n \"recipientEmail\":\"agne@truvera.io\", \n \"distribute\": true,\n \"format\": \"jsonld\",\n \"credential\": {\n \"name\": \"My test credential\",\n \"description\": \"describing my test credential\",\n \"schema\": \"https://schema.truvera.io/MySampleSchema-V1-1736946620866.json\",\n \"type\": [\n \"SampleSchema\"\n ],\n \"subject\": {\n \"id\":\"1234\",\n \"emailAddress\":\"myemail@address.com\",\n \"textAttribute\":\"Some text\",\n \"numberAttribute\":1,\n \"expirationDate\":\"2026-01-21\"\n },\n \"issuer\": \"did:cheqd:testnet:80c16286-a49e-4826-aaa4-18fa7f66d707\",\n \"issuanceDate\": \"2025-01-21T11:03:35.610Z\",\n \"status\":\"1d1a1d1e248c4b30b5a22ab5a74ea5d9e3ba1894ee8c45ebf7f56a45bdccf9c5\"\n }\n}", |
| 114 | + "raw": "{\n \"persist\": true,\n \"password\": \"1234\",\n \"algorithm\": \"dockbbs\",\n \"recipientEmail\":\"agne@truvera.io\", \n \"distribute\": true,\n \"format\": \"jsonld\",\n \"credential\": {\n \"name\": \"My test credential\",\n \"description\": \"describing my test credential\",\n \"schema\": \"https://schema.truvera.io/MySampleSchema-V1-1736946620866.json\",\n \"type\": [\n \"SampleSchema\"\n ],\n \"subject\": {\n \"id\":\"1234\",\n \"emailAddress\":\"myemail@address.com\",\n \"textAttribute\":\"Some text\",\n \"numberAttribute\":1,\n \"expirationDate\":\"2026-01-21\"\n },\n \"issuer\": \"did:cheqd:testnet:7e62654d-06ec-420d-96ed-e5298eb2dbbf\",\n \"issuanceDate\": \"2025-02-14T11:03:35.610Z\",\n \"status\":\"fca210dc301632329253fb5d32bb57cc58673e5c31927777310104de3fbc1387\"\n }\n}", |
157 | 115 | "options": { |
158 | 116 | "raw": { |
159 | 117 | "language": "json" |
160 | 118 | } |
161 | 119 | } |
162 | 120 | }, |
163 | | - "url": { |
164 | | - "raw": "{{BaseUrl}}/credentials", |
165 | | - "host": [ |
166 | | - "{{BaseUrl}}" |
167 | | - ], |
168 | | - "path": [ |
169 | | - "credentials" |
170 | | - ] |
171 | | - } |
| 121 | + "url": "{{BaseUrl}}/credentials" |
172 | 122 | }, |
173 | 123 | "response": [] |
174 | 124 | }, |
|
186 | 136 | } |
187 | 137 | } |
188 | 138 | }, |
189 | | - "url": { |
190 | | - "raw": "{{BaseUrl}}/proof-templates", |
191 | | - "host": [ |
192 | | - "{{BaseUrl}}" |
193 | | - ], |
194 | | - "path": [ |
195 | | - "proof-templates" |
196 | | - ] |
197 | | - } |
| 139 | + "url": "{{BaseUrl}}/proof-templates" |
198 | 140 | }, |
199 | 141 | "response": [] |
200 | 142 | }, |
|
212 | 154 | } |
213 | 155 | } |
214 | 156 | }, |
215 | | - "url": { |
216 | | - "raw": "{{BaseUrl}}/proof-templates/6cc6abd6-d47e-46c4-9ba1-3677a904237b/request", |
217 | | - "host": [ |
218 | | - "{{BaseUrl}}" |
219 | | - ], |
220 | | - "path": [ |
221 | | - "proof-templates", |
222 | | - "6cc6abd6-d47e-46c4-9ba1-3677a904237b", |
223 | | - "request" |
224 | | - ] |
225 | | - } |
| 157 | + "url": "{{BaseUrl}}/proof-templates/6cc6abd6-d47e-46c4-9ba1-3677a904237b/request" |
226 | 158 | }, |
227 | 159 | "response": [] |
228 | 160 | }, |
|
231 | 163 | "request": { |
232 | 164 | "method": "GET", |
233 | 165 | "header": [], |
234 | | - "url": { |
235 | | - "raw": "{{BaseUrl}}/proof-templates", |
236 | | - "host": [ |
237 | | - "{{BaseUrl}}" |
238 | | - ], |
239 | | - "path": [ |
240 | | - "proof-templates" |
241 | | - ] |
242 | | - } |
| 166 | + "url": "{{BaseUrl}}/proof-templates" |
243 | 167 | }, |
244 | 168 | "response": [] |
245 | 169 | } |
246 | 170 | ], |
247 | 171 | "auth": { |
248 | 172 | "type": "bearer", |
249 | | - "bearer": [ |
250 | | - { |
251 | | - "key": "token", |
252 | | - "value": "{{Bearier}}", |
253 | | - "type": "string" |
254 | | - } |
255 | | - ] |
| 173 | + "bearer": { |
| 174 | + "token": "{{Bearer}}" |
| 175 | + } |
256 | 176 | }, |
257 | 177 | "event": [ |
258 | 178 | { |
|
0 commit comments