Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,36 @@
}
}
},
"/app/subLedgerIds": {
"get": {
"operationId": "ConfidentialLedger_GetSubLedgerIds",
"x-ms-examples": {
"GetSubLedgerIds": {
"$ref": "./examples/ledger/GetSubLedgerIds.json"
Comment thread
deer-prudence marked this conversation as resolved.
Outdated
}
},
"summary": "Retrieves the ids of subledgers",
Comment thread
deer-prudence marked this conversation as resolved.
Outdated
"description": "Subledgers are what we call the keys in our key-value storage.",
Comment thread
deer-prudence marked this conversation as resolved.
Outdated
"parameters": [
{
"$ref": "common.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "List of subLedgerIds",
"schema": {
"$ref": "#/definitions/SubLedgerIds"
}
},
"default": {
"description": "Error response describing why the operation failed",
"schema": {
"$ref": "common.json#/definitions/ConfidentialLedgerError"
}
}
}
},
"/app/users/{userId}": {
"delete": {
"operationId": "ConfidentialLedger_DeleteUser",
Expand Down Expand Up @@ -742,6 +772,21 @@
"description": "Identifier for sub-ledgers.",
"type": "string"
},
"SubLedgerIds": {
"description": "A list of identifiers for sub-ledgers.",
"required": [
"subLedgerIds"
],
"properties": {
"subLedgerIds": {
"type": "array",
"items": {
"$ref": "#/definitions/SubLedgerId"
}
}
},
"type": "object"
}
"TransactionId": {
"description": "A unique identifier for the state of the ledger. If returned as part of a LedgerEntry, it indicates the state from which the entry was read.",
"type": "string"
Expand Down