From cafd5e012da9105f3427dab1879a16fdebde8772 Mon Sep 17 00:00:00 2001 From: Christoph Kappestein Date: Wed, 9 Oct 2024 22:23:37 +0200 Subject: [PATCH] fix tests --- src/Parser/OpenAPI.php | 43 +- src/Transformer/OpenAPI.php | 2 +- tests/Inspector/DevLifterTest.php | 2 +- tests/Parser/OpenAPITest.php | 8 +- .../openapi/expect/00_openapi.json | 5377 ++++++++++------- 5 files changed, 3289 insertions(+), 2143 deletions(-) diff --git a/src/Parser/OpenAPI.php b/src/Parser/OpenAPI.php index 02d69db..ec7d189 100644 --- a/src/Parser/OpenAPI.php +++ b/src/Parser/OpenAPI.php @@ -54,6 +54,7 @@ use PSX\Schema\DefinitionsInterface; use PSX\Schema\Exception\InvalidSchemaException; use PSX\Schema\Exception\TypeNotFoundException; +use PSX\Schema\Exception\UnknownTypeException; use PSX\Schema\Inspector\Hash; use PSX\Schema\Parser as SchemaParser; use PSX\Schema\Parser\ContextInterface; @@ -62,10 +63,12 @@ use PSX\Schema\SchemaTraverser; use PSX\Schema\Type\ArrayType; use PSX\Schema\Type\ArrayTypeInterface; +use PSX\Schema\Type\DefinitionTypeAbstract; use PSX\Schema\Type\Factory\PropertyTypeFactory; use PSX\Schema\Type\IntersectionType; use PSX\Schema\Type\MapType; use PSX\Schema\Type\MapTypeInterface; +use PSX\Schema\Type\PropertyTypeAbstract; use PSX\Schema\Type\ReferencePropertyType; use PSX\Schema\Type\ReferenceType; use PSX\Schema\Type\StructDefinitionType; @@ -376,8 +379,9 @@ private function parseResponseInRange(OpenAPIOperation $operation, int $start, i /** * @throws InvalidSchemaException + * @throws UnknownTypeException */ - private function getSchemaFromMediaTypes(MediaTypes $mediaTypes): ?TypeInterface + private function getSchemaFromMediaTypes(MediaTypes $mediaTypes): ?PropertyTypeAbstract { $mediaType = $mediaTypes['application/json'] ?? null; if (!$mediaType instanceof MediaType) { @@ -389,9 +393,12 @@ private function getSchemaFromMediaTypes(MediaTypes $mediaTypes): ?TypeInterface return null; } - $type = $this->schemaParser->parsePropertyType($schema); - - return $this->transformInlineStruct($type); + try { + return $this->schemaParser->parsePropertyType($schema); + } catch (UnknownTypeException $e) { + $type = $this->schemaParser->parseDefinitionType($schema); + return $this->transformInlineStruct($type); + } } /** @@ -400,30 +407,14 @@ private function getSchemaFromMediaTypes(MediaTypes $mediaTypes): ?TypeInterface * * @throws InvalidSchemaException */ - private function transformInlineStruct(TypeInterface $type): TypeInterface + private function transformInlineStruct(DefinitionTypeAbstract $type): PropertyTypeAbstract { - if ($type instanceof StructDefinitionType) { - // we have an inline struct type we automatically add this ot the definitions, since we have no name we generate - // it based on the type, this should motivate users to move the definition to the components section - $typeName = 'Inline' . substr($this->hashInspector->generateByType($type), 0, 8); - $this->definitions->addType($typeName, $type); - - return TypeFactory::getReference($typeName); - } elseif ($type instanceof MapTypeInterface) { - $schema = $type->getSchema(); - if ($schema instanceof TypeInterface) { - $r = $this->transformInlineStruct($schema); - return TypeFactory::getMap($r); - } - } elseif ($type instanceof ArrayTypeInterface) { - $schema = $type->getSchema(); - if ($schema instanceof TypeInterface) { - $r = $this->transformInlineStruct($schema); - return TypeFactory::getArray($r); - } - } + // we have an inline struct type we automatically add this ot the definitions, since we have no name we generate + // it based on the type, this should motivate users to move the definition to the components section + $typeName = 'Inline' . substr($this->hashInspector->generateByType($type), 0, 8); + $this->definitions->addType($typeName, $type); - return $type; + return PropertyTypeFactory::getReference($typeName); } private function resolveReference(string $reference) diff --git a/src/Transformer/OpenAPI.php b/src/Transformer/OpenAPI.php index 3a5042a..d78f62f 100644 --- a/src/Transformer/OpenAPI.php +++ b/src/Transformer/OpenAPI.php @@ -77,7 +77,7 @@ public function transformOperation(\stdClass $operation, \stdClass $spec): void if ($schema instanceof \stdClass) { $result = $this->transformer->transform($schema); - $response->content->{'application/json'}->schema = ['$ref' => $result->{'$ref'}]; + $response->content->{'application/json'}->schema = ['$ref' => $result->{'root'}]; foreach ($result->definitions as $name => $type) { $spec->components->schemas->{$name} = $type; diff --git a/tests/Inspector/DevLifterTest.php b/tests/Inspector/DevLifterTest.php index f7aac74..50f4f14 100644 --- a/tests/Inspector/DevLifterTest.php +++ b/tests/Inspector/DevLifterTest.php @@ -41,7 +41,7 @@ public function testGenerate() $lifter = new DevLifter(); $actual = $lifter->elevate('0.1.0', $left, $right); - $expect = '0.2.0'; + $expect = '0.1.1'; $this->assertEquals($expect, $actual); } diff --git a/tests/Parser/OpenAPITest.php b/tests/Parser/OpenAPITest.php index 3a565e3..f4b18f5 100644 --- a/tests/Parser/OpenAPITest.php +++ b/tests/Parser/OpenAPITest.php @@ -91,15 +91,15 @@ public function testParseInline() $this->assertTrue($operation->getArguments()->isEmpty()); $this->assertEquals(200, $operation->getReturn()->getCode()); - $this->assertEquals(['$ref' => 'Inline01fd4b61'], $operation->getReturn()->getSchema()->toArray()); + $this->assertEquals(['type' => 'reference', 'target' => 'Inline01fd4b61'], $operation->getReturn()->getSchema()->toArray()); $this->assertCount(0, $operation->getThrows()); $this->assertEquals([ - 'type' => 'object', + 'type' => 'struct', 'properties' => [ - 'success' => TypeFactory::getBoolean(), - 'message' => TypeFactory::getString(), + 'success' => PropertyTypeFactory::getBoolean(), + 'message' => PropertyTypeFactory::getString(), ], ], $definitions->getType('Inline01fd4b61')->toArray()); } diff --git a/tests/Transformer/openapi/expect/00_openapi.json b/tests/Transformer/openapi/expect/00_openapi.json index 03e6d46..77f53b5 100644 --- a/tests/Transformer/openapi/expect/00_openapi.json +++ b/tests/Transformer/openapi/expect/00_openapi.json @@ -1,16 +1,16 @@ { "openapi": "3.0.3", "info": { - "description": "### EOSIO Contract API\n*Made with \u2665\ufe0f by [pink.gg](https:\/\/pink.gg\/)*\n#### Current Chain: wax-mainnet\n#### Provided by: [Zeptagram](https:\/\/zeptagram.com)", + "description": "### EOSIO Contract API\n*Made with ♥️ by [pink.gg](https://pink.gg/)*\n#### Current Chain: wax-mainnet\n#### Provided by: [Zeptagram](https://zeptagram.com)", "version": "1.2.12", "title": "EOSIO Contract API" }, "servers": [ { - "url": "https:\/\/wmnft.zeptagram.com" + "url": "https://wmnft.zeptagram.com" }, { - "url": "http:\/\/wmnft.zeptagram.com" + "url": "http://wmnft.zeptagram.com" } ], "tags": [ @@ -108,13 +108,13 @@ } ], "paths": { - "\/atomicassets\/v1\/assets": { + "/atomicassets/v1/assets": { "get": { "tags": [ "assets" ], "summary": "Fetch assets.", - "description": "You can filter the result by specific asset \/ template data fields.You can add for example &template_data.rarity=common to only receive results which have an attribute \"rarity\" with the value \"common\". You can query specific asset data by using &immutable_data.rarity=common or &mutable_data.rarity=common .If you want to query a non text type you need to specify it explicitly (defaults to text type) like data:bool.foil=true or data:number.id=4 or data:text.rarity=common. Integers which are defined greater than 32 bit (eg 64 bit) in the schema need to be queried as text.", + "description": "You can filter the result by specific asset / template data fields.You can add for example &template_data.rarity=common to only receive results which have an attribute \"rarity\" with the value \"common\". You can query specific asset data by using &immutable_data.rarity=common or &mutable_data.rarity=common .If you want to query a non text type you need to specify it explicitly (defaults to text type) like data:bool.foil=true or data:number.id=4 or data:text.rarity=common. Integers which are defined greater than 32 bit (eg 64 bit) in the schema need to be queried as text.", "parameters": [ { "name": "collection_name", @@ -434,9 +434,25 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline7013859f" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Asset" + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -444,9 +460,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -454,7 +479,7 @@ } } }, - "\/atomicassets\/v1\/assets\/{asset_id}": { + "/atomicassets/v1/assets/{asset_id}": { "get": { "tags": [ "assets" @@ -475,9 +500,22 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2ea55b59" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "$ref": "#/components/schemas/Asset" + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -485,9 +523,18 @@ "416": { "description": "Element not found", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -495,9 +542,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -505,7 +561,7 @@ } } }, - "\/atomicassets\/v1\/assets\/{asset_id}\/stats": { + "/atomicassets/v1/assets/{asset_id}/stats": { "get": { "tags": [ "assets" @@ -526,9 +582,27 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline20d1dd35" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "object", + "properties": { + "template_mint": { + "type": "integer" + } + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -536,9 +610,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -546,7 +629,7 @@ } } }, - "\/atomicassets\/v1\/assets\/{asset_id}\/logs": { + "/atomicassets/v1/assets/{asset_id}/logs": { "get": { "tags": [ "assets" @@ -619,9 +702,25 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline3fd53df7" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Log" + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -629,9 +728,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -639,7 +747,7 @@ } } }, - "\/atomicassets\/v1\/collections": { + "/atomicassets/v1/collections": { "get": { "tags": [ "collections" @@ -798,9 +906,25 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inlinecae37d48" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Collection" + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -808,9 +932,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -818,7 +951,7 @@ } } }, - "\/atomicassets\/v1\/collections\/{collection_name}": { + "/atomicassets/v1/collections/{collection_name}": { "get": { "tags": [ "collections" @@ -839,9 +972,22 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inlineb3b9967c" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "$ref": "#/components/schemas/Collection" + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -849,9 +995,18 @@ "416": { "description": "Element not found", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -859,9 +1014,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -869,7 +1033,7 @@ } } }, - "\/atomicassets\/v1\/collections\/{collection_name}\/stats": { + "/atomicassets/v1/collections/{collection_name}/stats": { "get": { "tags": [ "collections" @@ -890,9 +1054,36 @@ "200": { "description": "OK", "content": { - "application\/json": { - "schema": { - "$ref": "Inline28cb2593" + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "object", + "properties": { + "assets": { + "type": "string" + }, + "burned": { + "type": "string" + }, + "templates": { + "type": "string" + }, + "schemas": { + "type": "string" + } + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -900,9 +1091,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -910,7 +1110,7 @@ } } }, - "\/atomicassets\/v1\/collections\/{collection_name}\/logs": { + "/atomicassets/v1/collections/{collection_name}/logs": { "get": { "tags": [ "collections" @@ -983,9 +1183,25 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline3fd53df7" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Log" + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -993,9 +1209,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -1003,7 +1228,7 @@ } } }, - "\/atomicassets\/v1\/schemas": { + "/atomicassets/v1/schemas": { "get": { "tags": [ "schemas" @@ -1162,9 +1387,25 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2734e4b8" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Schema" + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -1172,9 +1413,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -1182,7 +1432,7 @@ } } }, - "\/atomicassets\/v1\/schemas\/{collection_name}\/{schema_name}": { + "/atomicassets/v1/schemas/{collection_name}/{schema_name}": { "get": { "tags": [ "schemas" @@ -1212,9 +1462,22 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inlinea2fe30b0" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "$ref": "#/components/schemas/Schema" + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -1222,9 +1485,18 @@ "416": { "description": "Element not found", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -1232,9 +1504,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -1242,7 +1523,7 @@ } } }, - "\/atomicassets\/v1\/schemas\/{collection_name}\/{schema_name}\/stats": { + "/atomicassets/v1/schemas/{collection_name}/{schema_name}/stats": { "get": { "tags": [ "schemas" @@ -1272,9 +1553,33 @@ "200": { "description": "OK", "content": { - "application\/json": { - "schema": { - "$ref": "Inline1b899a72" + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "object", + "properties": { + "assets": { + "type": "string" + }, + "burned": { + "type": "string" + }, + "templates": { + "type": "string" + } + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -1282,9 +1587,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -1292,7 +1606,7 @@ } } }, - "\/atomicassets\/v1\/schemas\/{collection_name}\/{schema_name}\/logs": { + "/atomicassets/v1/schemas/{collection_name}/{schema_name}/logs": { "get": { "tags": [ "schemas" @@ -1374,9 +1688,25 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline3fd53df7" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Log" + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -1384,9 +1714,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -1394,13 +1733,13 @@ } } }, - "\/atomicassets\/v1\/templates": { + "/atomicassets/v1/templates": { "get": { "tags": [ "templates" ], "summary": "Fetch templates.", - "description": "You can filter the result by specific asset \/ template data fields.You can add for example &template_data.rarity=common to only receive results which have an attribute \"rarity\" with the value \"common\". You can query specific asset data by using &immutable_data.rarity=common or &mutable_data.rarity=common .If you want to query a non text type you need to specify it explicitly (defaults to text type) like data:bool.foil=true or data:number.id=4 or data:text.rarity=common. Integers which are defined greater than 32 bit (eg 64 bit) in the schema need to be queried as text.", + "description": "You can filter the result by specific asset / template data fields.You can add for example &template_data.rarity=common to only receive results which have an attribute \"rarity\" with the value \"common\". You can query specific asset data by using &immutable_data.rarity=common or &mutable_data.rarity=common .If you want to query a non text type you need to specify it explicitly (defaults to text type) like data:bool.foil=true or data:number.id=4 or data:text.rarity=common. Integers which are defined greater than 32 bit (eg 64 bit) in the schema need to be queried as text.", "parameters": [ { "name": "collection_name", @@ -1617,9 +1956,25 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline1a1c0c3e" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Template" + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -1627,9 +1982,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -1637,7 +2001,7 @@ } } }, - "\/atomicassets\/v1\/templates\/{collection_name}\/{template_id}": { + "/atomicassets/v1/templates/{collection_name}/{template_id}": { "get": { "tags": [ "templates" @@ -1667,9 +2031,22 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inlined7b3950c" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "$ref": "#/components/schemas/Template" + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -1677,9 +2054,18 @@ "416": { "description": "Element not found", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -1687,9 +2073,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -1697,7 +2092,7 @@ } } }, - "\/atomicassets\/v1\/templates\/{collection_name}\/{template_id}\/stats": { + "/atomicassets/v1/templates/{collection_name}/{template_id}/stats": { "get": { "tags": [ "templates" @@ -1727,9 +2122,30 @@ "200": { "description": "OK", "content": { - "application\/json": { - "schema": { - "$ref": "Inlineacc80e6b" + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "object", + "properties": { + "assets": { + "type": "string" + }, + "burned": { + "type": "string" + } + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -1737,9 +2153,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -1747,7 +2172,7 @@ } } }, - "\/atomicassets\/v1\/templates\/{collection_name}\/{template_id}\/logs": { + "/atomicassets/v1/templates/{collection_name}/{template_id}/logs": { "get": { "tags": [ "templates" @@ -1829,9 +2254,25 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline3fd53df7" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Log" + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -1839,9 +2280,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -1849,7 +2299,7 @@ } } }, - "\/atomicassets\/v1\/offers": { + "/atomicassets/v1/offers": { "get": { "tags": [ "offers" @@ -2116,9 +2566,25 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline636db0a6" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Offer" + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -2126,9 +2592,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -2136,7 +2611,7 @@ } } }, - "\/atomicassets\/v1\/offers\/{offer_id}": { + "/atomicassets/v1/offers/{offer_id}": { "get": { "tags": [ "offers" @@ -2157,9 +2632,22 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inlinec16cb6b4" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "$ref": "#/components/schemas/Offer" + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -2167,9 +2655,18 @@ "416": { "description": "Element not found", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -2177,9 +2674,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -2187,7 +2693,7 @@ } } }, - "\/atomicassets\/v1\/offers\/{offer_id}\/logs": { + "/atomicassets/v1/offers/{offer_id}/logs": { "get": { "tags": [ "offers" @@ -2260,9 +2766,25 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline3fd53df7" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Log" + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -2270,9 +2792,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -2280,7 +2811,7 @@ } } }, - "\/atomicassets\/v1\/transfers": { + "/atomicassets/v1/transfers": { "get": { "tags": [ "transfers" @@ -2474,9 +3005,25 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline311842ae" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Transfer" + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -2484,9 +3031,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -2494,7 +3050,7 @@ } } }, - "\/atomicassets\/v1\/accounts": { + "/atomicassets/v1/accounts": { "get": { "tags": [ "accounts" @@ -2630,9 +3186,33 @@ "200": { "description": "OK", "content": { - "application\/json": { - "schema": { - "$ref": "Inlineffeae89e" + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "account": { + "type": "string" + }, + "assets": { + "type": "string" + } + } + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -2640,9 +3220,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -2650,7 +3239,7 @@ } } }, - "\/atomicassets\/v1\/accounts\/{account}": { + "/atomicassets/v1/accounts/{account}": { "get": { "tags": [ "accounts" @@ -2698,9 +3287,58 @@ "200": { "description": "OK", "content": { - "application\/json": { - "schema": { - "$ref": "Inlineb948cb9b" + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "collections": { + "type": "array", + "items": { + "type": "object", + "properties": { + "collection": { + "$ref": "#/components/schemas/Collection" + }, + "assets": { + "type": "string" + } + } + } + }, + "templates": { + "type": "array", + "items": { + "type": "object", + "properties": { + "template_id": { + "type": "string" + }, + "assets": { + "type": "string" + } + } + } + }, + "assets": { + "type": "string" + } + } + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -2708,9 +3346,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -2718,7 +3365,7 @@ } } }, - "\/atomicassets\/v1\/accounts\/{account}\/{collection_name}": { + "/atomicassets/v1/accounts/{account}/{collection_name}": { "get": { "tags": [ "accounts" @@ -2748,9 +3395,55 @@ "200": { "description": "OK", "content": { - "application\/json": { - "schema": { - "$ref": "Inline87e7e216" + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "templates": { + "type": "array", + "items": { + "type": "object", + "properties": { + "template_id": { + "type": "string" + }, + "assets": { + "type": "string" + } + } + } + }, + "schemas": { + "type": "array", + "items": { + "type": "object", + "properties": { + "schema_name": { + "type": "string" + }, + "assets": { + "type": "string" + } + } + } + } + } + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -2758,9 +3451,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -2768,7 +3470,7 @@ } } }, - "\/atomicassets\/v1\/burns": { + "/atomicassets/v1/burns": { "get": { "tags": [ "burns" @@ -2886,9 +3588,33 @@ "200": { "description": "OK", "content": { - "application\/json": { - "schema": { - "$ref": "Inlineffeae89e" + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "account": { + "type": "string" + }, + "assets": { + "type": "string" + } + } + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -2896,9 +3622,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -2906,7 +3641,7 @@ } } }, - "\/atomicassets\/v1\/burns\/{account}": { + "/atomicassets/v1/burns/{account}": { "get": { "tags": [ "burns" @@ -2954,9 +3689,61 @@ "200": { "description": "OK", "content": { - "application\/json": { - "schema": { - "$ref": "Inlined52801ac" + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "collections": { + "type": "array", + "items": { + "type": "object", + "properties": { + "collection_name": { + "type": "string" + }, + "assets": { + "type": "string" + } + } + } + }, + "templates": { + "type": "array", + "items": { + "type": "object", + "properties": { + "collection_name": { + "type": "string" + }, + "template_id": { + "type": "string" + }, + "assets": { + "type": "string" + } + } + } + }, + "assets": { + "type": "string" + } + } + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -2964,9 +3751,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -2974,7 +3770,7 @@ } } }, - "\/atomicassets\/v1\/config": { + "/atomicassets/v1/config": { "get": { "tags": [ "config" @@ -2984,9 +3780,61 @@ "200": { "description": "OK", "content": { - "application\/json": { - "schema": { - "$ref": "Inline1124b387" + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "object", + "properties": { + "contract": { + "type": "string" + }, + "version": { + "type": "string" + }, + "collection_format": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + } + } + } + }, + "supported_tokens": { + "type": "array", + "items": { + "type": "object", + "properties": { + "token_contract": { + "type": "string" + }, + "token_symbol": { + "type": "string" + }, + "token_precision": { + "type": "integer" + } + } + } + } + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -2994,9 +3842,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -3004,13 +3861,13 @@ } } }, - "\/atomicmarket\/v1\/sales": { + "/atomicmarket/v1/sales": { "get": { "tags": [ "sales" ], "summary": "Get all sales. ", - "description": "You can filter the result by specific asset \/ template data fields.You can add for example &template_data.rarity=common to only receive results which have an attribute \"rarity\" with the value \"common\". You can query specific asset data by using &immutable_data.rarity=common or &mutable_data.rarity=common .If you want to query a non text type you need to specify it explicitly (defaults to text type) like data:bool.foil=true or data:number.id=4 or data:text.rarity=common. Integers which are defined greater than 32 bit (eg 64 bit) in the schema need to be queried as text.", + "description": "You can filter the result by specific asset / template data fields.You can add for example &template_data.rarity=common to only receive results which have an attribute \"rarity\" with the value \"common\". You can query specific asset data by using &immutable_data.rarity=common or &mutable_data.rarity=common .If you want to query a non text type you need to specify it explicitly (defaults to text type) like data:bool.foil=true or data:number.id=4 or data:text.rarity=common. Integers which are defined greater than 32 bit (eg 64 bit) in the schema need to be queried as text.", "parameters": [ { "name": "state", @@ -3419,9 +4276,25 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline563c4072" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Sale" + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -3429,9 +4302,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -3439,13 +4321,13 @@ } } }, - "\/atomicmarket\/v1\/sales\/templates": { + "/atomicmarket/v1/sales/templates": { "get": { "tags": [ "sales" ], "summary": "Get the cheapest sale grouped by templates. ", - "description": "You can filter the result by specific asset \/ template data fields.You can add for example &template_data.rarity=common to only receive results which have an attribute \"rarity\" with the value \"common\". You can query specific asset data by using &immutable_data.rarity=common or &mutable_data.rarity=common .If you want to query a non text type you need to specify it explicitly (defaults to text type) like data:bool.foil=true or data:number.id=4 or data:text.rarity=common. Integers which are defined greater than 32 bit (eg 64 bit) in the schema need to be queried as text.", + "description": "You can filter the result by specific asset / template data fields.You can add for example &template_data.rarity=common to only receive results which have an attribute \"rarity\" with the value \"common\". You can query specific asset data by using &immutable_data.rarity=common or &mutable_data.rarity=common .If you want to query a non text type you need to specify it explicitly (defaults to text type) like data:bool.foil=true or data:number.id=4 or data:text.rarity=common. Integers which are defined greater than 32 bit (eg 64 bit) in the schema need to be queried as text.", "parameters": [ { "name": "symbol", @@ -3689,9 +4571,25 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline563c4072" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Sale" + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -3699,9 +4597,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -3709,7 +4616,7 @@ } } }, - "\/atomicmarket\/v1\/sales\/{sale_id}": { + "/atomicmarket/v1/sales/{sale_id}": { "get": { "tags": [ "sales" @@ -3730,9 +4637,22 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline4a0559e2" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "$ref": "#/components/schemas/Sale" + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -3740,9 +4660,18 @@ "416": { "description": "Element not found", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -3750,9 +4679,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -3760,7 +4698,7 @@ } } }, - "\/atomicmarket\/v1\/sales\/{sale_id}\/logs": { + "/atomicmarket/v1/sales/{sale_id}/logs": { "get": { "tags": [ "sales" @@ -3833,9 +4771,25 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline3fd53df7" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Log" + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -3843,9 +4797,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -3853,13 +4816,13 @@ } } }, - "\/atomicmarket\/v1\/auctions": { + "/atomicmarket/v1/auctions": { "get": { "tags": [ "auctions" ], "summary": "Get all auctions.", - "description": "You can filter the result by specific asset \/ template data fields.You can add for example &template_data.rarity=common to only receive results which have an attribute \"rarity\" with the value \"common\". You can query specific asset data by using &immutable_data.rarity=common or &mutable_data.rarity=common .If you want to query a non text type you need to specify it explicitly (defaults to text type) like data:bool.foil=true or data:number.id=4 or data:text.rarity=common. Integers which are defined greater than 32 bit (eg 64 bit) in the schema need to be queried as text.", + "description": "You can filter the result by specific asset / template data fields.You can add for example &template_data.rarity=common to only receive results which have an attribute \"rarity\" with the value \"common\". You can query specific asset data by using &immutable_data.rarity=common or &mutable_data.rarity=common .If you want to query a non text type you need to specify it explicitly (defaults to text type) like data:bool.foil=true or data:number.id=4 or data:text.rarity=common. Integers which are defined greater than 32 bit (eg 64 bit) in the schema need to be queried as text.", "parameters": [ { "name": "state", @@ -3882,7 +4845,7 @@ { "name": "participant", "in": "query", - "description": "Filter by auctions where this account participated and can still claim \/ bid", + "description": "Filter by auctions where this account participated and can still claim / bid", "required": false, "schema": { "type": "string" @@ -4287,9 +5250,25 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline5d957a23" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Auction" + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -4297,9 +5276,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -4307,7 +5295,7 @@ } } }, - "\/atomicmarket\/v1\/auctions\/{auction_id}": { + "/atomicmarket/v1/auctions/{auction_id}": { "get": { "tags": [ "auctions" @@ -4328,9 +5316,22 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline07db2bcf" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "$ref": "#/components/schemas/Auction" + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -4338,9 +5339,18 @@ "416": { "description": "Element not found", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -4348,9 +5358,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -4358,7 +5377,7 @@ } } }, - "\/atomicmarket\/v1\/auctions\/{auction_id}\/logs": { + "/atomicmarket/v1/auctions/{auction_id}/logs": { "get": { "tags": [ "auctions" @@ -4431,9 +5450,25 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline3fd53df7" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Log" + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -4441,9 +5476,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -4451,13 +5495,13 @@ } } }, - "\/atomicmarket\/v1\/buyoffers": { + "/atomicmarket/v1/buyoffers": { "get": { "tags": [ "buyoffers" ], "summary": "Get all buyoffers.", - "description": "You can filter the result by specific asset \/ template data fields.You can add for example &template_data.rarity=common to only receive results which have an attribute \"rarity\" with the value \"common\". You can query specific asset data by using &immutable_data.rarity=common or &mutable_data.rarity=common .If you want to query a non text type you need to specify it explicitly (defaults to text type) like data:bool.foil=true or data:number.id=4 or data:text.rarity=common. Integers which are defined greater than 32 bit (eg 64 bit) in the schema need to be queried as text.", + "description": "You can filter the result by specific asset / template data fields.You can add for example &template_data.rarity=common to only receive results which have an attribute \"rarity\" with the value \"common\". You can query specific asset data by using &immutable_data.rarity=common or &mutable_data.rarity=common .If you want to query a non text type you need to specify it explicitly (defaults to text type) like data:bool.foil=true or data:number.id=4 or data:text.rarity=common. Integers which are defined greater than 32 bit (eg 64 bit) in the schema need to be queried as text.", "parameters": [ { "name": "state", @@ -4866,9 +5910,25 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline004e82a0" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Buyoffer" + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -4876,9 +5936,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -4886,7 +5955,7 @@ } } }, - "\/atomicmarket\/v1\/buyoffers\/{buyoffer_id}": { + "/atomicmarket/v1/buyoffers/{buyoffer_id}": { "get": { "tags": [ "buyoffers" @@ -4907,9 +5976,22 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline0841b879" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "$ref": "#/components/schemas/Buyoffer" + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -4917,9 +5999,18 @@ "416": { "description": "Element not found", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -4927,9 +6018,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -4937,7 +6037,7 @@ } } }, - "\/atomicmarket\/v1\/buyoffers\/{buyoffer_id}\/logs": { + "/atomicmarket/v1/buyoffers/{buyoffer_id}/logs": { "get": { "tags": [ "buyoffers" @@ -5010,9 +6110,25 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline3fd53df7" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Log" + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -5020,9 +6136,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -5030,7 +6155,7 @@ } } }, - "\/atomicmarket\/v1\/marketplaces": { + "/atomicmarket/v1/marketplaces": { "get": { "tags": [ "marketplaces" @@ -5040,9 +6165,25 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline14ab017b" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Marketplace" + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -5050,7 +6191,7 @@ } } }, - "\/atomicmarket\/v1\/marketplaces\/{marketplace_name}": { + "/atomicmarket/v1/marketplaces/{marketplace_name}": { "get": { "tags": [ "marketplaces" @@ -5071,9 +6212,22 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline0dbc05c9" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "$ref": "#/components/schemas/Marketplace" + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -5081,9 +6235,18 @@ "416": { "description": "Element not found", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -5091,9 +6254,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -5101,7 +6273,7 @@ } } }, - "\/atomicmarket\/v1\/assets\/{asset_id}\/sales": { + "/atomicmarket/v1/assets/{asset_id}/sales": { "get": { "tags": [ "assets" @@ -5163,9 +6335,57 @@ "200": { "description": "OK", "content": { - "application\/json": { - "schema": { - "$ref": "Inlineb2e6fd35" + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sale_id": { + "type": "string" + }, + "auction_id": { + "type": "string" + }, + "buyoffer_id": { + "type": "string" + }, + "price": { + "type": "string" + }, + "token_symbol": { + "type": "string" + }, + "token_precision": { + "type": "integer" + }, + "token_contract": { + "type": "string" + }, + "seller": { + "type": "string" + }, + "buyer": { + "type": "string" + }, + "block_time": { + "type": "string" + } + } + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -5173,9 +6393,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -5183,7 +6412,7 @@ } } }, - "\/atomicmarket\/v1\/prices\/sales": { + "/atomicmarket/v1/prices/sales": { "get": { "tags": [ "pricing" @@ -5258,9 +6487,54 @@ "200": { "description": "OK", "content": { - "application\/json": { - "schema": { - "$ref": "Inline85a8820c" + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sale_id": { + "type": "string" + }, + "auction_id": { + "type": "string" + }, + "buyoffer_id": { + "type": "string" + }, + "template_mint": { + "type": "string" + }, + "price": { + "type": "string" + }, + "token_symbol": { + "type": "string" + }, + "token_precision": { + "type": "integer" + }, + "token_contract": { + "type": "string" + }, + "block_time": { + "type": "string" + } + } + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -5268,9 +6542,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -5278,7 +6561,7 @@ } } }, - "\/atomicmarket\/v1\/prices\/sales\/days": { + "/atomicmarket/v1/prices/sales/days": { "get": { "tags": [ "pricing" @@ -5353,9 +6636,45 @@ "200": { "description": "OK", "content": { - "application\/json": { - "schema": { - "$ref": "Inline6d90dcea" + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "average": { + "type": "string" + }, + "median": { + "type": "string" + }, + "token_symbol": { + "type": "string" + }, + "token_precision": { + "type": "integer" + }, + "token_contract": { + "type": "string" + }, + "time": { + "type": "string" + } + } + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -5363,9 +6682,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -5373,7 +6701,7 @@ } } }, - "\/atomicmarket\/v1\/prices\/templates": { + "/atomicmarket/v1/prices/templates": { "get": { "tags": [ "pricing" @@ -5482,9 +6810,60 @@ "200": { "description": "OK", "content": { - "application\/json": { - "schema": { - "$ref": "Inline74cdda32" + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "token_symbol": { + "type": "string" + }, + "token_precision": { + "type": "integer" + }, + "token_contract": { + "type": "string" + }, + "collection_name": { + "type": "string" + }, + "template_id": { + "type": "string" + }, + "average": { + "type": "string" + }, + "median": { + "type": "string" + }, + "suggested_average": { + "type": "string" + }, + "suggested_median": { + "type": "string" + }, + "min": { + "type": "string" + }, + "max": { + "type": "string" + } + } + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -5492,9 +6871,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -5502,7 +6890,7 @@ } } }, - "\/atomicmarket\/v1\/prices\/assets": { + "/atomicmarket/v1/prices/assets": { "get": { "tags": [ "pricing" @@ -5712,9 +7100,54 @@ "200": { "description": "OK", "content": { - "application\/json": { - "schema": { - "$ref": "Inline4eea33ed" + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "token_symbol": { + "type": "string" + }, + "token_precision": { + "type": "integer" + }, + "token_contract": { + "type": "string" + }, + "median": { + "type": "string" + }, + "average": { + "type": "string" + }, + "suggested_average": { + "type": "string" + }, + "suggested_median": { + "type": "string" + }, + "min": { + "type": "string" + }, + "max": { + "type": "string" + } + } + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -5722,9 +7155,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -5732,7 +7174,7 @@ } } }, - "\/atomicmarket\/v1\/stats\/collections": { + "/atomicmarket/v1/stats/collections": { "get": { "tags": [ "stats" @@ -5864,9 +7306,94 @@ "200": { "description": "OK", "content": { - "application\/json": { - "schema": { - "$ref": "Inlinecbc952ff" + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "object", + "properties": { + "symbol": { + "type": "object", + "properties": { + "token_contract": { + "type": "string" + }, + "token_symbol": { + "type": "string" + }, + "token_precision": { + "type": "integer" + } + } + }, + "results": { + "type": "array", + "items": { + "type": "object", + "properties": { + "contract": { + "type": "string" + }, + "collection_name": { + "type": "string" + }, + "name": { + "type": "string" + }, + "author": { + "type": "string" + }, + "allow_notify": { + "type": "boolean" + }, + "authorized_accounts": { + "type": "array", + "items": { + "type": "string" + } + }, + "notify_accounts": { + "type": "array", + "items": { + "type": "string" + } + }, + "market_fee": { + "type": "number" + }, + "data": { + "type": "object" + }, + "created_at_block": { + "type": "string" + }, + "created_at_time": { + "type": "string" + }, + "listings": { + "type": "string" + }, + "volume": { + "type": "string" + }, + "sales": { + "type": "string" + } + } + } + } + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -5874,9 +7401,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -5884,7 +7420,7 @@ } } }, - "\/atomicmarket\/v1\/stats\/collections\/{collection_name}": { + "/atomicmarket/v1/stats/collections/{collection_name}": { "get": { "tags": [ "stats" @@ -5914,9 +7450,94 @@ "200": { "description": "OK", "content": { - "application\/json": { - "schema": { - "$ref": "Inlinecbc952ff" + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "object", + "properties": { + "symbol": { + "type": "object", + "properties": { + "token_contract": { + "type": "string" + }, + "token_symbol": { + "type": "string" + }, + "token_precision": { + "type": "integer" + } + } + }, + "results": { + "type": "array", + "items": { + "type": "object", + "properties": { + "contract": { + "type": "string" + }, + "collection_name": { + "type": "string" + }, + "name": { + "type": "string" + }, + "author": { + "type": "string" + }, + "allow_notify": { + "type": "boolean" + }, + "authorized_accounts": { + "type": "array", + "items": { + "type": "string" + } + }, + "notify_accounts": { + "type": "array", + "items": { + "type": "string" + } + }, + "market_fee": { + "type": "number" + }, + "data": { + "type": "object" + }, + "created_at_block": { + "type": "string" + }, + "created_at_time": { + "type": "string" + }, + "listings": { + "type": "string" + }, + "volume": { + "type": "string" + }, + "sales": { + "type": "string" + } + } + } + } + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -5924,9 +7545,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -5934,7 +7564,7 @@ } } }, - "\/atomicmarket\/v1\/stats\/accounts": { + "/atomicmarket/v1/stats/accounts": { "get": { "tags": [ "stats" @@ -6066,9 +7696,55 @@ "200": { "description": "OK", "content": { - "application\/json": { - "schema": { - "$ref": "Inline37285df6" + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "object", + "properties": { + "symbol": { + "type": "object", + "properties": { + "token_contract": { + "type": "string" + }, + "token_symbol": { + "type": "string" + }, + "token_precision": { + "type": "integer" + } + } + }, + "results": { + "type": "array", + "items": { + "type": "object", + "properties": { + "account": { + "type": "string" + }, + "buy_volume": { + "type": "string" + }, + "sell_volume": { + "type": "string" + } + } + } + } + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -6076,9 +7752,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -6086,7 +7771,7 @@ } } }, - "\/atomicmarket\/v1\/stats\/accounts\/{account}": { + "/atomicmarket/v1/stats/accounts/{account}": { "get": { "tags": [ "stats" @@ -6134,9 +7819,55 @@ "200": { "description": "OK", "content": { - "application\/json": { - "schema": { - "$ref": "Inline3e1988f8" + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "object", + "properties": { + "symbol": { + "type": "object", + "properties": { + "token_contract": { + "type": "string" + }, + "token_symbol": { + "type": "string" + }, + "token_precision": { + "type": "integer" + } + } + }, + "result": { + "type": "array", + "items": { + "type": "object", + "properties": { + "account": { + "type": "string" + }, + "buy_volume": { + "type": "string" + }, + "sell_volume": { + "type": "string" + } + } + } + } + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -6144,9 +7875,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -6154,7 +7894,7 @@ } } }, - "\/atomicmarket\/v1\/stats\/schemas\/{collection_name}": { + "/atomicmarket/v1/stats/schemas/{collection_name}": { "get": { "tags": [ "stats" @@ -6277,9 +8017,55 @@ "200": { "description": "OK", "content": { - "application\/json": { - "schema": { - "$ref": "Inline01d71b58" + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "object", + "properties": { + "symbol": { + "type": "object", + "properties": { + "token_contract": { + "type": "string" + }, + "token_symbol": { + "type": "string" + }, + "token_precision": { + "type": "integer" + } + } + }, + "results": { + "type": "array", + "items": { + "type": "object", + "properties": { + "schema_name": { + "type": "string" + }, + "listings": { + "type": "string" + }, + "volume": { + "type": "string" + } + } + } + } + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -6287,9 +8073,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -6297,7 +8092,7 @@ } } }, - "\/atomicmarket\/v1\/stats\/graph": { + "/atomicmarket/v1/stats/graph": { "get": { "tags": [ "stats" @@ -6336,9 +8131,55 @@ "200": { "description": "OK", "content": { - "application\/json": { - "schema": { - "$ref": "Inline03ec62d9" + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "object", + "properties": { + "symbol": { + "type": "object", + "properties": { + "token_contract": { + "type": "string" + }, + "token_symbol": { + "type": "string" + }, + "token_precision": { + "type": "integer" + } + } + }, + "results": { + "type": "array", + "items": { + "type": "object", + "properties": { + "time": { + "type": "string" + }, + "volume": { + "type": "string" + }, + "sales": { + "type": "string" + } + } + } + } + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -6346,9 +8187,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -6356,7 +8206,7 @@ } } }, - "\/atomicmarket\/v1\/stats\/sales": { + "/atomicmarket/v1/stats/sales": { "get": { "tags": [ "stats" @@ -6395,9 +8245,49 @@ "200": { "description": "OK", "content": { - "application\/json": { - "schema": { - "$ref": "Inlinee9e8d085" + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "object", + "properties": { + "symbol": { + "type": "object", + "properties": { + "token_contract": { + "type": "string" + }, + "token_symbol": { + "type": "string" + }, + "token_precision": { + "type": "integer" + } + } + }, + "results": { + "type": "object", + "properties": { + "volume": { + "type": "string" + }, + "sales": { + "type": "string" + } + } + } + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -6405,9 +8295,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -6415,7 +8314,7 @@ } } }, - "\/atomicmarket\/v1\/config": { + "/atomicmarket/v1/config": { "get": { "tags": [ "config" @@ -6425,9 +8324,91 @@ "200": { "description": "OK", "content": { - "application\/json": { - "schema": { - "$ref": "Inline4f499623" + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "object", + "properties": { + "atomicassets_contract": { + "type": "string" + }, + "atomicmarket_contract": { + "type": "string" + }, + "delphioracle_contract": { + "type": "string" + }, + "version": { + "type": "string" + }, + "maker_market_fee": { + "type": "number" + }, + "taker_market_fee": { + "type": "number" + }, + "minimum_auction_duration": { + "type": "integer" + }, + "maximum_auction_duration": { + "type": "integer" + }, + "minimum_bid_increase": { + "type": "number" + }, + "auction_reset_duration": { + "type": "integer" + }, + "supported_tokens": { + "type": "array", + "items": { + "type": "object", + "properties": { + "token_contract": { + "type": "string" + }, + "token_symbol": { + "type": "string" + }, + "token_precision": { + "type": "integer" + } + } + } + }, + "supported_pairs": { + "type": "array", + "items": { + "type": "object", + "properties": { + "listing_symbol": { + "type": "string" + }, + "settlement_symbol": { + "type": "string" + }, + "delphi_pair_name": { + "type": "string" + }, + "invert_delphi_pair": { + "type": "boolean" + } + } + } + } + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -6435,13 +8416,13 @@ } } }, - "\/atomicmarket\/v1\/assets": { + "/atomicmarket/v1/assets": { "get": { "tags": [ "assets" ], "summary": "Fetch assets.", - "description": "You can filter the result by specific asset \/ template data fields.You can add for example &template_data.rarity=common to only receive results which have an attribute \"rarity\" with the value \"common\". You can query specific asset data by using &immutable_data.rarity=common or &mutable_data.rarity=common .If you want to query a non text type you need to specify it explicitly (defaults to text type) like data:bool.foil=true or data:number.id=4 or data:text.rarity=common. Integers which are defined greater than 32 bit (eg 64 bit) in the schema need to be queried as text.", + "description": "You can filter the result by specific asset / template data fields.You can add for example &template_data.rarity=common to only receive results which have an attribute \"rarity\" with the value \"common\". You can query specific asset data by using &immutable_data.rarity=common or &mutable_data.rarity=common .If you want to query a non text type you need to specify it explicitly (defaults to text type) like data:bool.foil=true or data:number.id=4 or data:text.rarity=common. Integers which are defined greater than 32 bit (eg 64 bit) in the schema need to be queried as text.", "parameters": [ { "name": "collection_name", @@ -6765,9 +8746,25 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline96783c6c" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/undefined" + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -6775,9 +8772,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -6785,7 +8791,7 @@ } } }, - "\/atomicmarket\/v1\/assets\/{asset_id}": { + "/atomicmarket/v1/assets/{asset_id}": { "get": { "tags": [ "assets" @@ -6806,9 +8812,22 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline359f6138" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "$ref": "#/components/schemas/ListingAsset" + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -6816,9 +8835,18 @@ "416": { "description": "Element not found", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -6826,9 +8854,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -6836,7 +8873,7 @@ } } }, - "\/atomicmarket\/v1\/assets\/{asset_id}\/stats": { + "/atomicmarket/v1/assets/{asset_id}/stats": { "get": { "tags": [ "assets" @@ -6857,9 +8894,27 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline20d1dd35" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "object", + "properties": { + "template_mint": { + "type": "integer" + } + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -6867,9 +8922,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -6877,7 +8941,7 @@ } } }, - "\/atomicmarket\/v1\/assets\/{asset_id}\/logs": { + "/atomicmarket/v1/assets/{asset_id}/logs": { "get": { "tags": [ "assets" @@ -6950,9 +9014,25 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline3fd53df7" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Log" + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -6960,9 +9040,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -6970,7 +9059,7 @@ } } }, - "\/atomicmarket\/v1\/transfers": { + "/atomicmarket/v1/transfers": { "get": { "tags": [ "transfers" @@ -7164,9 +9253,25 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline382d5749" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ListingTransfer" + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -7174,9 +9279,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -7184,7 +9298,7 @@ } } }, - "\/atomicmarket\/v1\/offers": { + "/atomicmarket/v1/offers": { "get": { "tags": [ "offers" @@ -7451,9 +9565,25 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline789aa161" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ListingOffer" + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -7461,9 +9591,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -7471,7 +9610,7 @@ } } }, - "\/atomicmarket\/v1\/offers\/{offer_id}": { + "/atomicmarket/v1/offers/{offer_id}": { "get": { "tags": [ "offers" @@ -7492,9 +9631,22 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2c904cf9" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "$ref": "#/components/schemas/ListingOffer" + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -7502,9 +9654,18 @@ "416": { "description": "Element not found", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -7512,9 +9673,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -7522,7 +9692,7 @@ } } }, - "\/atomicmarket\/v1\/offers\/{offer_id}\/logs": { + "/atomicmarket/v1/offers/{offer_id}/logs": { "get": { "tags": [ "offers" @@ -7595,9 +9765,25 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline3fd53df7" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Log" + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -7605,9 +9791,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -7615,7 +9810,7 @@ } } }, - "\/atomictools\/v1\/links": { + "/atomictools/v1/links": { "get": { "tags": [ "links" @@ -7773,9 +9968,25 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inlinedb18d4ba" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Link" + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -7783,9 +9994,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -7793,7 +10013,7 @@ } } }, - "\/atomictools\/v1\/links\/{link_id}": { + "/atomictools/v1/links/{link_id}": { "get": { "tags": [ "links" @@ -7814,9 +10034,22 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline3a3cb959" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "$ref": "#/components/schemas/Link" + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -7824,9 +10057,18 @@ "416": { "description": "Element not found", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -7834,9 +10076,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -7844,7 +10095,7 @@ } } }, - "\/atomictools\/v1\/links\/{link_id}\/logs": { + "/atomictools/v1/links/{link_id}/logs": { "get": { "tags": [ "links" @@ -7917,9 +10168,25 @@ "200": { "description": "OK", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline3fd53df7" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Log" + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -7927,9 +10194,18 @@ "500": { "description": "Internal Server Error", "content": { - "application\/json": { + "application/json": { "schema": { - "$ref": "Inline2d859569" + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": false + }, + "message": { + "type": "string" + } + } } } } @@ -7937,7 +10213,7 @@ } } }, - "\/atomictools\/v1\/config": { + "/atomictools/v1/config": { "get": { "tags": [ "config" @@ -7947,9 +10223,33 @@ "200": { "description": "OK", "content": { - "application\/json": { - "schema": { - "$ref": "Inline7a0424ea" + "application/json": { + "schema": { + "type": "object", + "properties": { + "success": { + "type": "boolean", + "default": true + }, + "data": { + "type": "object", + "properties": { + "atomictools_contract": { + "type": "string" + }, + "atomicassets_contract": { + "type": "string" + }, + "version": { + "type": "string" + } + } + }, + "query_time": { + "type": "integer", + "nullable": true + } + } } } } @@ -7960,11 +10260,7 @@ }, "components": { "schemas": { - "Inlinecdb728a8": { - "type": "object", - "properties": [] - }, - "Inline66e31af9": { + "Log": { "type": "object", "properties": { "log_id": { @@ -7974,7 +10270,7 @@ "type": "string" }, "data": { - "$ref": "Inlinecdb728a8" + "type": "object" }, "txid": { "type": "string" @@ -7987,125 +10283,7 @@ } } }, - "Log": { - "$ref": "Inline66e31af9" - }, - "Inline3bac70d7": { - "type": "object", - "properties": { - "collection_name": { - "type": "string" - }, - "name": { - "type": "string" - }, - "author": { - "type": "string" - }, - "allow_notify": { - "type": "boolean" - }, - "authorized_accounts": { - "type": "array", - "items": { - "type": "string" - } - }, - "notify_accounts": { - "type": "array", - "items": { - "type": "string" - } - }, - "market_fee": { - "type": "number" - }, - "created_at_block": { - "type": "string" - }, - "created_at_time": { - "type": "string" - } - } - }, - "Inlineffffa488": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "type": { - "type": "string" - } - } - }, - "Inline15733e28": { - "type": "object", - "properties": { - "schema_name": { - "type": "string" - }, - "format": { - "type": "array", - "items": { - "$ref": "Inlineffffa488" - } - }, - "created_at_block": { - "type": "string" - }, - "created_at_time": { - "type": "string" - } - } - }, - "Inline6db6c0a2": { - "type": "object", - "properties": { - "template_id": { - "type": "string" - }, - "max_supply": { - "type": "string" - }, - "issued_supply": { - "type": "string" - }, - "is_transferable": { - "type": "boolean" - }, - "is_burnable": { - "type": "boolean" - }, - "immutable_data": { - "$ref": "Inlinecdb728a8" - }, - "created_at_time": { - "type": "string" - }, - "created_at_block": { - "type": "string" - } - } - }, - "Inlinec529777e": { - "type": "object", - "properties": { - "token_contract": { - "type": "string" - }, - "token_symbol": { - "type": "string" - }, - "token_precision": { - "type": "integer" - }, - "amount": { - "type": "string" - } - } - }, - "Inline86faf907": { + "Asset": { "type": "object", "properties": { "contract": { @@ -8130,28 +10308,128 @@ "type": "string" }, "collection": { - "$ref": "Inline3bac70d7" + "type": "object", + "properties": { + "collection_name": { + "type": "string" + }, + "name": { + "type": "string" + }, + "author": { + "type": "string" + }, + "allow_notify": { + "type": "boolean" + }, + "authorized_accounts": { + "type": "array", + "items": { + "type": "string" + } + }, + "notify_accounts": { + "type": "array", + "items": { + "type": "string" + } + }, + "market_fee": { + "type": "number" + }, + "created_at_block": { + "type": "string" + }, + "created_at_time": { + "type": "string" + } + } }, "schema": { - "$ref": "Inline15733e28" + "type": "object", + "properties": { + "schema_name": { + "type": "string" + }, + "format": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + } + } + } + }, + "created_at_block": { + "type": "string" + }, + "created_at_time": { + "type": "string" + } + } }, "template": { - "$ref": "Inline6db6c0a2" + "type": "object", + "properties": { + "template_id": { + "type": "string" + }, + "max_supply": { + "type": "string" + }, + "issued_supply": { + "type": "string" + }, + "is_transferable": { + "type": "boolean" + }, + "is_burnable": { + "type": "boolean" + }, + "immutable_data": { + "type": "object" + }, + "created_at_time": { + "type": "string" + }, + "created_at_block": { + "type": "string" + } + } }, "backed_tokens": { "type": "array", "items": { - "$ref": "Inlinec529777e" + "type": "object", + "properties": { + "token_contract": { + "type": "string" + }, + "token_symbol": { + "type": "string" + }, + "token_precision": { + "type": "integer" + }, + "amount": { + "type": "string" + } + } } }, "immutable_data": { - "$ref": "Inlinecdb728a8" + "type": "object" }, "mutable_data": { - "$ref": "Inlinecdb728a8" + "type": "object" }, "data": { - "$ref": "Inlinecdb728a8" + "type": "object" }, "burned_by_account": { "type": "string" @@ -8182,10 +10460,7 @@ } } }, - "Asset": { - "$ref": "Inline86faf907" - }, - "Inline916e2892": { + "Collection": { "type": "object", "properties": { "contract": { @@ -8219,7 +10494,7 @@ "type": "number" }, "data": { - "$ref": "Inlinecdb728a8" + "type": "object" }, "created_at_block": { "type": "string" @@ -8229,10 +10504,7 @@ } } }, - "Collection": { - "$ref": "Inline916e2892" - }, - "Inlined10c0cac": { + "Schema": { "type": "object", "properties": { "contract": { @@ -8244,7 +10516,15 @@ "format": { "type": "array", "items": { - "$ref": "Inlineffffa488" + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + } + } } }, "created_at_block": { @@ -8254,14 +10534,46 @@ "type": "string" }, "collection": { - "$ref": "Inline3bac70d7" + "type": "object", + "properties": { + "collection_name": { + "type": "string" + }, + "name": { + "type": "string" + }, + "author": { + "type": "string" + }, + "allow_notify": { + "type": "boolean" + }, + "authorized_accounts": { + "type": "array", + "items": { + "type": "string" + } + }, + "notify_accounts": { + "type": "array", + "items": { + "type": "string" + } + }, + "market_fee": { + "type": "number" + }, + "created_at_block": { + "type": "string" + }, + "created_at_time": { + "type": "string" + } + } } } }, - "Schema": { - "$ref": "Inlined10c0cac" - }, - "Inline8a79a343": { + "Template": { "type": "object", "properties": { "contract": { @@ -8283,7 +10595,7 @@ "type": "boolean" }, "immutable_data": { - "$ref": "Inlinecdb728a8" + "type": "object" }, "created_at_time": { "type": "string" @@ -8292,17 +10604,74 @@ "type": "string" }, "scheme": { - "$ref": "Inline15733e28" + "type": "object", + "properties": { + "schema_name": { + "type": "string" + }, + "format": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + } + } + } + }, + "created_at_block": { + "type": "string" + }, + "created_at_time": { + "type": "string" + } + } }, "collection": { - "$ref": "Inline3bac70d7" + "type": "object", + "properties": { + "collection_name": { + "type": "string" + }, + "name": { + "type": "string" + }, + "author": { + "type": "string" + }, + "allow_notify": { + "type": "boolean" + }, + "authorized_accounts": { + "type": "array", + "items": { + "type": "string" + } + }, + "notify_accounts": { + "type": "array", + "items": { + "type": "string" + } + }, + "market_fee": { + "type": "number" + }, + "created_at_block": { + "type": "string" + }, + "created_at_time": { + "type": "string" + } + } } } }, - "Template": { - "$ref": "Inline8a79a343" - }, - "Inlinebe0f0ae6": { + "Offer": { "type": "object", "properties": { "contract": { @@ -8332,13 +10701,13 @@ "sender_assets": { "type": "array", "items": { - "$ref": "Asset" + "$ref": "#/components/schemas/Asset" } }, "recipient_assets": { "type": "array", "items": { - "$ref": "Asset" + "$ref": "#/components/schemas/Asset" } }, "updated_at_block": { @@ -8355,10 +10724,7 @@ } } }, - "Offer": { - "$ref": "Inlinebe0f0ae6" - }, - "Inline18f76e5c": { + "Transfer": { "type": "object", "properties": { "contract": { @@ -8379,7 +10745,7 @@ "assets": { "type": "array", "items": { - "$ref": "Asset" + "$ref": "#/components/schemas/Asset" } }, "created_at_block": { @@ -8390,78 +10756,7 @@ } } }, - "Transfer": { - "$ref": "Inline18f76e5c" - }, - "Inlinefe4eed04": { - "type": "object", - "properties": { - "market_contract": { - "type": "string" - }, - "sale_id": { - "type": "string" - } - } - }, - "Inline36fc3608": { - "type": "object", - "properties": { - "market_contract": { - "type": "string" - }, - "auction_id": { - "type": "string" - } - } - }, - "Inline23df41a0": { - "type": "object", - "properties": { - "token_contract": { - "type": "string" - }, - "token_precision": { - "type": "integer" - }, - "token_symbol": { - "type": "string" - } - } - }, - "Inline94a31c66": { - "type": "object", - "properties": { - "average": { - "type": "string" - }, - "market_contract": { - "type": "string" - }, - "max": { - "type": "string" - }, - "median": { - "type": "string" - }, - "min": { - "type": "string" - }, - "sales": { - "type": "string" - }, - "suggested_average": { - "type": "string" - }, - "suggested_median": { - "type": "string" - }, - "token": { - "$ref": "Inline23df41a0" - } - } - }, - "Inline226ace36": { + "ListingAsset": { "type": "object", "properties": { "contract": { @@ -8486,28 +10781,128 @@ "type": "string" }, "collection": { - "$ref": "Inline3bac70d7" + "type": "object", + "properties": { + "collection_name": { + "type": "string" + }, + "name": { + "type": "string" + }, + "author": { + "type": "string" + }, + "allow_notify": { + "type": "boolean" + }, + "authorized_accounts": { + "type": "array", + "items": { + "type": "string" + } + }, + "notify_accounts": { + "type": "array", + "items": { + "type": "string" + } + }, + "market_fee": { + "type": "number" + }, + "created_at_block": { + "type": "string" + }, + "created_at_time": { + "type": "string" + } + } }, "schema": { - "$ref": "Inline15733e28" + "type": "object", + "properties": { + "schema_name": { + "type": "string" + }, + "format": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + } + } + } + }, + "created_at_block": { + "type": "string" + }, + "created_at_time": { + "type": "string" + } + } }, "template": { - "$ref": "Inline6db6c0a2" + "type": "object", + "properties": { + "template_id": { + "type": "string" + }, + "max_supply": { + "type": "string" + }, + "issued_supply": { + "type": "string" + }, + "is_transferable": { + "type": "boolean" + }, + "is_burnable": { + "type": "boolean" + }, + "immutable_data": { + "type": "object" + }, + "created_at_time": { + "type": "string" + }, + "created_at_block": { + "type": "string" + } + } }, "backed_tokens": { "type": "array", "items": { - "$ref": "Inlinec529777e" + "type": "object", + "properties": { + "token_contract": { + "type": "string" + }, + "token_symbol": { + "type": "string" + }, + "token_precision": { + "type": "integer" + }, + "amount": { + "type": "string" + } + } } }, "immutable_data": { - "$ref": "Inlinecdb728a8" + "type": "object" }, "mutable_data": { - "$ref": "Inlinecdb728a8" + "type": "object" }, "data": { - "$ref": "Inlinecdb728a8" + "type": "object" }, "burned_by_account": { "type": "string" @@ -8539,27 +10934,80 @@ "sales": { "type": "array", "items": { - "$ref": "Inlinefe4eed04" + "type": "object", + "properties": { + "market_contract": { + "type": "string" + }, + "sale_id": { + "type": "string" + } + } } }, "auctions": { "type": "array", "items": { - "$ref": "Inline36fc3608" + "type": "object", + "properties": { + "market_contract": { + "type": "string" + }, + "auction_id": { + "type": "string" + } + } } }, "prices": { "type": "array", "items": { - "$ref": "Inline94a31c66" + "type": "object", + "properties": { + "average": { + "type": "string" + }, + "market_contract": { + "type": "string" + }, + "max": { + "type": "string" + }, + "median": { + "type": "string" + }, + "min": { + "type": "string" + }, + "sales": { + "type": "string" + }, + "suggested_average": { + "type": "string" + }, + "suggested_median": { + "type": "string" + }, + "token": { + "type": "object", + "properties": { + "token_contract": { + "type": "string" + }, + "token_precision": { + "type": "integer" + }, + "token_symbol": { + "type": "string" + } + } + } + } } } } }, - "ListingAsset": { - "$ref": "Inline226ace36" - }, - "Inlinebb1d5faf": { + "ListingOffer": { "type": "object", "properties": { "contract": { @@ -8589,13 +11037,13 @@ "sender_assets": { "type": "array", "items": { - "$ref": "ListingAsset" + "$ref": "#/components/schemas/ListingAsset" } }, "recipient_assets": { "type": "array", "items": { - "$ref": "ListingAsset" + "$ref": "#/components/schemas/ListingAsset" } }, "updated_at_block": { @@ -8612,10 +11060,7 @@ } } }, - "ListingOffer": { - "$ref": "Inlinebb1d5faf" - }, - "Inlinef7b99d3c": { + "ListingTransfer": { "type": "object", "properties": { "contract": { @@ -8636,7 +11081,7 @@ "assets": { "type": "array", "items": { - "$ref": "ListingAsset" + "$ref": "#/components/schemas/ListingAsset" } }, "created_at_block": { @@ -8647,27 +11092,7 @@ } } }, - "ListingTransfer": { - "$ref": "Inlinef7b99d3c" - }, - "Inlined616ecba": { - "type": "object", - "properties": { - "amount": { - "type": "string" - }, - "token_precision": { - "type": "integer" - }, - "token_contract": { - "type": "string" - }, - "token_symbol": { - "type": "string" - } - } - }, - "Inline19815004": { + "Sale": { "type": "object", "properties": { "market_contract": { @@ -8689,7 +11114,21 @@ "type": "string" }, "price": { - "$ref": "Inlined616ecba" + "type": "object", + "properties": { + "amount": { + "type": "string" + }, + "token_precision": { + "type": "integer" + }, + "token_contract": { + "type": "string" + }, + "token_symbol": { + "type": "string" + } + } }, "listing_price": { "type": "number" @@ -8700,17 +11139,54 @@ "assets": { "type": "array", "items": { - "$ref": "Asset" + "$ref": "#/components/schemas/Asset" } }, "maker_marketplace": { - "type": "string" + "type": "string", + "nullable": true }, "taker_marketplace": { - "type": "string" + "type": "string", + "nullable": true }, "collection": { - "$ref": "Inline3bac70d7" + "type": "object", + "properties": { + "collection_name": { + "type": "string" + }, + "name": { + "type": "string" + }, + "author": { + "type": "string" + }, + "allow_notify": { + "type": "boolean" + }, + "authorized_accounts": { + "type": "array", + "items": { + "type": "string" + } + }, + "notify_accounts": { + "type": "array", + "items": { + "type": "string" + } + }, + "market_fee": { + "type": "number" + }, + "created_at_block": { + "type": "string" + }, + "created_at_time": { + "type": "string" + } + } }, "state": { "type": "integer" @@ -8729,33 +11205,7 @@ } } }, - "Sale": { - "$ref": "Inline19815004" - }, - "Inlinede464a22": { - "type": "object", - "properties": { - "number": { - "type": "integer" - }, - "account": { - "type": "string" - }, - "amount": { - "type": "string" - }, - "created_at_block": { - "type": "string" - }, - "created_at_time": { - "type": "string" - }, - "txid": { - "type": "string" - } - } - }, - "Inline03fe463c": { + "Auction": { "type": "object", "properties": { "market_contract": { @@ -8771,31 +11221,103 @@ "type": "string" }, "buyer": { - "type": "string" + "type": "string", + "nullable": true }, "price": { - "$ref": "Inlined616ecba" + "type": "object", + "properties": { + "amount": { + "type": "string" + }, + "token_precision": { + "type": "integer" + }, + "token_contract": { + "type": "string" + }, + "token_symbol": { + "type": "string" + } + } }, "assets": { "type": "array", "items": { - "$ref": "Asset" + "$ref": "#/components/schemas/Asset" } }, "bids": { "type": "array", "items": { - "$ref": "Inlinede464a22" + "type": "object", + "properties": { + "number": { + "type": "integer" + }, + "account": { + "type": "string" + }, + "amount": { + "type": "string" + }, + "created_at_block": { + "type": "string" + }, + "created_at_time": { + "type": "string" + }, + "txid": { + "type": "string" + } + } } }, "maker_marketplace": { - "type": "string" + "type": "string", + "nullable": true }, "taker_marketplace": { - "type": "string" + "type": "string", + "nullable": true }, "collection": { - "$ref": "Inline3bac70d7" + "type": "object", + "properties": { + "collection_name": { + "type": "string" + }, + "name": { + "type": "string" + }, + "author": { + "type": "string" + }, + "allow_notify": { + "type": "boolean" + }, + "authorized_accounts": { + "type": "array", + "items": { + "type": "string" + } + }, + "notify_accounts": { + "type": "array", + "items": { + "type": "string" + } + }, + "market_fee": { + "type": "number" + }, + "created_at_block": { + "type": "string" + }, + "created_at_time": { + "type": "string" + } + } }, "state": { "type": "integer" @@ -8817,10 +11339,7 @@ } } }, - "Auction": { - "$ref": "Inline03fe463c" - }, - "Inlineecb350cd": { + "Buyoffer": { "type": "object", "properties": { "market_contract": { @@ -8839,22 +11358,73 @@ "type": "string" }, "price": { - "$ref": "Inlined616ecba" + "type": "object", + "properties": { + "amount": { + "type": "string" + }, + "token_precision": { + "type": "integer" + }, + "token_contract": { + "type": "string" + }, + "token_symbol": { + "type": "string" + } + } }, "assets": { "type": "array", "items": { - "$ref": "Asset" + "$ref": "#/components/schemas/Asset" } }, "maker_marketplace": { - "type": "string" + "type": "string", + "nullable": true }, "taker_marketplace": { - "type": "string" + "type": "string", + "nullable": true }, "collection": { - "$ref": "Inline3bac70d7" + "type": "object", + "properties": { + "collection_name": { + "type": "string" + }, + "name": { + "type": "string" + }, + "author": { + "type": "string" + }, + "allow_notify": { + "type": "boolean" + }, + "authorized_accounts": { + "type": "array", + "items": { + "type": "string" + } + }, + "notify_accounts": { + "type": "array", + "items": { + "type": "string" + } + }, + "market_fee": { + "type": "number" + }, + "created_at_block": { + "type": "string" + }, + "created_at_time": { + "type": "string" + } + } }, "state": { "type": "integer" @@ -8879,10 +11449,7 @@ } } }, - "Buyoffer": { - "$ref": "Inlineecb350cd" - }, - "Inline3b14cb7e": { + "Marketplace": { "type": "object", "properties": { "marketplace_name": { @@ -8899,10 +11466,7 @@ } } }, - "Marketplace": { - "$ref": "Inline3b14cb7e" - }, - "Inline91e35da1": { + "Link": { "type": "object", "properties": { "tools_contract": { @@ -8918,7 +11482,8 @@ "type": "string" }, "claimer": { - "type": "string" + "type": "string", + "nullable": true }, "state": { "type": "integer" @@ -8935,7 +11500,7 @@ "assets": { "type": "array", "items": { - "$ref": "Asset" + "$ref": "#/components/schemas/Asset" } }, "created_at_block": { @@ -8945,1417 +11510,7 @@ "type": "string" } } - }, - "Link": { - "$ref": "Inline91e35da1" - }, - "Inline7013859f": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "type": "array", - "items": { - "$ref": "Asset" - } - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline2d859569": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "message": { - "type": "string" - } - } - }, - "Inline2ea55b59": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "$ref": "Asset" - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline0470074c": { - "type": "object", - "properties": { - "template_mint": { - "type": "integer" - } - } - }, - "Inline20d1dd35": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "$ref": "Inline0470074c" - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline3fd53df7": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "type": "array", - "items": { - "$ref": "Log" - } - }, - "query_time": { - "type": "integer" - } - } - }, - "Inlinecae37d48": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "type": "array", - "items": { - "$ref": "Collection" - } - }, - "query_time": { - "type": "integer" - } - } - }, - "Inlineb3b9967c": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "$ref": "Collection" - }, - "query_time": { - "type": "integer" - } - } - }, - "Inlined904549d": { - "type": "object", - "properties": { - "assets": { - "type": "string" - }, - "burned": { - "type": "string" - }, - "templates": { - "type": "string" - }, - "schemas": { - "type": "string" - } - } - }, - "Inline28cb2593": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "$ref": "Inlined904549d" - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline2734e4b8": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "type": "array", - "items": { - "$ref": "Schema" - } - }, - "query_time": { - "type": "integer" - } - } - }, - "Inlinea2fe30b0": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "$ref": "Schema" - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline7cd1878a": { - "type": "object", - "properties": { - "assets": { - "type": "string" - }, - "burned": { - "type": "string" - }, - "templates": { - "type": "string" - } - } - }, - "Inline1b899a72": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "$ref": "Inline7cd1878a" - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline1a1c0c3e": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "type": "array", - "items": { - "$ref": "Template" - } - }, - "query_time": { - "type": "integer" - } - } - }, - "Inlined7b3950c": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "$ref": "Template" - }, - "query_time": { - "type": "integer" - } - } - }, - "Inlinea46e885b": { - "type": "object", - "properties": { - "assets": { - "type": "string" - }, - "burned": { - "type": "string" - } - } - }, - "Inlineacc80e6b": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "$ref": "Inlinea46e885b" - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline636db0a6": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "type": "array", - "items": { - "$ref": "Offer" - } - }, - "query_time": { - "type": "integer" - } - } - }, - "Inlinec16cb6b4": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "$ref": "Offer" - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline311842ae": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "type": "array", - "items": { - "$ref": "Transfer" - } - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline572de374": { - "type": "object", - "properties": { - "account": { - "type": "string" - }, - "assets": { - "type": "string" - } - } - }, - "Inlineffeae89e": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "type": "array", - "items": { - "$ref": "Inline572de374" - } - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline7d95412b": { - "type": "object", - "properties": { - "collection": { - "$ref": "Collection" - }, - "assets": { - "type": "string" - } - } - }, - "Inlinef28c82d8": { - "type": "object", - "properties": { - "template_id": { - "type": "string" - }, - "assets": { - "type": "string" - } - } - }, - "Inlined4f425ef": { - "type": "object", - "properties": { - "collections": { - "type": "array", - "items": { - "$ref": "Inline7d95412b" - } - }, - "templates": { - "type": "array", - "items": { - "$ref": "Inlinef28c82d8" - } - }, - "assets": { - "type": "string" - } - } - }, - "Inlineb948cb9b": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "type": "array", - "items": { - "$ref": "Inlined4f425ef" - } - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline53cc4aa2": { - "type": "object", - "properties": { - "schema_name": { - "type": "string" - }, - "assets": { - "type": "string" - } - } - }, - "Inline3e1ff881": { - "type": "object", - "properties": { - "templates": { - "type": "array", - "items": { - "$ref": "Inlinef28c82d8" - } - }, - "schemas": { - "type": "array", - "items": { - "$ref": "Inline53cc4aa2" - } - } - } - }, - "Inline87e7e216": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "type": "array", - "items": { - "$ref": "Inline3e1ff881" - } - }, - "query_time": { - "type": "integer" - } - } - }, - "Inlinec1376055": { - "type": "object", - "properties": { - "collection_name": { - "type": "string" - }, - "assets": { - "type": "string" - } - } - }, - "Inline0d5dcbd2": { - "type": "object", - "properties": { - "collection_name": { - "type": "string" - }, - "template_id": { - "type": "string" - }, - "assets": { - "type": "string" - } - } - }, - "Inline0e0b9d0f": { - "type": "object", - "properties": { - "collections": { - "type": "array", - "items": { - "$ref": "Inlinec1376055" - } - }, - "templates": { - "type": "array", - "items": { - "$ref": "Inline0d5dcbd2" - } - }, - "assets": { - "type": "string" - } - } - }, - "Inlined52801ac": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "type": "array", - "items": { - "$ref": "Inline0e0b9d0f" - } - }, - "query_time": { - "type": "integer" - } - } - }, - "Inlinee2ad32b6": { - "type": "object", - "properties": { - "token_contract": { - "type": "string" - }, - "token_symbol": { - "type": "string" - }, - "token_precision": { - "type": "integer" - } - } - }, - "Inlinecdcf7265": { - "type": "object", - "properties": { - "contract": { - "type": "string" - }, - "version": { - "type": "string" - }, - "collection_format": { - "type": "array", - "items": { - "$ref": "Inlineffffa488" - } - }, - "supported_tokens": { - "type": "array", - "items": { - "$ref": "Inlinee2ad32b6" - } - } - } - }, - "Inline1124b387": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "$ref": "Inlinecdcf7265" - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline563c4072": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "type": "array", - "items": { - "$ref": "Sale" - } - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline4a0559e2": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "$ref": "Sale" - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline5d957a23": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "type": "array", - "items": { - "$ref": "Auction" - } - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline07db2bcf": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "$ref": "Auction" - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline004e82a0": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "type": "array", - "items": { - "$ref": "Buyoffer" - } - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline0841b879": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "$ref": "Buyoffer" - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline14ab017b": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "type": "array", - "items": { - "$ref": "Marketplace" - } - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline0dbc05c9": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "$ref": "Marketplace" - }, - "query_time": { - "type": "integer" - } - } - }, - "Inlinee1ca78cf": { - "type": "object", - "properties": { - "sale_id": { - "type": "string" - }, - "auction_id": { - "type": "string" - }, - "buyoffer_id": { - "type": "string" - }, - "price": { - "type": "string" - }, - "token_symbol": { - "type": "string" - }, - "token_precision": { - "type": "integer" - }, - "token_contract": { - "type": "string" - }, - "seller": { - "type": "string" - }, - "buyer": { - "type": "string" - }, - "block_time": { - "type": "string" - } - } - }, - "Inlineb2e6fd35": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "type": "array", - "items": { - "$ref": "Inlinee1ca78cf" - } - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline5cef590b": { - "type": "object", - "properties": { - "sale_id": { - "type": "string" - }, - "auction_id": { - "type": "string" - }, - "buyoffer_id": { - "type": "string" - }, - "template_mint": { - "type": "string" - }, - "price": { - "type": "string" - }, - "token_symbol": { - "type": "string" - }, - "token_precision": { - "type": "integer" - }, - "token_contract": { - "type": "string" - }, - "block_time": { - "type": "string" - } - } - }, - "Inline85a8820c": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "type": "array", - "items": { - "$ref": "Inline5cef590b" - } - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline4f49e15b": { - "type": "object", - "properties": { - "average": { - "type": "string" - }, - "median": { - "type": "string" - }, - "token_symbol": { - "type": "string" - }, - "token_precision": { - "type": "integer" - }, - "token_contract": { - "type": "string" - }, - "time": { - "type": "string" - } - } - }, - "Inline6d90dcea": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "type": "array", - "items": { - "$ref": "Inline4f49e15b" - } - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline3eff563c": { - "type": "object", - "properties": { - "token_symbol": { - "type": "string" - }, - "token_precision": { - "type": "integer" - }, - "token_contract": { - "type": "string" - }, - "collection_name": { - "type": "string" - }, - "template_id": { - "type": "string" - }, - "average": { - "type": "string" - }, - "median": { - "type": "string" - }, - "suggested_average": { - "type": "string" - }, - "suggested_median": { - "type": "string" - }, - "min": { - "type": "string" - }, - "max": { - "type": "string" - } - } - }, - "Inline74cdda32": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "type": "array", - "items": { - "$ref": "Inline3eff563c" - } - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline63cc0ead": { - "type": "object", - "properties": { - "token_symbol": { - "type": "string" - }, - "token_precision": { - "type": "integer" - }, - "token_contract": { - "type": "string" - }, - "median": { - "type": "string" - }, - "average": { - "type": "string" - }, - "suggested_average": { - "type": "string" - }, - "suggested_median": { - "type": "string" - }, - "min": { - "type": "string" - }, - "max": { - "type": "string" - } - } - }, - "Inline4eea33ed": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "type": "array", - "items": { - "$ref": "Inline63cc0ead" - } - }, - "query_time": { - "type": "integer" - } - } - }, - "Inlineb4c46f55": { - "type": "object", - "properties": { - "contract": { - "type": "string" - }, - "collection_name": { - "type": "string" - }, - "name": { - "type": "string" - }, - "author": { - "type": "string" - }, - "allow_notify": { - "type": "boolean" - }, - "authorized_accounts": { - "type": "array", - "items": { - "type": "string" - } - }, - "notify_accounts": { - "type": "array", - "items": { - "type": "string" - } - }, - "market_fee": { - "type": "number" - }, - "data": { - "$ref": "Inlinecdb728a8" - }, - "created_at_block": { - "type": "string" - }, - "created_at_time": { - "type": "string" - }, - "listings": { - "type": "string" - }, - "volume": { - "type": "string" - }, - "sales": { - "type": "string" - } - } - }, - "Inline75f876f2": { - "type": "object", - "properties": { - "symbol": { - "$ref": "Inlinee2ad32b6" - }, - "results": { - "type": "array", - "items": { - "$ref": "Inlineb4c46f55" - } - } - } - }, - "Inlinecbc952ff": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "$ref": "Inline75f876f2" - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline021b56c6": { - "type": "object", - "properties": { - "account": { - "type": "string" - }, - "buy_volume": { - "type": "string" - }, - "sell_volume": { - "type": "string" - } - } - }, - "Inline3a0d77f8": { - "type": "object", - "properties": { - "symbol": { - "$ref": "Inlinee2ad32b6" - }, - "results": { - "type": "array", - "items": { - "$ref": "Inline021b56c6" - } - } - } - }, - "Inline37285df6": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "$ref": "Inline3a0d77f8" - }, - "query_time": { - "type": "integer" - } - } - }, - "Inlineb32e2720": { - "type": "object", - "properties": { - "symbol": { - "$ref": "Inlinee2ad32b6" - }, - "result": { - "type": "array", - "items": { - "$ref": "Inline021b56c6" - } - } - } - }, - "Inline3e1988f8": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "$ref": "Inlineb32e2720" - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline46a855d8": { - "type": "object", - "properties": { - "schema_name": { - "type": "string" - }, - "listings": { - "type": "string" - }, - "volume": { - "type": "string" - } - } - }, - "Inline2d1fd46a": { - "type": "object", - "properties": { - "symbol": { - "$ref": "Inlinee2ad32b6" - }, - "results": { - "type": "array", - "items": { - "$ref": "Inline46a855d8" - } - } - } - }, - "Inline01d71b58": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "$ref": "Inline2d1fd46a" - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline472eb4f5": { - "type": "object", - "properties": { - "time": { - "type": "string" - }, - "volume": { - "type": "string" - }, - "sales": { - "type": "string" - } - } - }, - "Inlinecdfded9b": { - "type": "object", - "properties": { - "symbol": { - "$ref": "Inlinee2ad32b6" - }, - "results": { - "type": "array", - "items": { - "$ref": "Inline472eb4f5" - } - } - } - }, - "Inline03ec62d9": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "$ref": "Inlinecdfded9b" - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline37541c3f": { - "type": "object", - "properties": { - "volume": { - "type": "string" - }, - "sales": { - "type": "string" - } - } - }, - "Inlined7926285": { - "type": "object", - "properties": { - "symbol": { - "$ref": "Inlinee2ad32b6" - }, - "results": { - "$ref": "Inline37541c3f" - } - } - }, - "Inlinee9e8d085": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "$ref": "Inlined7926285" - }, - "query_time": { - "type": "integer" - } - } - }, - "Inlineedc1f8ec": { - "type": "object", - "properties": { - "listing_symbol": { - "type": "string" - }, - "settlement_symbol": { - "type": "string" - }, - "delphi_pair_name": { - "type": "string" - }, - "invert_delphi_pair": { - "type": "boolean" - } - } - }, - "Inlineeecf236e": { - "type": "object", - "properties": { - "atomicassets_contract": { - "type": "string" - }, - "atomicmarket_contract": { - "type": "string" - }, - "delphioracle_contract": { - "type": "string" - }, - "version": { - "type": "string" - }, - "maker_market_fee": { - "type": "number" - }, - "taker_market_fee": { - "type": "number" - }, - "minimum_auction_duration": { - "type": "integer" - }, - "maximum_auction_duration": { - "type": "integer" - }, - "minimum_bid_increase": { - "type": "number" - }, - "auction_reset_duration": { - "type": "integer" - }, - "supported_tokens": { - "type": "array", - "items": { - "$ref": "Inlinee2ad32b6" - } - }, - "supported_pairs": { - "type": "array", - "items": { - "$ref": "Inlineedc1f8ec" - } - } - } - }, - "Inline4f499623": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "$ref": "Inlineeecf236e" - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline96783c6c": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "type": "array", - "items": { - "$ref": "undefined" - } - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline359f6138": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "$ref": "ListingAsset" - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline382d5749": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "type": "array", - "items": { - "$ref": "ListingTransfer" - } - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline789aa161": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "type": "array", - "items": { - "$ref": "ListingOffer" - } - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline2c904cf9": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "$ref": "ListingOffer" - }, - "query_time": { - "type": "integer" - } - } - }, - "Inlinedb18d4ba": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "type": "array", - "items": { - "$ref": "Link" - } - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline3a3cb959": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "$ref": "Link" - }, - "query_time": { - "type": "integer" - } - } - }, - "Inline59b668ab": { - "type": "object", - "properties": { - "atomictools_contract": { - "type": "string" - }, - "atomicassets_contract": { - "type": "string" - }, - "version": { - "type": "string" - } - } - }, - "Inline7a0424ea": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "data": { - "$ref": "Inline59b668ab" - }, - "query_time": { - "type": "integer" - } - } } } } -} \ No newline at end of file +}