Skip to content

Commit

Permalink
Add commitments/by-index/{index}/utxo-changes/full
Browse files Browse the repository at this point in the history
  • Loading branch information
jkrvivian committed Jan 9, 2024
1 parent 154e564 commit 24e6a29
Showing 1 changed file with 50 additions and 1 deletion.
51 changes: 50 additions & 1 deletion tips/TIP-0048/openapi3-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1251,7 +1251,56 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/InternalErrorResponse'

'/api/core/v3/commitments/by-index/{index}/utxo-changes/full':
get:
tags:
- commitments
summary: Get all UTXO changes of a given slot index.
description: Get all UTXO changes of a given slot index.
parameters:
- in: path
name: index
schema:
type: integer
example: 154862
required: true
description: Index of the commitment to look up.
responses:
'200':
description: "Successful operation."
content:
application/json:
schema:
$ref: '#/components/schemas/UTXOChangesFullResponse'
examples:
default:
$ref: >-
#/components/examples/get-utxo-changes-full-response-example
'400':
description: "Unsuccessful operation: indicates that the provided data is invalid."
content:
application/json:
schema:
$ref: '#/components/schemas/BadRequestResponse'
'403':
description: "Unsuccessful operation: indicates that the endpoint is not available for public use."
content:
application/json:
schema:
$ref: '#/components/schemas/ForbiddenResponse'
'404':
description: "Unsuccessful operation: indicates that the requested data was not found."
content:
application/json:
schema:
$ref: '#/components/schemas/NotFoundResponse'
'500':
description: "Unsuccessful operation: indicates that an unexpected, internal server error happened which prevented the node from fulfilling the request."
content:
application/json:
schema:
$ref: '#/components/schemas/InternalErrorResponse'

components:
examples:
get-routes-response-example:
Expand Down

0 comments on commit 24e6a29

Please sign in to comment.