From cde3ec45d82ce7addecdf935e355901d527f37ed Mon Sep 17 00:00:00 2001 From: Enzo Cioppettini Date: Sat, 2 Mar 2024 13:06:29 -0300 Subject: [PATCH] update openapi.json --- docs/bin/openapi.json | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/docs/bin/openapi.json b/docs/bin/openapi.json index 42950f27..bbd79a6f 100644 --- a/docs/bin/openapi.json +++ b/docs/bin/openapi.json @@ -1111,6 +1111,16 @@ }, "TransactionInfo": { "properties": { + "inputCredentials": { + "items": { + "type": "string" + }, + "type": "array" + }, + "metadata": { + "type": "string", + "nullable": true + }, "payload": { "type": "string", "description": "cbor-encoded transaction", @@ -1166,10 +1176,35 @@ "description": "Filter which uses of the address are considered relevant for the query.\n\nThis is a bitmask, so you can combine multiple options\nex: `RelationFilterType.Input & RelationFilterType.Output`\n\nNote: relations only apply to credentials and not to full bech32 addresses", "pattern": "([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])" }, + "SlotLimits": { + "properties": { + "to": { + "type": "number", + "format": "double" + }, + "from": { + "type": "number", + "format": "double" + } + }, + "required": [ + "to", + "from" + ], + "type": "object" + }, "TransactionHistoryRequest": { "allOf": [ { "properties": { + "withInputContext": { + "type": "boolean", + "description": "If this is set to true, the result includes the input addresses (which are\nnot part of the tx), and the metadata (if any)" + }, + "slotLimits": { + "$ref": "#/components/schemas/SlotLimits", + "description": "This limits the transactions in the result to this range of slots.\nEverything else is filtered out" + }, "limit": { "type": "number", "format": "double",