From 73d46d61640f9e6e5e4f82c541e4c0b16105b25d Mon Sep 17 00:00:00 2001 From: vbasiuk Date: Tue, 3 Sep 2024 17:22:59 +0300 Subject: [PATCH] e2e: migrate issuer server to API v2 --- .../http_nameservice.postman_collection.json | 27 ++++++++++--------- 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/tests/e2e/http_nameservice.postman_collection.json b/tests/e2e/http_nameservice.postman_collection.json index 796cf00..db933d3 100644 --- a/tests/e2e/http_nameservice.postman_collection.json +++ b/tests/e2e/http_nameservice.postman_collection.json @@ -61,12 +61,12 @@ } }, "url": { - "raw": "{{issuer_server}}/v1/identities", + "raw": "{{issuer_server}}/v2/identities", "host": [ "{{issuer_server}}" ], "path": [ - "v1", + "v2", "identities" ] } @@ -127,12 +127,12 @@ } }, "url": { - "raw": "{{issuer_server}}/v1/identities", + "raw": "{{issuer_server}}/v2/identities", "host": [ "{{issuer_server}}" ], "path": [ - "v1", + "v2", "identities" ] } @@ -386,14 +386,15 @@ } }, "url": { - "raw": "{{issuer_server}}/v1/{{issuer_identity}}/claims", + "raw": "{{issuer_server}}/v2/identities/{{issuer_identity}}/credentials", "host": [ "{{issuer_server}}" ], "path": [ - "v1", + "v2", + "identities", "{{issuer_identity}}", - "claims" + "credentials" ] } }, @@ -420,12 +421,13 @@ "method": "POST", "header": [], "url": { - "raw": "{{issuer_server}}/v1/{{issuer_identity}}/state/publish", + "raw": "{{issuer_server}}/v2/identities/{{issuer_identity}}/state/publish", "host": [ "{{issuer_server}}" ], "path": [ - "v1", + "v2", + "identities", "{{issuer_identity}}", "state", "publish" @@ -508,14 +510,15 @@ } }, "url": { - "raw": "{{issuer_server}}/v1/{{issuer_identity}}/claims/{{age_claim_non_merklized_id}}", + "raw": "{{issuer_server}}/v2/identities/{{issuer_identity}}/credentials/{{age_claim_non_merklized_id}}", "host": [ "{{issuer_server}}" ], "path": [ - "v1", + "v2", + "identities", "{{issuer_identity}}", - "claims", + "credentials", "{{age_claim_non_merklized_id}}" ] }