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

Bind to full prop namings in API v2 endpoints, pt. 2 #2429

Closed
tom2drum opened this issue Nov 27, 2024 · 0 comments · Fixed by #2430
Closed

Bind to full prop namings in API v2 endpoints, pt. 2 #2429

tom2drum opened this issue Nov 27, 2024 · 0 comments · Fixed by #2430
Assignees
Labels
pre-release Tasks in pre-release right now v1.36.4 Release v1.36.4

Comments

@tom2drum
Copy link
Collaborator

tom2drum commented Nov 27, 2024

In continuation of the issue #2374

Backend task blockscout/blockscout#10913

Starting from 6.9.0 of backend, all API v2 endpoints contains duplicates of shorthands of the props.

The general idea is to replace:

  • ...tx... and ...txn... with ...transaction...
  • ...num... with number.

The full set of renamings:

old prop name new prop name status comment
tx_tag transaction_tag
has_error_in_internal_txs has_error_in_internal_transactions prop is not used
index_int_tx_desc_order index_internal_transaction_desc_order prop is not used
block block_number where block number is returned, not block object: internal transaction and transaction views. Both view are used in list and single object API endpoints
tx_types transaction_types

Please bind to new props in API endpoints. The next (6.10.0) release of the backend will remove old prop names.

@tom2drum tom2drum self-assigned this Nov 27, 2024
@github-actions github-actions bot added the v1.36.4 Release v1.36.4 label Nov 29, 2024
@github-actions github-actions bot added the pre-release Tasks in pre-release right now label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pre-release Tasks in pre-release right now v1.36.4 Release v1.36.4
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant