From 6c5f0d1d23da48fd12e013ab19c53e75edec6b0a Mon Sep 17 00:00:00 2001 From: vikastc Date: Wed, 24 Jul 2024 17:14:09 +0530 Subject: [PATCH] chore: add postman collection json Signed-off-by: vikastc --- postman_collection.json | 128 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 postman_collection.json diff --git a/postman_collection.json b/postman_collection.json new file mode 100644 index 0000000..2c0428b --- /dev/null +++ b/postman_collection.json @@ -0,0 +1,128 @@ +{ + "client": "Thunder Client", + "collectionName": "Issuer_agent", + "dateExported": "2024-07-24T11:39:58.454Z", + "version": "1.1", + "folders": [], + "requests": [ + { + "_id": "142855a4-6200-4d99-8af6-924e7bee94c8", + "colId": "b3c41268-2ac5-48b5-89e0-a791b71cfa51", + "containerId": "", + "name": "schema", + "url": "localhost:5106/api/v1/schema", + "method": "POST", + "sortNum": 10000, + "created": "2023-04-17T10:39:58.018Z", + "modified": "2024-07-24T08:54:57.150Z", + "headers": [], + "params": [], + "body": { + "type": "json", + "raw": "{\n \"schema\": {\n \"title\": \"Test_3\",\n \"description\": \"Test_3\",\n \"properties\": {\n \"name\": { \"type\": \"string\"},\n \"age\": { \"type\": \"number\"}\n }\n }\n}", + "form": [] + }, + "tests": [] + }, + { + "_id": "da6fe476-5fee-43ba-a74f-ed1a5ecf018b", + "colId": "b3c41268-2ac5-48b5-89e0-a791b71cfa51", + "containerId": "", + "name": "getSchema", + "url": "localhost:5106/api/v1/schema/schema:cord:s33Nap3uKe3A3DTuroTEXFUBbkG5P3WRE9RcJFJDxh5Ktc14v", + "method": "GET", + "sortNum": 20000, + "created": "2023-05-05T09:02:34.428Z", + "modified": "2024-07-24T08:58:27.946Z", + "headers": [], + "params": [], + "tests": [] + }, + { + "_id": "d8441b86-f987-4213-9e93-aa7e51f365f2", + "colId": "b3c41268-2ac5-48b5-89e0-a791b71cfa51", + "containerId": "", + "name": "cred", + "url": "localhost:5106/api/v1/cred", + "method": "POST", + "sortNum": 30000, + "created": "2023-04-17T11:11:46.596Z", + "modified": "2024-07-24T08:55:45.194Z", + "headers": [], + "params": [], + "body": { + "type": "json", + "raw": "{\n \"schemaId\": \"schema:cord:s34ouTR2XCJprL48EbkyhNV4SSsbQU9JGN4KhJbAerz6wEVWC\",\n \"properties\": {\n \"name\": \"gon\",\n \"age\": 34\n }\n}", + "form": [] + }, + "tests": [] + }, + { + "_id": "11d547af-82c1-4a7f-9427-db679a08ce2b", + "colId": "b3c41268-2ac5-48b5-89e0-a791b71cfa51", + "containerId": "", + "name": "getCred", + "url": "localhost:5106/api/v1/cred/stmt:cord:s3dgvtunhXyxg5oBb1QNaqR9NvhF3tnQoLj2jmNBHiW4cYzby:d528de06ecb92d68b33c77c627c2dac6f08ed2507e4bd1ca00456f9635c94af6", + "method": "GET", + "sortNum": 31250, + "created": "2023-05-05T17:02:09.158Z", + "modified": "2024-07-24T09:08:08.863Z", + "headers": [], + "params": [], + "tests": [] + }, + { + "_id": "ff7ff89f-2afa-4253-93f9-d69bd7437a9a", + "colId": "b3c41268-2ac5-48b5-89e0-a791b71cfa51", + "containerId": "", + "name": "updateCred", + "url": "localhost:5106/api/v1/cred/update/stmt:cord:s3dgvtunhXyxg5oBb1QNaqR9NvhF3tnQoLj2jmNBHiW4cYzby:d528de06ecb92d68b33c77c627c2dac6f08ed2507e4bd1ca00456f9635c94af6", + "method": "PUT", + "sortNum": 32500, + "created": "2023-08-24T04:56:29.104Z", + "modified": "2024-07-24T09:20:33.358Z", + "headers": [], + "params": [], + "body": { + "type": "json", + "raw": "{\n \"properties\": {\n \"name\": \"test15\",\n \"age\": 22\n }\n}", + "form": [] + }, + "tests": [] + }, + { + "_id": "0d4899ec-c43d-48e3-b0df-2f3479347fb5", + "colId": "b3c41268-2ac5-48b5-89e0-a791b71cfa51", + "containerId": "", + "name": "revokeCred", + "url": "localhost:5106/api/v1/cred/revoke/stmt:cord:s3f5WBD1Gk2EzF867VyHpJmDA3vAQT2QqKSdubWy9RDyWmAKT:65f877b00c1b37ff8f309c988105d7ff06c1e9ea14b904654a52ee007608c1cf", + "method": "POST", + "sortNum": 35000, + "created": "2023-05-17T12:20:06.396Z", + "modified": "2024-07-24T08:53:51.086Z", + "headers": [], + "params": [], + "tests": [] + }, + { + "_id": "08c3b8f7-b673-4cd1-a0e8-61959557b77a", + "colId": "b3c41268-2ac5-48b5-89e0-a791b71cfa51", + "containerId": "", + "name": "docHash", + "url": "localhost:5106/api/v1/docHash", + "method": "POST", + "sortNum": 45000, + "created": "2024-03-20T10:55:16.153Z", + "modified": "2024-03-20T11:00:40.382Z", + "headers": [], + "params": [], + "body": { + "type": "json", + "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", + "form": [] + }, + "reqType": "post", + "tests": [] + } + ] +} \ No newline at end of file