Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/transactions/count/{id} fails with "no such route" #1854

Open
davidyuk opened this issue Jul 23, 2024 · 2 comments
Open

/transactions/count/{id} fails with "no such route" #1854

davidyuk opened this issue Jul 23, 2024 · 2 comments
Assignees

Comments

@sborrazas
Copy link
Contributor

You need to use /v3/transactions/count?id=ak_... instead for this one

@sborrazas sborrazas self-assigned this Jul 23, 2024
@davidyuk
Copy link
Member Author

It really works this way! So, the issue is in open api definition, id is a path parameter there

    "/transactions/count/{id}": {
      "get": {
        "deprecated": false,
        "description": "Get transactions count and its type for given aeternity ID.",
        "operationId": "GetTransactionsCountById",
        "parameters": [
          {
            "description": "The ID of the address/name/oracle/etc",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string",
              "x-example": "ak_g5vQK6beY3vsTJHH7KBusesyzq9WMdEYorF8VyvZURXTjLnxT"
            }
          }
        ],
        "responses": {
          "200": {
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants