Closed ges134 closed 5 years ago
GET: /api/ledgers takes in one parameter :
GET: /api/ledgers
The request should return the list of the endpoints in a sorted list ready to be rendered by the TreeSet.
The request should return: the ledger id, the name of the ledger and the depth (which is the number of parents the ledger has)
The request should also verify that it has the right access given the token and budget ID.
Ledger endpoint is still not made.
GET: /api/ledgers
takes in one parameter :The request should return the list of the endpoints in a sorted list ready to be rendered by the TreeSet.
The request should return: the ledger id, the name of the ledger and the depth (which is the number of parents the ledger has)
The request should also verify that it has the right access given the token and budget ID.