Skip to content

Documentation for including failed data references the wrong key #88

Closed

Description

@RaghavSood

What did you do?

The include_failed parameter on various endpoints, such as transactions and operations, is documented as includefailed.

Example: https://developers.stellar.org/api/resources/get-operations-by-account-id

What did you expect to see?

The parameter key should be include_failed.

What did you see instead?

The documentation reflects it as includefailed.

Using the parameter as documented doesn't work

With include_failed: https://horizon.stellar.org/accounts/GBFVU7QY6EMTYSF3WKH54CO5CE46BC72HOKZBBXH5YBJBLDVT3RNSNM2/operations?cursor=122568453843611647&limit=2&include_failed=true

With includefailed: https://horizon.stellar.org/accounts/GBFVU7QY6EMTYSF3WKH54CO5CE46BC72HOKZBBXH5YBJBLDVT3RNSNM2/operations?cursor=122568453843611647&limit=2&includefailed=true

The transaction 3cdbcbef533c834095cee2719b812d51394f95043e17e0f92a5251faf5b318f5 is only reflected when the correct parameter name is used, as expected

Activity

  1. added
    bug
    on Mar 4, 2023
  2. ElliotFriend commented on Mar 6, 2023

    @ElliotFriend
    Contributor

    @RaghavSood Thanks for pointing this out! I've opened a PR that should address this issue: #89

    If possible, would you take a look at the preview to see if that has resolved the problem where you noticed it?

    Edit: Here's the preview URL http://developers-pr89.previews.kube001.services.stellar-ops.com/

  3. briwylde08 commented on Mar 16, 2023

    @briwylde08
    Contributor

    Done with #89

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions