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

Rework endpoints and support X-Api-Key header auth #69

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

0237h
Copy link
Collaborator

@0237h 0237h commented Aug 28, 2024

  • Added /transfers/account endpoint for transfers related to/from a given account.
  • Removed path parameter from /transfers/{trx_id}, now uses query parameter. Path changed to /transfers/id.
  • Removed from/to query parameters from /transfers and requires contract/symcode instead.
  • Added /balance/historical for block ranges queries.
  • Added X-Api-Key header authentication support for Swagger/GraphQL.
  • Fixed some endpoint return format
  • Only support a single chain, /chains changed to /head.
  • Updated GraphQL resolvers to support authentication parameters. Can also filter out some operations from the schema.
  • Removed unused TABLE env variable.

- Added `/transfers/account` endpoint for transfers related to/from a
given account.
- Removed path parameter from `/transfers/{trx_id}`, now uses query
parameter. Path changed to `/transfers/id`.
- Removed `from/to` query parameters from `/transfers` and requires
`contract/symcode` instead.
- Added `/balance/historical` for block ranges queries.
- Added `X-Api-Key` header authentication support for Swagger/GraphQL.
- Fixed some endpoint return format
- Only support a single chain, `/chains` changed to `/head`.
- Updated GraphQL resolvers to support authentication parameters. Can
also filter out some operations from the schema.
- Removed unused `TABLE` env variable.
@0237h 0237h self-assigned this Aug 28, 2024
@github-actions github-actions bot added documentation Improvements or additions to documentation feature New feature or request ops Related to repository operations labels Aug 28, 2024
@0237h 0237h removed documentation Improvements or additions to documentation ops Related to repository operations labels Aug 28, 2024
@0237h 0237h merged commit 442443a into main Aug 28, 2024
2 checks passed
@0237h 0237h deleted the feature/production-endpoints-rework branch August 28, 2024 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant