cURL
curl --request GET \ --url http://localhost:55001/api/ledger/{ledger}/_info \ --header 'Authorization: Bearer <token>'
{ "data": { "name": "ledger001", "storage": { "migrations": [ { "version": 11, "name": "migrations:001", "date": "2023-11-07T05:31:56Z", "state": "TO DO" } ] } } }
The access token received from the authorization server in the OAuth 2.0 flow.
Name of the ledger.
"ledger001"
OK
The response is of type object.
object