-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
infra: Restrict the available routes for LTC
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Routes | ||
# This file defines all application routes (Higher priority routes first) | ||
# https://www.playframework.com/documentation/latest/ScalaRouting | ||
# ~~~~ | ||
|
||
GET /health controllers.HealthController.check() | ||
# GET /maintenance controllers.MaintenanceController.run(query: String ?= "") | ||
|
||
GET /transactions/:txid controllers.TransactionsController.getTransaction(txid: String) | ||
GET /transactions/:txid/raw controllers.TransactionsController.getRawTransaction(txid: String) | ||
POST /transactions controllers.TransactionsController.sendRawTransaction() | ||
|
||
GET /addresses/:address controllers.AddressesController.getBy(address: String) | ||
GET /v2/addresses/:address/transactions controllers.AddressesController.getLightWalletTransactions(address: String, limit: Int ?= 10, lastSeenTxid: Option[String], order: String ?= "desc") | ||
|
||
GET /blocks controllers.BlocksController.getLatestBlocks() | ||
GET /blocks/:query controllers.BlocksController.getDetails(query: String) | ||
GET /blocks/:query/raw controllers.BlocksController.getRawBlock(query: String) | ||
GET /v2/blocks/:blockhash/transactions controllers.BlocksController.getTransactionsV2(blockhash: String, limit: Int ?= 10, lastSeenTxid: Option[String]) | ||
|
||
GET /stats controllers.StatisticsController.getStatus() | ||
|
||
GET /v2/balances controllers.BalancesController.getHighest(limit: Int ?= 10, lastSeenAddress: Option[String]) |
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