Skip to content

Commit 78f595a

Browse files
authored
Merge pull request #48 from docknetwork/AgneCaunt-patch-5
Updating the postman collection to remove manual creation of the revocation registry
2 parents bfab69d + 9074f35 commit 78f595a

1 file changed

Lines changed: 12 additions & 92 deletions

File tree

Postman_collections/Issue-Store-Verify flow

Lines changed: 12 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"info": {
33
"_postman_id": "f3832a20-fbb3-4c68-becf-8637c0e2dc17",
44
"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",
66
"_exporter_id": "36302582"
77
},
88
"item": [
@@ -44,15 +44,7 @@
4444
}
4545
}
4646
},
47-
"url": {
48-
"raw": "{{BaseUrl}}/dids",
49-
"host": [
50-
"{{BaseUrl}}"
51-
],
52-
"path": [
53-
"dids"
54-
]
55-
}
47+
"url": "{{BaseUrl}}/dids"
5648
},
5749
"response": []
5850
},
@@ -101,48 +93,14 @@
10193
"header": [],
10294
"body": {
10395
"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 }",
10597
"options": {
10698
"raw": {
10799
"language": "json"
108100
}
109101
}
110102
},
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"
146104
},
147105
"response": []
148106
},
@@ -153,22 +111,14 @@
153111
"header": [],
154112
"body": {
155113
"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}",
157115
"options": {
158116
"raw": {
159117
"language": "json"
160118
}
161119
}
162120
},
163-
"url": {
164-
"raw": "{{BaseUrl}}/credentials",
165-
"host": [
166-
"{{BaseUrl}}"
167-
],
168-
"path": [
169-
"credentials"
170-
]
171-
}
121+
"url": "{{BaseUrl}}/credentials"
172122
},
173123
"response": []
174124
},
@@ -186,15 +136,7 @@
186136
}
187137
}
188138
},
189-
"url": {
190-
"raw": "{{BaseUrl}}/proof-templates",
191-
"host": [
192-
"{{BaseUrl}}"
193-
],
194-
"path": [
195-
"proof-templates"
196-
]
197-
}
139+
"url": "{{BaseUrl}}/proof-templates"
198140
},
199141
"response": []
200142
},
@@ -212,17 +154,7 @@
212154
}
213155
}
214156
},
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"
226158
},
227159
"response": []
228160
},
@@ -231,28 +163,16 @@
231163
"request": {
232164
"method": "GET",
233165
"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"
243167
},
244168
"response": []
245169
}
246170
],
247171
"auth": {
248172
"type": "bearer",
249-
"bearer": [
250-
{
251-
"key": "token",
252-
"value": "{{Bearier}}",
253-
"type": "string"
254-
}
255-
]
173+
"bearer": {
174+
"token": "{{Bearer}}"
175+
}
256176
},
257177
"event": [
258178
{

0 commit comments

Comments
 (0)