-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLS 99 add endpoint for getting all messages for account (#2)
* added address/{hash}/messages endpoint * added requests for namespace and updated gitignore to ignore private configs * added requests for namespace * added convert from MsgAddress to response.Message * added filtering for addresses messages * added unit test for storage.Address.Messages * added unit test for address messages endpoint * updated api docs * updated docs
- Loading branch information
Showing
14 changed files
with
501 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,3 +26,4 @@ go.work | |
|
||
# IDE and other 3rd party tools | ||
.idea | ||
*.private.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
################################################ Local | ||
|
||
### GET All indexed addresses | ||
http://{{host}}/v1/address | ||
|
||
### Get count of all indexed addresses | ||
http://{{host}}/v1/address/count | ||
|
||
### Get specific address data | ||
http://{{host}}/v1/address/celestia1z4909eqzfzngegw43tr2vle7d69fhww4hmmusw | ||
|
||
### Get specific address transactions | ||
http://{{host}}/v1/address/celestia1z4909eqzfzngegw43tr2vle7d69fhww4hmmusw/txs | ||
|
||
### Get specific address messages | ||
http://{{host}}/v1/address/celestia1z4909eqzfzngegw43tr2vle7d69fhww4hmmusw/messages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
### GET namespace messages | ||
http://{{host}}/v1/namespace/00000000000000000000000000000000000042690c204d39600fddd3/0/messages?limit=2 | ||
|
||
### GET namespace messages | ||
http://{{host}}/v1/namespace/00000000000000000000000000000000000042690c204d39600fddd3/0/messages?limit=2 | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.