HathorNetwork / hathor-explorer-service

MIT License
1 stars 3 forks source link

feat: add tokens endpoint and handler that connects to elasticsearch #138

Closed lucas3003 closed 2 years ago

lucas3003 commented 2 years ago

Acceptance Criteria

Hathor Explorer Service must be able to receive GET requests on /node_api/tokens, with the following parameters:

Parameter Description Required? Default
search_text Input text by user No Empty
sort_by Which field to sort No uid
order Order by asc or desc No asc
search_after Used for get next/previous page. Two strings separated by comma No Empty

With the given parameters, Hathor Explorer Service must be able to reach ElasticSearch and get the necessary information, parse and send to who called the API.