Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
update typo in endpoint doc
Browse files Browse the repository at this point in the history
  • Loading branch information
blade committed Mar 28, 2024
1 parent 0b27382 commit 4a62acf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/api-endpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The Gateway Server currently exposes all its API endpoints in form of HTTP endpo
|---------------------|-------------|----------------------------------------------------------------------------------------------------------------------------------------------------|-------------|------------------------------------------|
| `/relay/{chain_id}` | ANY | The main endpoint for your reverse proxy to send requests too | ANY | `{chain_id}` - Network identifier |
| `/metrics` | GET | Metadata on the gateway server performance for observability purposes | N/A | N/A |
| `/poktapp` | POST | Adds an existing app stake to the appstake database (not recommended due to security) | `x-api-key` | `private_key` - private key of app stake |
| `/poktapp` | DELETE | Removes an existing app stake from the appstake database (not recommended due to security) | `x-api-key` | `app_id` - id of the appstake |
| `/poktapp` | GET | A list of all the available app stakes | `x-api-key` | N/A |
| `/poktapps` | POST | Adds an existing app stake to the appstake database (not recommended due to security) | `x-api-key` | `private_key` - private key of app stake |
| `/poktapps` | DELETE | Removes an existing app stake from the appstake database (not recommended due to security) | `x-api-key` | `app_id` - id of the appstake |
| `/poktapps` | GET | A list of all the available app stakes | `x-api-key` | N/A |
| `/qosnodes` | GET | A list of nodes and public QoS state such as healthiness and last known error. This can be used to expose to node operators to improve visibility. | `x-api-key` | N/A |

0 comments on commit 4a62acf

Please sign in to comment.