From f93c99ca4c32afb3be2c00ff458d3bc209635237 Mon Sep 17 00:00:00 2001 From: Arqam Zia Date: Fri, 4 Oct 2024 17:28:32 +0500 Subject: [PATCH] Republish dock-tech --- dock-tech/BuildFiles/APIMATIC-BUILD.json | 4 +- .../spec1/Ecosystem Tools (Trust Registry) | 840 +++++++-------- .../spec/spec2/Issue-Store-Verify flow | 556 +++++----- .../spec/spec3/Issuing KVAC credentials | 984 +++++++++--------- 4 files changed, 1192 insertions(+), 1192 deletions(-) diff --git a/dock-tech/BuildFiles/APIMATIC-BUILD.json b/dock-tech/BuildFiles/APIMATIC-BUILD.json index e2939d6..2fc29e1 100644 --- a/dock-tech/BuildFiles/APIMATIC-BUILD.json +++ b/dock-tech/BuildFiles/APIMATIC-BUILD.json @@ -2,7 +2,7 @@ "$schema": "https://titan.apimatic.io/api/build/schema", "buildFileVersion": "1", "generatePortal": { - "baseUrl": "https://dock.tech-apimatic-catalog.pages.dev/", + "baseUrl": "https://dock-tech-apimatic-catalog.pages.dev/", "indexable": {}, "contentFolder": "./", "apiSpecPath": "./spec", @@ -184,7 +184,7 @@ }, "renameHttpToRest": false }, - "pageTitle": "dock.tech developer portal", + "pageTitle": "dock-tech developer portal", "navTitle": "APIMatic", "logoLink": "", "whiteLabel": false, diff --git a/dock-tech/BuildFiles/spec/spec1/Ecosystem Tools (Trust Registry) b/dock-tech/BuildFiles/spec/spec1/Ecosystem Tools (Trust Registry) index b0bc673..ca7f055 100644 --- a/dock-tech/BuildFiles/spec/spec1/Ecosystem Tools (Trust Registry) +++ b/dock-tech/BuildFiles/spec/spec1/Ecosystem Tools (Trust Registry) @@ -1,422 +1,422 @@ { - "info": { - "_postman_id": "cee7306f-732b-4c38-84ea-6c5e9a7cca6a", - "name": "Trust Registry", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", - "_exporter_id": "36302582" - }, - "item": [ - { - "name": "Create a Trust Registry", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"Postman Testing Trust Registry\",\n \"description\": \"I am creating this to test the ecosystems api guide\",\n \"logoUrl\": \"https://logo.com/registry\",\n \"ecosystemUrl\": \"https://myecosystem.com\",\n \"governanceFramework\": \"Anarchy rules in this ecossytem\",\n \"governanceFrameworkVersion\": \"1.0.0\",\n \"convener\": \"did:dock:5HCXuyBhXRiZxSmyLG2j6NhoeqL4dYHV9EGwLE2FKJVUmXL4\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{BaseUrl}}/trust-registries", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "trust-registries" - ] - } - }, - "response": [] - }, - { - "name": "Invite participant", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"verifierSchemas\": [\"https://schema.dock.io/KYC-V1-1724068086299.json\"]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{BaseUrl}}/trust-registries/0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868/participants", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "trust-registries", - "0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868", - "participants" - ] - } - }, - "response": [] - }, - { - "name": "Accept invite", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"did\": \"did:dock:5HG6mthmkXVp61HAhthrHiDESWAGSdheKSQ6JM2sbK1JGv1s\",\n \"infoUrl\": \"\",\n \"token\":\"eyJhbGciOiJIUzUxMiJ9.eyJpZCI6IjB4ZmQwZDllN2Y1NmRmY2MwZTA2NzMxY2U4YTZiMWUzZWE0MGY1ZTJiMDhlY2U0OWQ0NmY4MmU3MTNjOWI0NDg2OCIsImlzVGVzdG1vZGUiOnRydWUsIm5vbmNlIjo0NDUxLCJ2ZXJpZmllclNjaGVtYXMiOlsiaHR0cHM6Ly9zY2hlbWEuZG9jay5pby9LWUMtVjEtMTcyNDA2ODA4NjI5OS5qc29uIl0sImlhdCI6MTcyNDA2ODQxOSwiZXhwIjoxNzI0NjczMjE5fQ.WUJk94zTVtSJRxNPQzWoHw4jCuKz7OWy2aP8ByoHKQNQ6r6lFq4DqjBNiE8mH34IxD_8PpZZ4PN8KUFdbyEoGg\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{BaseUrl}}/trust-registries/invitations/accept", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "trust-registries", - "invitations", - "accept" - ] - } - }, - "response": [] - }, - { - "name": "Retrieve Trust Registry Details", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{BaseUrl}}/trust-registries/0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "trust-registries", - "0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868" - ] - } - }, - "response": [] - }, - { - "name": "Update Trust Registry Metadata", - "request": { - "method": "PATCH", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"Updated Name for Postman test trust registry\",\n \"description\": \"This is very easy to do\",\n \"logoUrl\": \"https://logo.com/updated\",\n \"ecosystemUrl\": \"https://updatedecosystem.com\",\n \"governanceFramework\": \"This is a markdown document describing my framework version two!\",\n \"governanceFrameworkVersion\": \"2.0.0\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{BaseUrl}}/trust-registries/0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "trust-registries", - "0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868" - ] - } - }, - "response": [] - }, - { - "name": "Update Participants data", - "request": { - "method": "PATCH", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"infoUrl\": \"https://issue_all_day.com\",\n \"description\":\"Issuing gives me meaning in life\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{BaseUrl}}/trust-registries/0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868/participants/48d91601-d976-4299-8339-b82ccc7782c3/info", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "trust-registries", - "0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868", - "participants", - "48d91601-d976-4299-8339-b82ccc7782c3", - "info" - ] - } - }, - "response": [] - }, - { - "name": "Suspend/Unsuspend Participants", - "request": { - "method": "PATCH", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"infoUrl\": \"https://verify.com\",\n \"description\": \"A very nice and respectable verifier\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{BaseUrl}}/trust-registries/0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868/participants/6200c6bd-4dc6-4429-b0c8-ac94c5713316/info", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "trust-registries", - "0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868", - "participants", - "6200c6bd-4dc6-4429-b0c8-ac94c5713316", - "info" - ] - } - }, - "response": [] - }, - { - "name": "Get all participants", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{BaseUrl}}/trust-registries/0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868/participants", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "trust-registries", - "0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868", - "participants" - ] - } - }, - "response": [] - }, - { - "name": "Assign Schemas to Participants", - "request": { - "method": "PATCH", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"issuerSchemas\": [\"https://schema.com/issuer\",\"https://schema.dock.io/BachelorOfArts-V2-1717755874209.json\",\"https://schema.dock.io/BachelorOfComputerScience-V2-1717755847606.json\"]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{BaseUrl}}/trust-registries/0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868/participants/48d91601-d976-4299-8339-b82ccc7782c3", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "trust-registries", - "0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868", - "participants", - "48d91601-d976-4299-8339-b82ccc7782c3" - ] - } - }, - "response": [] - }, - { - "name": "Get Trust Registry Schemas", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{BaseUrl}}/trust-registries/0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868/schemas", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "trust-registries", - "0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868", - "schemas" - ] - } - }, - "response": [] - }, - { - "name": "Assign Proof Templates to the Trust Registry", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"id\": \"509aa246-bf91-4874-88e7-7db1d2ba546d\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{BaseUrl}}/trust-registries/0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868/proof-templates", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "trust-registries", - "0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868", - "proof-templates" - ] - } - }, - "response": [] - }, - { - "name": "Retrieve Proof Templates", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{BaseUrl}}/trust-registries/0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868/proof-templates", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "trust-registries", - "0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868", - "proof-templates" - ] - } - }, - "response": [] - }, - { - "name": "Delete a Trust Registry Participant", - "request": { - "method": "DELETE", - "header": [], - "url": { - "raw": "{{BaseUrl}}/trust-registries/0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868/participants/3da1b1c2-78f9-4368-88d1-58382b5e9a05", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "trust-registries", - "0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868", - "participants", - "3da1b1c2-78f9-4368-88d1-58382b5e9a05" - ] - } - }, - "response": [] - }, - { - "name": "Delete a Trust Registry Proof Template", - "request": { - "method": "DELETE", - "header": [], - "url": { - "raw": "{{BaseUrl}}/trust-registries/0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868/proof-templates/509aa246-bf91-4874-88e7-7db1d2ba546d", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "trust-registries", - "0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868", - "proof-templates", - "509aa246-bf91-4874-88e7-7db1d2ba546d" - ] - } - }, - "response": [] - }, - { - "name": "Delete a Trust Registry", - "request": { - "method": "DELETE", - "header": [], - "url": { - "raw": "{{BaseUrl}}/trust-registries/0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "trust-registries", - "0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868" - ] - } - }, - "response": [] - } - ], - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{ApiKey}}", - "type": "string" - }, - { - "key": "key", - "value": "DOCK-API-TOKEN", - "type": "string" - } - ] - }, - "event": [ - { - "listen": "prerequest", - "script": { - "type": "text/javascript", - "packages": {}, - "exec": [ - "" - ] - } - }, - { - "listen": "test", - "script": { - "type": "text/javascript", - "packages": {}, - "exec": [ - "" - ] - } - } - ], - "variable": [ - { - "key": "ApiKey", - "value": "", - "type": "string" - }, - { - "key": "BaseUrl", - "value": "https://api-testnet.dock.io", - "type": "string" - }, - { - "value": "", - "type": "string" - } - ] + "info": { + "_postman_id": "cee7306f-732b-4c38-84ea-6c5e9a7cca6a", + "name": "Trust Registry", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "36302582" + }, + "item": [ + { + "name": "Create a Trust Registry", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"Postman Testing Trust Registry\",\n \"description\": \"I am creating this to test the ecosystems api guide\",\n \"logoUrl\": \"https://logo.com/registry\",\n \"ecosystemUrl\": \"https://myecosystem.com\",\n \"governanceFramework\": \"Anarchy rules in this ecossytem\",\n \"governanceFrameworkVersion\": \"1.0.0\",\n \"convener\": \"did:dock:5HCXuyBhXRiZxSmyLG2j6NhoeqL4dYHV9EGwLE2FKJVUmXL4\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{BaseUrl}}/trust-registries", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "trust-registries" + ] + } + }, + "response": [] + }, + { + "name": "Invite participant", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"verifierSchemas\": [\"https://schema.dock.io/KYC-V1-1724068086299.json\"]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{BaseUrl}}/trust-registries/0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868/participants", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "trust-registries", + "0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868", + "participants" + ] + } + }, + "response": [] + }, + { + "name": "Accept invite", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"did\": \"did:dock:5HG6mthmkXVp61HAhthrHiDESWAGSdheKSQ6JM2sbK1JGv1s\",\n \"infoUrl\": \"\",\n \"token\":\"eyJhbGciOiJIUzUxMiJ9.eyJpZCI6IjB4ZmQwZDllN2Y1NmRmY2MwZTA2NzMxY2U4YTZiMWUzZWE0MGY1ZTJiMDhlY2U0OWQ0NmY4MmU3MTNjOWI0NDg2OCIsImlzVGVzdG1vZGUiOnRydWUsIm5vbmNlIjo0NDUxLCJ2ZXJpZmllclNjaGVtYXMiOlsiaHR0cHM6Ly9zY2hlbWEuZG9jay5pby9LWUMtVjEtMTcyNDA2ODA4NjI5OS5qc29uIl0sImlhdCI6MTcyNDA2ODQxOSwiZXhwIjoxNzI0NjczMjE5fQ.WUJk94zTVtSJRxNPQzWoHw4jCuKz7OWy2aP8ByoHKQNQ6r6lFq4DqjBNiE8mH34IxD_8PpZZ4PN8KUFdbyEoGg\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{BaseUrl}}/trust-registries/invitations/accept", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "trust-registries", + "invitations", + "accept" + ] + } + }, + "response": [] + }, + { + "name": "Retrieve Trust Registry Details", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{BaseUrl}}/trust-registries/0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "trust-registries", + "0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868" + ] + } + }, + "response": [] + }, + { + "name": "Update Trust Registry Metadata", + "request": { + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"Updated Name for Postman test trust registry\",\n \"description\": \"This is very easy to do\",\n \"logoUrl\": \"https://logo.com/updated\",\n \"ecosystemUrl\": \"https://updatedecosystem.com\",\n \"governanceFramework\": \"This is a markdown document describing my framework version two!\",\n \"governanceFrameworkVersion\": \"2.0.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{BaseUrl}}/trust-registries/0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "trust-registries", + "0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868" + ] + } + }, + "response": [] + }, + { + "name": "Update Participants data", + "request": { + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"infoUrl\": \"https://issue_all_day.com\",\n \"description\":\"Issuing gives me meaning in life\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{BaseUrl}}/trust-registries/0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868/participants/48d91601-d976-4299-8339-b82ccc7782c3/info", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "trust-registries", + "0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868", + "participants", + "48d91601-d976-4299-8339-b82ccc7782c3", + "info" + ] + } + }, + "response": [] + }, + { + "name": "Suspend/Unsuspend Participants", + "request": { + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"infoUrl\": \"https://verify.com\",\n \"description\": \"A very nice and respectable verifier\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{BaseUrl}}/trust-registries/0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868/participants/6200c6bd-4dc6-4429-b0c8-ac94c5713316/info", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "trust-registries", + "0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868", + "participants", + "6200c6bd-4dc6-4429-b0c8-ac94c5713316", + "info" + ] + } + }, + "response": [] + }, + { + "name": "Get all participants", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{BaseUrl}}/trust-registries/0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868/participants", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "trust-registries", + "0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868", + "participants" + ] + } + }, + "response": [] + }, + { + "name": "Assign Schemas to Participants", + "request": { + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"issuerSchemas\": [\"https://schema.com/issuer\",\"https://schema.dock.io/BachelorOfArts-V2-1717755874209.json\",\"https://schema.dock.io/BachelorOfComputerScience-V2-1717755847606.json\"]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{BaseUrl}}/trust-registries/0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868/participants/48d91601-d976-4299-8339-b82ccc7782c3", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "trust-registries", + "0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868", + "participants", + "48d91601-d976-4299-8339-b82ccc7782c3" + ] + } + }, + "response": [] + }, + { + "name": "Get Trust Registry Schemas", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{BaseUrl}}/trust-registries/0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868/schemas", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "trust-registries", + "0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868", + "schemas" + ] + } + }, + "response": [] + }, + { + "name": "Assign Proof Templates to the Trust Registry", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"id\": \"509aa246-bf91-4874-88e7-7db1d2ba546d\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{BaseUrl}}/trust-registries/0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868/proof-templates", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "trust-registries", + "0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868", + "proof-templates" + ] + } + }, + "response": [] + }, + { + "name": "Retrieve Proof Templates", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{BaseUrl}}/trust-registries/0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868/proof-templates", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "trust-registries", + "0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868", + "proof-templates" + ] + } + }, + "response": [] + }, + { + "name": "Delete a Trust Registry Participant", + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{BaseUrl}}/trust-registries/0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868/participants/3da1b1c2-78f9-4368-88d1-58382b5e9a05", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "trust-registries", + "0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868", + "participants", + "3da1b1c2-78f9-4368-88d1-58382b5e9a05" + ] + } + }, + "response": [] + }, + { + "name": "Delete a Trust Registry Proof Template", + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{BaseUrl}}/trust-registries/0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868/proof-templates/509aa246-bf91-4874-88e7-7db1d2ba546d", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "trust-registries", + "0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868", + "proof-templates", + "509aa246-bf91-4874-88e7-7db1d2ba546d" + ] + } + }, + "response": [] + }, + { + "name": "Delete a Trust Registry", + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{BaseUrl}}/trust-registries/0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "trust-registries", + "0xfd0d9e7f56dfcc0e06731ce8a6b1e3ea40f5e2b08ece49d46f82e713c9b44868" + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "value", + "value": "{{ApiKey}}", + "type": "string" + }, + { + "key": "key", + "value": "DOCK-API-TOKEN", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "packages": {}, + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "packages": {}, + "exec": [ + "" + ] + } + } + ], + "variable": [ + { + "key": "ApiKey", + "value": "", + "type": "string" + }, + { + "key": "BaseUrl", + "value": "https://api-testnet.dock.io", + "type": "string" + }, + { + "value": "", + "type": "string" + } + ] } diff --git a/dock-tech/BuildFiles/spec/spec2/Issue-Store-Verify flow b/dock-tech/BuildFiles/spec/spec2/Issue-Store-Verify flow index b7990cb..1cfaad0 100644 --- a/dock-tech/BuildFiles/spec/spec2/Issue-Store-Verify flow +++ b/dock-tech/BuildFiles/spec/spec2/Issue-Store-Verify flow @@ -1,280 +1,280 @@ { - "info": { - "_postman_id": "f3832a20-fbb3-4c68-becf-8637c0e2dc17", - "name": "Sample Issue-Store-Verify", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", - "_exporter_id": "36302582" - }, - "item": [ - { - "name": "Create DID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var jsonData = JSON.parse(responseBody);", - "postman.setEnvironmentVariable(\"did\", jsonData.data.did);", - "postman.setEnvironmentVariable(\"jobId\", jsonData.id);" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\"type\": \"dock\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{BaseUrl}}/dids?=&=", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "dids" - ], - "query": [ - { - "key": "", - "value": "" - }, - { - "key": "", - "value": "" - } - ] - } - }, - "response": [] - }, - { - "name": "Updade DID name", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"did\":\"did:dock:5CfsgqHioKCHNddVK9Y2Lu8fHQpvXh3nc9xVjLZNDqk1ZJ9z\",\n \"name\": \"VPI test administrator\",\n \"logo\":\"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{BaseUrl}}/profiles", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "profiles" - ], - "query": [ - { - "key": "", - "value": "", - "disabled": true - }, - { - "key": "", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "Create a schema", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"$schema\": \"http://json-schema.org/schema\",\n \"name\": \"VPI test schema\",\n \"description\": \"describing VPI test schema\",\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\"\n },\n \"emailAddress\": {\n \"type\": \"string\",\n \"format\": \"email\"\n },\n \"alumniOf\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"emailAddress\",\n \"alumniOf\"\n ],\n \"additionalProperties\": false\n }", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{BaseUrl}}/schemas", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "schemas" - ] - } - }, - "response": [] - }, - { - "name": "issue credential", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"persist\": true,\n \"password\": \"1234\",\n \"anchor\": false,\n \"recipientEmail\":\"agne@dock.io\",\n \"distribute\": true,\n \"format\": \"jsonld\",\n \"credential\": {\n \"name\": \"VPI test credential\",\n \"description\": \"describing vpi test credential\",\n \"schema\": \"https://schema.dock.io/VPITestSchema-V1-1723546475527.json\",\n \"type\": [\n \"VPITestSchema\"\n ],\n \"subject\": {\n \"id\":\"agne@dock.io\",\n \"emailAddress\":\"agne@dock.io\",\n \"alumniOf\":\"University of Vilnius\"\n },\n \"issuer\": \"did:dock:5DciJXakYFsCfpFzQzrHCdoRvRwi1gu2uUGJnys5Aj4cvWUx\",\n \"issuanceDate\": \"2024-08-13T11:03:35.610Z\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{BaseUrl}}/credentials", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "credentials" - ] - } - }, - "response": [] - }, - { - "name": "Create a proof template", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"Postman proof request June 18\",\n \"nonce\": \"1234567890\",\n \"request\": {\n \"name\": \"test request\",\n \"purpose\": \"my purpose\",\n \"input_descriptors\": [\n {\n \"id\": \"Credential 1\",\n \"name\": \"test request\",\n \"purpose\": \"my purpose\",\n \"constraints\": {\n \"fields\": [\n {\n \"path\": [\n \"$.credentialSubject.alumniOf\"\n ]\n },\n {\n \"path\": [\n \"$.credentialSubject.dateIssued\"\n ],\n \"optional\": true\n },\n {\n \"path\": [\n \"$.credentialSchema.id\"\n ],\n \"filter\": {\n \"const\": \"https://schema.dock.io/PostmanTestSchemaJune18-V1-1718711073065.json\"\n }\n }\n ]\n }\n }\n ]\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{BaseUrl}}/proof-templates", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "proof-templates" - ] - } - }, - "response": [] - }, - { - "name": "Create a proof request", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{BaseUrl}}/proof-templates/3053a47d-0725-4c9b-bc87-2fa14deee62a/request", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "proof-templates", - "3053a47d-0725-4c9b-bc87-2fa14deee62a", - "request" - ] - } - }, - "response": [] - }, - { - "name": "Get proof request", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{BaseUrl}}/proof-templates", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "proof-templates" - ] - } - }, - "response": [] - } - ], - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{ApiKey}}", - "type": "string" - }, - { - "key": "key", - "value": "DOCK-API-TOKEN", - "type": "string" - } - ] - }, - "event": [ - { - "listen": "prerequest", - "script": { - "type": "text/javascript", - "packages": {}, - "exec": [ - "" - ] - } - }, - { - "listen": "test", - "script": { - "type": "text/javascript", - "packages": {}, - "exec": [ - "" - ] - } - } - ], - "variable": [ - { - "key": "ApiKey", - "value": "", - "type": "string" - }, - { - "key": "BaseUrl", - "value": "https://api-testnet.dock.io", - "type": "string" - } - ] + "info": { + "_postman_id": "f3832a20-fbb3-4c68-becf-8637c0e2dc17", + "name": "Sample Issue-Store-Verify", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "36302582" + }, + "item": [ + { + "name": "Create DID", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = JSON.parse(responseBody);", + "postman.setEnvironmentVariable(\"did\", jsonData.data.did);", + "postman.setEnvironmentVariable(\"jobId\", jsonData.id);" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n\"type\": \"dock\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{BaseUrl}}/dids?=&=", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "dids" + ], + "query": [ + { + "key": "", + "value": "" + }, + { + "key": "", + "value": "" + } + ] + } + }, + "response": [] + }, + { + "name": "Updade DID name", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"did\":\"did:dock:5CfsgqHioKCHNddVK9Y2Lu8fHQpvXh3nc9xVjLZNDqk1ZJ9z\",\n \"name\": \"VPI test administrator\",\n \"logo\":\"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{BaseUrl}}/profiles", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "profiles" + ], + "query": [ + { + "key": "", + "value": "", + "disabled": true + }, + { + "key": "", + "value": "", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Create a schema", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"$schema\": \"http://json-schema.org/schema\",\n \"name\": \"VPI test schema\",\n \"description\": \"describing VPI test schema\",\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\"\n },\n \"emailAddress\": {\n \"type\": \"string\",\n \"format\": \"email\"\n },\n \"alumniOf\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"emailAddress\",\n \"alumniOf\"\n ],\n \"additionalProperties\": false\n }", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{BaseUrl}}/schemas", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "schemas" + ] + } + }, + "response": [] + }, + { + "name": "issue credential", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"persist\": true,\n \"password\": \"1234\",\n \"anchor\": false,\n \"recipientEmail\":\"agne@dock.io\",\n \"distribute\": true,\n \"format\": \"jsonld\",\n \"credential\": {\n \"name\": \"VPI test credential\",\n \"description\": \"describing vpi test credential\",\n \"schema\": \"https://schema.dock.io/VPITestSchema-V1-1723546475527.json\",\n \"type\": [\n \"VPITestSchema\"\n ],\n \"subject\": {\n \"id\":\"agne@dock.io\",\n \"emailAddress\":\"agne@dock.io\",\n \"alumniOf\":\"University of Vilnius\"\n },\n \"issuer\": \"did:dock:5DciJXakYFsCfpFzQzrHCdoRvRwi1gu2uUGJnys5Aj4cvWUx\",\n \"issuanceDate\": \"2024-08-13T11:03:35.610Z\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{BaseUrl}}/credentials", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "credentials" + ] + } + }, + "response": [] + }, + { + "name": "Create a proof template", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"Postman proof request June 18\",\n \"nonce\": \"1234567890\",\n \"request\": {\n \"name\": \"test request\",\n \"purpose\": \"my purpose\",\n \"input_descriptors\": [\n {\n \"id\": \"Credential 1\",\n \"name\": \"test request\",\n \"purpose\": \"my purpose\",\n \"constraints\": {\n \"fields\": [\n {\n \"path\": [\n \"$.credentialSubject.alumniOf\"\n ]\n },\n {\n \"path\": [\n \"$.credentialSubject.dateIssued\"\n ],\n \"optional\": true\n },\n {\n \"path\": [\n \"$.credentialSchema.id\"\n ],\n \"filter\": {\n \"const\": \"https://schema.dock.io/PostmanTestSchemaJune18-V1-1718711073065.json\"\n }\n }\n ]\n }\n }\n ]\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{BaseUrl}}/proof-templates", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "proof-templates" + ] + } + }, + "response": [] + }, + { + "name": "Create a proof request", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{BaseUrl}}/proof-templates/3053a47d-0725-4c9b-bc87-2fa14deee62a/request", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "proof-templates", + "3053a47d-0725-4c9b-bc87-2fa14deee62a", + "request" + ] + } + }, + "response": [] + }, + { + "name": "Get proof request", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{BaseUrl}}/proof-templates", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "proof-templates" + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "value", + "value": "{{ApiKey}}", + "type": "string" + }, + { + "key": "key", + "value": "DOCK-API-TOKEN", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "packages": {}, + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "packages": {}, + "exec": [ + "" + ] + } + } + ], + "variable": [ + { + "key": "ApiKey", + "value": "", + "type": "string" + }, + { + "key": "BaseUrl", + "value": "https://api-testnet.dock.io", + "type": "string" + } + ] } diff --git a/dock-tech/BuildFiles/spec/spec3/Issuing KVAC credentials b/dock-tech/BuildFiles/spec/spec3/Issuing KVAC credentials index 5a1e67f..edce369 100644 --- a/dock-tech/BuildFiles/spec/spec3/Issuing KVAC credentials +++ b/dock-tech/BuildFiles/spec/spec3/Issuing KVAC credentials @@ -1,494 +1,494 @@ { - "info": { - "_postman_id": "11848924-b15c-4a0c-aa44-e67fc88745a6", - "name": "KVAC credentials", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", - "_exporter_id": "36302582" - }, - "item": [ - { - "name": "Create DID", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "var jsonData = JSON.parse(responseBody);", - "postman.setEnvironmentVariable(\"did\", jsonData.data.did);", - "postman.setEnvironmentVariable(\"jobId\", jsonData.id);" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n\"type\": \"dock\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{BaseUrl}}/dids?=&=", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "dids" - ], - "query": [ - { - "key": "", - "value": "" - }, - { - "key": "", - "value": "" - } - ] - } - }, - "response": [] - }, - { - "name": "Updade DID name", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"did\":\"did:dock:5DciJXakYFsCfpFzQzrHCdoRvRwi1gu2uUGJnys5Aj4cvWUx\",\n \"name\": \"VPI test issuer\",\n \"logo\":\"\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{BaseUrl}}/profiles", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "profiles" - ], - "query": [ - { - "key": "", - "value": "", - "disabled": true - }, - { - "key": "", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "Create a schema", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"$schema\": \"http://json-schema.org/schema\",\n \"name\": \"VPI NEW test schema\",\n \"description\": \"describing VPI test schema\",\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\"\n },\n \"emailAddress\": {\n \"type\": \"string\",\n \"format\": \"email\"\n },\n \"alumniOf\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"emailAddress\",\n \"alumniOf\"\n ],\n \"additionalProperties\": false\n }", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{BaseUrl}}/schemas", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "schemas" - ] - } - }, - "response": [] - }, - { - "name": "Create a trust registry", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"convener\": \"did:dock:5CfsgqHioKCHNddVK9Y2Lu8fHQpvXh3nc9xVjLZNDqk1ZJ9z\",\n \"name\": \"VPI test trust registry\",\n \"description\": \"testing vpi trust registry\",\n \"logoUrl\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAS4AAACnCAMAAACYVkHVAAAAkFBMV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8Ao1b3Tpsd4LtVo2sww7fdlsrCMcnG+bT0Nx5PGnEYvaTPLsq28N/E1bB7UpbzSRZABjmjn7+XqWurQ9H/lundKxg3u3NtXalqpY6cyV6p57aY/pDDdVZtl3dFyM/ddVYEjiMRJmnUcIJmjB+qy+sylNS1+6Rw6E1vdKqt4apwq3ldbZ5QtYf62vIZwl0vJEMmJacVSKjhuoowHDwtT0Spf4RQbcH+mfA0hDabkH9oRf3ajoRhcBDK9s2c/ij8pF2uXBm0S9T4nM0vFuzHUIGt1didaNDezDbcUXuiQ6m8wUu+DgVzDpFYvh4DUHzplZNOx9sxPzH0aOTUW59aQ27/vngWzSVCpCfTPuSRm0GQ/F74dGeA9BI5+XxLipv66wGSEjKPOZ+dFm+LtPJq77eIdvbXeNUVWURrBp8tpQdaIBKOaxNNFemGiOPmJs4dL3WHeOONMZ/tdUJCc1vVSbhXefX96C94/qbY4JtfNOO7XzruPv5Kis7fTet4wd/3D5kM5p6OEEPnHCIbC0wu++dQuevyIosdN/5Yr8Xln/9Xmbzqfh8NVLyEIgiAIgiAIgiAIgiAIgiAIgiAIgiAIgiAIgiAIgiAIgiAIgiAIgiAIgiDIUPwHXvKVd8mWFlQAAAAASUVORK5CYII\",\n \"ecosystemUrl\": \"https://www.dock.io/\",\n \"governanceFramework\": \"Very good framework\",\n \"governanceFrameworkVersion\": \"1.0.0\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{BaseUrl}}/trust-registries", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "trust-registries" - ] - } - }, - "response": [] - }, - { - "name": "Invite Issuer to Ecosystem", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"issuerSchemas\": [\"https://schema.dock.io/VPINEWTestSchema-V1-1723559642963.json\"]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{BaseUrl}}/trust-registries/0x54fbcae07000375263eb8ac6da39b69f848d41e6c1160783073c0dc1a7fcaf72/participants", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "trust-registries", - "0x54fbcae07000375263eb8ac6da39b69f848d41e6c1160783073c0dc1a7fcaf72", - "participants" - ] - } - }, - "response": [] - }, - { - "name": "Accept invitation", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"did\": \"did:dock:5DciJXakYFsCfpFzQzrHCdoRvRwi1gu2uUGJnys5Aj4cvWUx\",\n \"infoUrl\": \"\",\n \"token\":\"eyJhbGciOiJIUzUxMiJ9.eyJpZCI6IjB4NTRmYmNhZTA3MDAwMzc1MjYzZWI4YWM2ZGEzOWI2OWY4NDhkNDFlNmMxMTYwNzgzMDczYzBkYzFhN2ZjYWY3MiIsImlzVGVzdG1vZGUiOnRydWUsIm5vbmNlIjo1MTgzLCJpc3N1ZXJTY2hlbWFzIjpbImh0dHBzOi8vc2NoZW1hLmRvY2suaW8vVlBJTkVXVGVzdFNjaGVtYS1WMS0xNzIzNTU5NjQyOTYzLmpzb24iXSwiaWF0IjoxNzIzNTU5ODMwLCJleHAiOjE3MjQxNjQ2MzB9.32m7cvJvWUMzJeZwJrhUY0SMI_ei3fiY9MDQky2d_6RJg61AJPuiuvpl_uFJQD-ara-nDO_614CnT9caf0yYgA\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{BaseUrl}}/trust-registries/invitations/accept", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "trust-registries", - "invitations", - "accept" - ] - } - }, - "response": [] - }, - { - "name": "Invite Verifier to Ecosystem", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"verifierSchemas\": [\"https://schema.dock.io/VPITestSchema-V1-1723546475527.json\"]\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{BaseUrl}}/trust-registries/0x54fbcae07000375263eb8ac6da39b69f848d41e6c1160783073c0dc1a7fcaf72/participants", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "trust-registries", - "0x54fbcae07000375263eb8ac6da39b69f848d41e6c1160783073c0dc1a7fcaf72", - "participants" - ] - } - }, - "response": [] - }, - { - "name": "List of ecosystem participants", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{BaseUrl}}/trust-registries/0x54fbcae07000375263eb8ac6da39b69f848d41e6c1160783073c0dc1a7fcaf72/participants", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "trust-registries", - "0x54fbcae07000375263eb8ac6da39b69f848d41e6c1160783073c0dc1a7fcaf72", - "participants" - ] - } - }, - "response": [] - }, - { - "name": "Assign schemas to participants", - "request": { - "method": "PATCH", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"verifierSchemas\": [\n \"https://schema.dock.io/VPINEWTestSchema-V1-1723559642963.json\"\n ]\n}\n", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{BaseUrl}}/trust-registries/0x54fbcae07000375263eb8ac6da39b69f848d41e6c1160783073c0dc1a7fcaf72/participants/23edb4c6-50b3-44a9-9d29-ab1a6c19ce9d", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "trust-registries", - "0x54fbcae07000375263eb8ac6da39b69f848d41e6c1160783073c0dc1a7fcaf72", - "participants", - "23edb4c6-50b3-44a9-9d29-ab1a6c19ce9d" - ] - } - }, - "response": [] - }, - { - "name": "Assign Prices to Schemas", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"currency\": \"USD\",\n \"digits\": 99000000\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{BaseUrl}}/trust-registries/0x54fbcae07000375263eb8ac6da39b69f848d41e6c1160783073c0dc1a7fcaf72/schemas/https%3A%2F%2Fschema.dock.io%2FVPINEWTestSchema-V1-1723559642963.json/price", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "trust-registries", - "0x54fbcae07000375263eb8ac6da39b69f848d41e6c1160783073c0dc1a7fcaf72", - "schemas", - "https%3A%2F%2Fschema.dock.io%2FVPINEWTestSchema-V1-1723559642963.json", - "price" - ] - } - }, - "response": [] - }, - { - "name": "Schemas assigned to Ecosystem", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{BaseUrl}}/trust-registries/0x54fbcae07000375263eb8ac6da39b69f848d41e6c1160783073c0dc1a7fcaf72/schemas", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "trust-registries", - "0x54fbcae07000375263eb8ac6da39b69f848d41e6c1160783073c0dc1a7fcaf72", - "schemas" - ] - } - }, - "response": [] - }, - { - "name": "Issue KVAC credential", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"persist\": true,\n \"password\": \"1234\",\n \"anchor\": false,\n \"recipientEmail\":\"agelzinyte@gmail.com\",\n \"distribute\": true,\n \"format\": \"jsonld\",\n \"algorithm\": \"bbdt16\",\n \"credential\": {\n \"name\": \"KVAC test credential\",\n \"description\": \"describing vpi test credential\",\n \"schema\": \"https://schema.dock.io/VPINEWTestSchema-V1-1723559642963.json\",\n \"type\": [\n \"VPITestSchema\"\n ],\n \"subject\": {\n \"id\":\"agelzinyte@gmail.com\",\n \"emailAddress\":\"agelzinyte@gmail.com\",\n \"alumniOf\":\"University of Vilnius\"\n },\n \"issuer\": \"did:dock:5DciJXakYFsCfpFzQzrHCdoRvRwi1gu2uUGJnys5Aj4cvWUx\",\n \"issuanceDate\": \"2024-08-13T17:27:35.610Z\"\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{BaseUrl}}/credentials", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "credentials" - ] - } - }, - "response": [] - }, - { - "name": "Create a proof template", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"name\": \"VPI test proof template\",\n \"nonce\": \"1234567890\",\n \"request\": {\n \"name\": \"KVAC Request\",\n \"purpose\": \"KVAC purpose\",\n \"input_descriptors\": [\n {\n \"id\": \"Credential 1\",\n \"name\": \"KVAC Request\",\n \"purpose\": \"KVAC purpose\",\n \"constraints\": {\n \"fields\": [\n {\n \"path\": [\n \"$.credentialSchema.id\"\n ],\n \"filter\": {\n \"const\": \"https://schema.dock.io/VPINEWTestSchema-V1-1723559642963.json\"\n }\n }\n ]\n }\n }\n ]\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{BaseUrl}}/proof-templates", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "proof-templates" - ] - } - }, - "response": [] - }, - { - "name": "Create a proof request", - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"did\": \"did:dock:5HG6mthmkXVp61HAhthrHiDESWAGSdheKSQ6JM2sbK1JGv1s\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{BaseUrl}}/proof-templates/e180f9d8-b980-4444-a9c0-8d1243047aa1/request", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "proof-templates", - "e180f9d8-b980-4444-a9c0-8d1243047aa1", - "request" - ] - } - }, - "response": [] - }, - { - "name": "Billing report", - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{BaseUrl}}/trust-registries/0x54fbcae07000375263eb8ac6da39b69f848d41e6c1160783073c0dc1a7fcaf72/reports", - "host": [ - "{{BaseUrl}}" - ], - "path": [ - "trust-registries", - "0x54fbcae07000375263eb8ac6da39b69f848d41e6c1160783073c0dc1a7fcaf72", - "reports" - ] - } - }, - "response": [] - } - ], - "auth": { - "type": "apikey", - "apikey": [ - { - "key": "value", - "value": "{{ApiKey}}", - "type": "string" - }, - { - "key": "key", - "value": "DOCK-API-TOKEN", - "type": "string" - } - ] - }, - "event": [ - { - "listen": "prerequest", - "script": { - "type": "text/javascript", - "packages": {}, - "exec": [ - "" - ] - } - }, - { - "listen": "test", - "script": { - "type": "text/javascript", - "packages": {}, - "exec": [ - "" - ] - } - } - ], - "variable": [ - { - "key": "ApiKey", - "value": "", - "type": "string" - }, - { - "key": "BaseUrl", - "value": "https://api-testnet.dock.io", - "type": "string" - }, - { - "key": "SchemaID", - "value": "https://schema.dock.io/VPITestSchema-V1-1723546475527.json", - "type": "string" - } - ] + "info": { + "_postman_id": "11848924-b15c-4a0c-aa44-e67fc88745a6", + "name": "KVAC credentials", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "36302582" + }, + "item": [ + { + "name": "Create DID", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "var jsonData = JSON.parse(responseBody);", + "postman.setEnvironmentVariable(\"did\", jsonData.data.did);", + "postman.setEnvironmentVariable(\"jobId\", jsonData.id);" + ], + "type": "text/javascript", + "packages": {} + } + }, + { + "listen": "prerequest", + "script": { + "exec": [ + "" + ], + "type": "text/javascript", + "packages": {} + } + } + ], + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n\"type\": \"dock\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{BaseUrl}}/dids?=&=", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "dids" + ], + "query": [ + { + "key": "", + "value": "" + }, + { + "key": "", + "value": "" + } + ] + } + }, + "response": [] + }, + { + "name": "Updade DID name", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"did\":\"did:dock:5DciJXakYFsCfpFzQzrHCdoRvRwi1gu2uUGJnys5Aj4cvWUx\",\n \"name\": \"VPI test issuer\",\n \"logo\":\"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{BaseUrl}}/profiles", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "profiles" + ], + "query": [ + { + "key": "", + "value": "", + "disabled": true + }, + { + "key": "", + "value": "", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "Create a schema", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"$schema\": \"http://json-schema.org/schema\",\n \"name\": \"VPI NEW test schema\",\n \"description\": \"describing VPI test schema\",\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\"\n },\n \"emailAddress\": {\n \"type\": \"string\",\n \"format\": \"email\"\n },\n \"alumniOf\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"emailAddress\",\n \"alumniOf\"\n ],\n \"additionalProperties\": false\n }", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{BaseUrl}}/schemas", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "schemas" + ] + } + }, + "response": [] + }, + { + "name": "Create a trust registry", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"convener\": \"did:dock:5CfsgqHioKCHNddVK9Y2Lu8fHQpvXh3nc9xVjLZNDqk1ZJ9z\",\n \"name\": \"VPI test trust registry\",\n \"description\": \"testing vpi trust registry\",\n \"logoUrl\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAS4AAACnCAMAAACYVkHVAAAAkFBMVEX///8YGBsAAADT09MWFhmIiIoEBApzc3WcnJ4AAAgNDREQEBQTExYWFhoICA3u7u75+fktLS/g4OCwsLGUlJWurq8gICM+PkA/P0Hp6enAwMDIyMl4eHleXmCCgoNMTE5nZ2g3NzmQkJEoKCtVVVdtbW7i4uJGRkjNzc2lpabCwsIlJShaWlyZmZodHR9RUVK/44viAAAKxElEQVR4nO2cCXOjPBKGByFjixvjIwZf+LaTSf7/v1sOtQQYAdlJzG5VP7W1X9ljIfTSarVaTf78QRAEQRAEQRAEQRAEQRAEQRAEQRAEQRAEQRAEQRAEQRAEQRAEQRAEQRAEQRCkET+az6PXdxunvfqv7/ZfuWwcQuh59eJuxwtCzP30xb3+M96OUE2jZPPaJz0iTtbr7v/NvsLsvrM7f+mDngZ21qtG4lf2+n38+uNcM6248fsrb0PPTDrrdfbKXr/LdDZe12QZG1yuyStvRCe819Ere/0m0YIZzNhcyt+hXCqmiZl7qWt5FUS5VMzhHj9KeqFcKrb8HjVylcsgyqXiL8ilGV/CvlAuFfqnDXq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mbzqfh8NVLyEIgiAIgiAIgiAIgiAIgiAIgiAIgiAIgiAIgiAIgiAIgiAIgiAIgiAIgiDIUPwHXvKVd8mWFlQAAAAASUVORK5CYII\",\n \"ecosystemUrl\": \"https://www.dock.io/\",\n \"governanceFramework\": \"Very good framework\",\n \"governanceFrameworkVersion\": \"1.0.0\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{BaseUrl}}/trust-registries", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "trust-registries" + ] + } + }, + "response": [] + }, + { + "name": "Invite Issuer to Ecosystem", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"issuerSchemas\": [\"https://schema.dock.io/VPINEWTestSchema-V1-1723559642963.json\"]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{BaseUrl}}/trust-registries/0x54fbcae07000375263eb8ac6da39b69f848d41e6c1160783073c0dc1a7fcaf72/participants", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "trust-registries", + "0x54fbcae07000375263eb8ac6da39b69f848d41e6c1160783073c0dc1a7fcaf72", + "participants" + ] + } + }, + "response": [] + }, + { + "name": "Accept invitation", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"did\": \"did:dock:5DciJXakYFsCfpFzQzrHCdoRvRwi1gu2uUGJnys5Aj4cvWUx\",\n \"infoUrl\": \"\",\n \"token\":\"eyJhbGciOiJIUzUxMiJ9.eyJpZCI6IjB4NTRmYmNhZTA3MDAwMzc1MjYzZWI4YWM2ZGEzOWI2OWY4NDhkNDFlNmMxMTYwNzgzMDczYzBkYzFhN2ZjYWY3MiIsImlzVGVzdG1vZGUiOnRydWUsIm5vbmNlIjo1MTgzLCJpc3N1ZXJTY2hlbWFzIjpbImh0dHBzOi8vc2NoZW1hLmRvY2suaW8vVlBJTkVXVGVzdFNjaGVtYS1WMS0xNzIzNTU5NjQyOTYzLmpzb24iXSwiaWF0IjoxNzIzNTU5ODMwLCJleHAiOjE3MjQxNjQ2MzB9.32m7cvJvWUMzJeZwJrhUY0SMI_ei3fiY9MDQky2d_6RJg61AJPuiuvpl_uFJQD-ara-nDO_614CnT9caf0yYgA\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{BaseUrl}}/trust-registries/invitations/accept", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "trust-registries", + "invitations", + "accept" + ] + } + }, + "response": [] + }, + { + "name": "Invite Verifier to Ecosystem", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"verifierSchemas\": [\"https://schema.dock.io/VPITestSchema-V1-1723546475527.json\"]\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{BaseUrl}}/trust-registries/0x54fbcae07000375263eb8ac6da39b69f848d41e6c1160783073c0dc1a7fcaf72/participants", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "trust-registries", + "0x54fbcae07000375263eb8ac6da39b69f848d41e6c1160783073c0dc1a7fcaf72", + "participants" + ] + } + }, + "response": [] + }, + { + "name": "List of ecosystem participants", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{BaseUrl}}/trust-registries/0x54fbcae07000375263eb8ac6da39b69f848d41e6c1160783073c0dc1a7fcaf72/participants", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "trust-registries", + "0x54fbcae07000375263eb8ac6da39b69f848d41e6c1160783073c0dc1a7fcaf72", + "participants" + ] + } + }, + "response": [] + }, + { + "name": "Assign schemas to participants", + "request": { + "method": "PATCH", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"verifierSchemas\": [\n \"https://schema.dock.io/VPINEWTestSchema-V1-1723559642963.json\"\n ]\n}\n", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{BaseUrl}}/trust-registries/0x54fbcae07000375263eb8ac6da39b69f848d41e6c1160783073c0dc1a7fcaf72/participants/23edb4c6-50b3-44a9-9d29-ab1a6c19ce9d", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "trust-registries", + "0x54fbcae07000375263eb8ac6da39b69f848d41e6c1160783073c0dc1a7fcaf72", + "participants", + "23edb4c6-50b3-44a9-9d29-ab1a6c19ce9d" + ] + } + }, + "response": [] + }, + { + "name": "Assign Prices to Schemas", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"currency\": \"USD\",\n \"digits\": 99000000\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{BaseUrl}}/trust-registries/0x54fbcae07000375263eb8ac6da39b69f848d41e6c1160783073c0dc1a7fcaf72/schemas/https%3A%2F%2Fschema.dock.io%2FVPINEWTestSchema-V1-1723559642963.json/price", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "trust-registries", + "0x54fbcae07000375263eb8ac6da39b69f848d41e6c1160783073c0dc1a7fcaf72", + "schemas", + "https%3A%2F%2Fschema.dock.io%2FVPINEWTestSchema-V1-1723559642963.json", + "price" + ] + } + }, + "response": [] + }, + { + "name": "Schemas assigned to Ecosystem", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{BaseUrl}}/trust-registries/0x54fbcae07000375263eb8ac6da39b69f848d41e6c1160783073c0dc1a7fcaf72/schemas", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "trust-registries", + "0x54fbcae07000375263eb8ac6da39b69f848d41e6c1160783073c0dc1a7fcaf72", + "schemas" + ] + } + }, + "response": [] + }, + { + "name": "Issue KVAC credential", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"persist\": true,\n \"password\": \"1234\",\n \"anchor\": false,\n \"recipientEmail\":\"agelzinyte@gmail.com\",\n \"distribute\": true,\n \"format\": \"jsonld\",\n \"algorithm\": \"bbdt16\",\n \"credential\": {\n \"name\": \"KVAC test credential\",\n \"description\": \"describing vpi test credential\",\n \"schema\": \"https://schema.dock.io/VPINEWTestSchema-V1-1723559642963.json\",\n \"type\": [\n \"VPITestSchema\"\n ],\n \"subject\": {\n \"id\":\"agelzinyte@gmail.com\",\n \"emailAddress\":\"agelzinyte@gmail.com\",\n \"alumniOf\":\"University of Vilnius\"\n },\n \"issuer\": \"did:dock:5DciJXakYFsCfpFzQzrHCdoRvRwi1gu2uUGJnys5Aj4cvWUx\",\n \"issuanceDate\": \"2024-08-13T17:27:35.610Z\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{BaseUrl}}/credentials", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "credentials" + ] + } + }, + "response": [] + }, + { + "name": "Create a proof template", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"VPI test proof template\",\n \"nonce\": \"1234567890\",\n \"request\": {\n \"name\": \"KVAC Request\",\n \"purpose\": \"KVAC purpose\",\n \"input_descriptors\": [\n {\n \"id\": \"Credential 1\",\n \"name\": \"KVAC Request\",\n \"purpose\": \"KVAC purpose\",\n \"constraints\": {\n \"fields\": [\n {\n \"path\": [\n \"$.credentialSchema.id\"\n ],\n \"filter\": {\n \"const\": \"https://schema.dock.io/VPINEWTestSchema-V1-1723559642963.json\"\n }\n }\n ]\n }\n }\n ]\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{BaseUrl}}/proof-templates", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "proof-templates" + ] + } + }, + "response": [] + }, + { + "name": "Create a proof request", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\n \"did\": \"did:dock:5HG6mthmkXVp61HAhthrHiDESWAGSdheKSQ6JM2sbK1JGv1s\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{BaseUrl}}/proof-templates/e180f9d8-b980-4444-a9c0-8d1243047aa1/request", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "proof-templates", + "e180f9d8-b980-4444-a9c0-8d1243047aa1", + "request" + ] + } + }, + "response": [] + }, + { + "name": "Billing report", + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{BaseUrl}}/trust-registries/0x54fbcae07000375263eb8ac6da39b69f848d41e6c1160783073c0dc1a7fcaf72/reports", + "host": [ + "{{BaseUrl}}" + ], + "path": [ + "trust-registries", + "0x54fbcae07000375263eb8ac6da39b69f848d41e6c1160783073c0dc1a7fcaf72", + "reports" + ] + } + }, + "response": [] + } + ], + "auth": { + "type": "apikey", + "apikey": [ + { + "key": "value", + "value": "{{ApiKey}}", + "type": "string" + }, + { + "key": "key", + "value": "DOCK-API-TOKEN", + "type": "string" + } + ] + }, + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "packages": {}, + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "packages": {}, + "exec": [ + "" + ] + } + } + ], + "variable": [ + { + "key": "ApiKey", + "value": "", + "type": "string" + }, + { + "key": "BaseUrl", + "value": "https://api-testnet.dock.io", + "type": "string" + }, + { + "key": "SchemaID", + "value": "https://schema.dock.io/VPITestSchema-V1-1723546475527.json", + "type": "string" + } + ] }