Skip to content

feat: expose providers host uris by attributes and signatures#3067

Draft
stalniy wants to merge 1 commit intomainfrom
feat/expose-providers-by-attributes
Draft

feat: expose providers host uris by attributes and signatures#3067
stalniy wants to merge 1 commit intomainfrom
feat/expose-providers-by-attributes

Conversation

@stalniy
Copy link
Copy Markdown
Contributor

@stalniy stalniy commented Apr 15, 2026

Why

ref CON-220

What

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 15, 2026

❌ 2 Tests Failed:

Tests completed Failed Passed Skipped
1206 2 1204 0
View the top 2 failed test(s) by shortest run time
test/functional/docs.spec.ts > API Docs > GET /v1/doc > returns docs with all routes expected
Stack Traces | 0.152s run time
Error: Snapshot `API Docs > GET /v1/doc > returns docs with all routes expected 1` mismatched

- Expected
+ Received

@@ -11612,10 +11612,101 @@
          "tags": [
            "Providers",
          ],
        },
      },
+     "/v1/providers-host-uri": {
+       "get": {
+         "parameters": [
+           {
+             "in": "query",
+             "name": "attr",
+             "required": false,
+             "schema": {
+               "anyOf": [
+                 {
+                   "type": "string",
+                 },
+                 {
+                   "items": {
+                     "type": "string",
+                   },
+                   "type": "array",
+                 },
+               ],
+               "default": [],
+             },
+           },
+           {
+             "in": "query",
+             "name": "signedByAllOf",
+             "required": false,
+             "schema": {
+               "anyOf": [
+                 {
+                   "type": "string",
+                 },
+                 {
+                   "items": {
+                     "type": "string",
+                   },
+                   "type": "array",
+                 },
+               ],
+             },
+           },
+           {
+             "in": "query",
+             "name": "signedByAnyOf",
+             "required": false,
+             "schema": {
+               "anyOf": [
+                 {
+                   "type": "string",
+                 },
+                 {
+                   "items": {
+                     "type": "string",
+                   },
+                   "type": "array",
+                 },
+               ],
+             },
+           },
+         ],
+         "responses": {
+           "200": {
+             "content": {
+               "application/json": {
+                 "schema": {
+                   "properties": {
+                     "data": {
+                       "items": {
+                         "type": "string",
+                       },
+                       "type": "array",
+                     },
+                   },
+                   "required": [
+                     "data",
+                   ],
+                   "type": "object",
+                 },
+               },
+             },
+             "description": "Returns a list of provider host URIs matching the given attributes and signatures",
+           },
+           "400": {
+             "description": "Invalid request",
+           },
+         },
+         "security": [],
+         "tags": [
+           "Providers",
+         ],
+       },
+     },
      "/v1/providers/{address}": {
        "get": {
          "parameters": [
            {
              "in": "path",

 ❯ test/functional/docs.spec.ts:13:20
test/functional/docs.spec.ts > test/functional/docs.spec.ts
Stack Traces | 22.7s run time
Error: Hook timed out in 20000ms.
If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout".
 ❯ test/setup-functional-tests.ts:43:1

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@stalniy stalniy marked this pull request as draft April 16, 2026 03:08
@stalniy
Copy link
Copy Markdown
Contributor Author

stalniy commented Apr 16, 2026

this one is on hold until we agree on the implementation path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants