Skip to content

Commit

Permalink
[skip ci] Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
altitude authored and actions-user committed Jan 26, 2022
1 parent 7a3d914 commit 266c79e
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,50 @@ var doc = `{
}
}
},
"/{ledger}/transactions/batch": {
"post": {
"description": "Create a new ledger transactions batch\nCommit a batch of new transactions to the ledger",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"transactions"
],
"summary": "Create Transactions Batch",
"parameters": [
{
"type": "string",
"description": "ledger",
"name": "ledger",
"in": "path",
"required": true
},
{
"description": "transactions",
"name": "transactions",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/core.Transactions"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/controllers.BaseResponse"
}
},
"400": {
"description": ""
}
}
}
},
"/{ledger}/transactions/{txid}": {
"get": {
"description": "Get transaction by transaction id",
Expand Down Expand Up @@ -696,6 +740,20 @@ var doc = `{
}
}
},
"core.Transactions": {
"type": "object",
"required": [
"transactions"
],
"properties": {
"transactions": {
"type": "array",
"items": {
"$ref": "#/definitions/core.Transaction"
}
}
}
},
"ledger.Stats": {
"type": "object",
"properties": {
Expand Down

0 comments on commit 266c79e

Please sign in to comment.