|
17 | 17 | },
|
18 | 18 | "servers": [
|
19 | 19 | {
|
20 |
| - "url": "http://localhost:5000" |
| 20 | + "url": "http://127.0.0.1:5000" |
21 | 21 | }
|
22 | 22 | ],
|
23 | 23 | "paths": {
|
|
6399 | 6399 | "in": "query",
|
6400 | 6400 | "description": "Filters double baking operations by any of the specified fields. Example: `anyof.accuser.offender=tz1...` will return operations where `accuser` OR `offender` is equal to the specified value. This parameter is useful when you need to retrieve all operations associated with a specified account.",
|
6401 | 6401 | "schema": {
|
6402 |
| - "nullable": true, |
6403 |
| - "oneOf": [ |
6404 |
| - { |
6405 |
| - "$ref": "#/components/schemas/AnyOfParameter" |
6406 |
| - } |
6407 |
| - ] |
| 6402 | + "type": "string", |
| 6403 | + "nullable": true |
6408 | 6404 | },
|
6409 | 6405 | "x-position": 1
|
6410 | 6406 | },
|
|
6670 | 6666 | "in": "query",
|
6671 | 6667 | "description": "Filters double endorsing operations by any of the specified fields. Example: `anyof.accuser.offender=tz1...` will return operations where `accuser` OR `offender` is equal to the specified value. This parameter is useful when you need to retrieve all operations associated with a specified account.",
|
6672 | 6668 | "schema": {
|
6673 |
| - "nullable": true, |
6674 |
| - "oneOf": [ |
6675 |
| - { |
6676 |
| - "$ref": "#/components/schemas/AnyOfParameter" |
6677 |
| - } |
6678 |
| - ] |
| 6669 | + "type": "string", |
| 6670 | + "nullable": true |
6679 | 6671 | },
|
6680 | 6672 | "x-position": 1
|
6681 | 6673 | },
|
|
6941 | 6933 | "in": "query",
|
6942 | 6934 | "description": "Filters nonce revelation operations by any of the specified fields. Example: `anyof.baker.sender=tz1...` will return operations where `baker` OR `sender` is equal to the specified value. This parameter is useful when you need to retrieve all operations associated with a specified account.",
|
6943 | 6935 | "schema": {
|
6944 |
| - "nullable": true, |
6945 |
| - "oneOf": [ |
6946 |
| - { |
6947 |
| - "$ref": "#/components/schemas/AnyOfParameter" |
6948 |
| - } |
6949 |
| - ] |
| 6936 | + "type": "string", |
| 6937 | + "nullable": true |
6950 | 6938 | },
|
6951 | 6939 | "x-position": 1
|
6952 | 6940 | },
|
|
7212 | 7200 | "in": "query",
|
7213 | 7201 | "description": "Filters delegations by any of the specified fields. Example: `anyof.prevDelegate.newDelegate=tz1...` will return operations where `prevDelegate` OR `newDelegate` is equal to the specified value. This parameter is useful when you need to retrieve all delegations associated with a specified account.",
|
7214 | 7202 | "schema": {
|
7215 |
| - "nullable": true, |
7216 |
| - "oneOf": [ |
7217 |
| - { |
7218 |
| - "$ref": "#/components/schemas/AnyOfParameter" |
7219 |
| - } |
7220 |
| - ] |
| 7203 | + "type": "string", |
| 7204 | + "nullable": true |
7221 | 7205 | },
|
7222 | 7206 | "x-position": 1
|
7223 | 7207 | },
|
|
7525 | 7509 | "in": "query",
|
7526 | 7510 | "description": "Filters originations by any of the specified fields. Example: `anyof.sender.initiator=tz1...` will return operations where `sender` OR `initiator` is equal to the specified value. This parameter is useful when you need to retrieve all originations associated with a specified account.",
|
7527 | 7511 | "schema": {
|
7528 |
| - "nullable": true, |
7529 |
| - "oneOf": [ |
7530 |
| - { |
7531 |
| - "$ref": "#/components/schemas/AnyOfParameter" |
7532 |
| - } |
7533 |
| - ] |
| 7512 | + "type": "string", |
| 7513 | + "nullable": true |
7534 | 7514 | },
|
7535 | 7515 | "x-position": 1
|
7536 | 7516 | },
|
|
7903 | 7883 | "in": "query",
|
7904 | 7884 | "description": "Filters transactions by any of the specified fields. Example: `anyof.sender.target=tz1...` will return operations where `sender` OR `target` is equal to the specified value. This parameter is useful when you need to retrieve all transactions associated with a specified account.",
|
7905 | 7885 | "schema": {
|
7906 |
| - "nullable": true, |
7907 |
| - "oneOf": [ |
7908 |
| - { |
7909 |
| - "$ref": "#/components/schemas/AnyOfParameter" |
7910 |
| - } |
7911 |
| - ] |
| 7886 | + "type": "string", |
| 7887 | + "nullable": true |
7912 | 7888 | },
|
7913 | 7889 | "x-position": 1
|
7914 | 7890 | },
|
@@ -14745,191 +14721,70 @@
|
14745 | 14721 | "additionalProperties": false,
|
14746 | 14722 | "properties": {
|
14747 | 14723 | "eq": {
|
| 14724 | + "type": "string", |
14748 | 14725 | "description": "**Equal** filter mode (optional, i.e. `param.eq=123` is the same as `param=123`). \\\nSpecify a JSON value to get items where the specified field is equal to the specified value.\n\nExample: `?parameter.from=tz1...` or `?parameter.signatures.[3].[0]=null` or `?parameter.sigs.[*]=null`.",
|
14749 | 14726 | "nullable": true,
|
14750 |
| - "oneOf": [ |
14751 |
| - { |
14752 |
| - "$ref": "#/components/schemas/JsonParameterStringFilter" |
14753 |
| - } |
14754 |
| - ] |
| 14727 | + "x-tzkt-jsonFilterType": "string" |
14755 | 14728 | },
|
14756 | 14729 | "ne": {
|
| 14730 | + "type": "string", |
14757 | 14731 | "description": "**Not equal** filter mode. \\\nSpecify a JSON value to get items where the specified field is not equal to the specified value.\n\nExample: `?parameter.ne=true` or `?parameter.amount.ne=0`.",
|
14758 | 14732 | "nullable": true,
|
14759 |
| - "oneOf": [ |
14760 |
| - { |
14761 |
| - "$ref": "#/components/schemas/JsonParameterStringFilter" |
14762 |
| - } |
14763 |
| - ] |
| 14733 | + "x-tzkt-jsonFilterType": "string" |
14764 | 14734 | },
|
14765 | 14735 | "gt": {
|
| 14736 | + "type": "string", |
14766 | 14737 | "description": "**Greater than** filter mode. \\\nSpecify a string to get items where the specified field is greater than the specified value.\nNote that all stored JSON values are strings, so this will be a comparison of two strings, so we recommend comparing values of the same type,\ne.g. numeric strings with numeric strings (`parameter.number.gt=123`), datetime strings with datetime strings (`parameter.date.gt=2021-01-01`), etc.\nOtherwise, result may surprise you.\n\nExample: `?parameter.balance.gt=1234` or `?parameter.time.gt=2021-02-01`.",
|
14767 | 14738 | "nullable": true,
|
14768 |
| - "oneOf": [ |
14769 |
| - { |
14770 |
| - "$ref": "#/components/schemas/JsonParameterStringFilter" |
14771 |
| - } |
14772 |
| - ] |
| 14739 | + "x-tzkt-jsonFilterType": "string" |
14773 | 14740 | },
|
14774 | 14741 | "ge": {
|
| 14742 | + "type": "string", |
14775 | 14743 | "description": "**Greater or equal** filter mode. \\\nSpecify a string to get items where the specified field is greater than equal to the specified value.\nNote that all stored JSON values are strings, so this will be a comparison of two strings, so we recommend comparing values of the same type,\ne.g. numeric strings with numeric strings (`parameter.number.gt=123`), datetime strings with datetime strings (`parameter.date.gt=2021-01-01`), etc.\nOtherwise, result may surprise you.\n\nExample: `?parameter.balance.ge=1234` or `?parameter.time.ge=2021-02-01`.",
|
14776 | 14744 | "nullable": true,
|
14777 |
| - "oneOf": [ |
14778 |
| - { |
14779 |
| - "$ref": "#/components/schemas/JsonParameterStringFilter" |
14780 |
| - } |
14781 |
| - ] |
| 14745 | + "x-tzkt-jsonFilterType": "string" |
14782 | 14746 | },
|
14783 | 14747 | "lt": {
|
| 14748 | + "type": "string", |
14784 | 14749 | "description": "**Less than** filter mode. \\\nSpecify a string to get items where the specified field is less than the specified value.\nNote that all stored JSON values are strings, so this will be a comparison of two strings, so we recommend comparing values of the same type,\ne.g. numeric strings with numeric strings (`parameter.number.gt=123`), datetime strings with datetime strings (`parameter.date.gt=2021-01-01`), etc.\nOtherwise, result may surprise you.\n\nExample: `?parameter.balance.lt=1234` or `?parameter.time.lt=2021-02-01`.",
|
14785 | 14750 | "nullable": true,
|
14786 |
| - "oneOf": [ |
14787 |
| - { |
14788 |
| - "$ref": "#/components/schemas/JsonParameterStringFilter" |
14789 |
| - } |
14790 |
| - ] |
| 14751 | + "x-tzkt-jsonFilterType": "string" |
14791 | 14752 | },
|
14792 | 14753 | "le": {
|
| 14754 | + "type": "string", |
14793 | 14755 | "description": "**Less or equal** filter mode. \\\nSpecify a string to get items where the specified field is less than or equal to the specified value.\nNote that all stored JSON values are strings, so this will be a comparison of two strings, so we recommend comparing values of the same type,\ne.g. numeric strings with numeric strings (`parameter.number.gt=123`), datetime strings with datetime strings (`parameter.date.gt=2021-01-01`), etc.\nOtherwise, result may surprise you.\n\nExample: `?parameter.balance.le=1234` or `?parameter.time.le=2021-02-01`.",
|
14794 | 14756 | "nullable": true,
|
14795 |
| - "oneOf": [ |
14796 |
| - { |
14797 |
| - "$ref": "#/components/schemas/JsonParameterStringFilter" |
14798 |
| - } |
14799 |
| - ] |
| 14757 | + "x-tzkt-jsonFilterType": "string" |
14800 | 14758 | },
|
14801 | 14759 | "as": {
|
| 14760 | + "type": "string", |
14802 | 14761 | "description": "**Same as** filter mode. \\\nSpecify a string template to get items where the specified field matches the specified template. \\\nThis mode supports wildcard `*`. Use `\\*` as an escape symbol.\n\nExample: `?parameter.as=*mid*` or `?parameter.as=*end`.",
|
14803 | 14762 | "nullable": true,
|
14804 |
| - "oneOf": [ |
14805 |
| - { |
14806 |
| - "$ref": "#/components/schemas/JsonParameterStringFilter" |
14807 |
| - } |
14808 |
| - ] |
| 14763 | + "x-tzkt-jsonFilterType": "string" |
14809 | 14764 | },
|
14810 | 14765 | "un": {
|
| 14766 | + "type": "string", |
14811 | 14767 | "description": "**Unlike** filter mode. \\\nSpecify a string template to get items where the specified field doesn't match the specified template.\nThis mode supports wildcard `*`. Use `\\*` as an escape symbol.\n\nExample: `?parameter.un=*mid*` or `?parameter.un=*end`.",
|
14812 | 14768 | "nullable": true,
|
14813 |
| - "oneOf": [ |
14814 |
| - { |
14815 |
| - "$ref": "#/components/schemas/JsonParameterStringFilter" |
14816 |
| - } |
14817 |
| - ] |
| 14769 | + "x-tzkt-jsonFilterType": "string" |
14818 | 14770 | },
|
14819 | 14771 | "in": {
|
| 14772 | + "type": "string", |
14820 | 14773 | "description": "**In list** (any of) filter mode. \\\nSpecify a comma-separated list of strings or JSON array to get items where the specified field is equal to one of the specified values. \\\n\nExample: `?parameter.amount.in=1,2,3` or `?parameter.in=[{\"from\":\"tz1\",\"to\":\"tz2\"},{\"from\":\"tz2\",\"to\":\"tz1\"}]`.",
|
14821 | 14774 | "nullable": true,
|
14822 |
| - "oneOf": [ |
14823 |
| - { |
14824 |
| - "$ref": "#/components/schemas/JsonParameterStringListFilter" |
14825 |
| - } |
14826 |
| - ] |
| 14775 | + "x-tzkt-jsonFilterType": "array[string]" |
14827 | 14776 | },
|
14828 | 14777 | "ni": {
|
| 14778 | + "type": "string", |
14829 | 14779 | "description": "**Not in list** (none of) filter mode. \\\nSpecify a comma-separated list of strings to get items where the specified field is not equal to all the specified values. \\\nUse `\\,` as an escape symbol.\n\nExample: `?parameter.amount.ni=1,2,3` or `?parameter.ni=[{\"from\":\"tz1\",\"to\":\"tz2\"},{\"from\":\"tz2\",\"to\":\"tz1\"}]`.",
|
14830 | 14780 | "nullable": true,
|
14831 |
| - "oneOf": [ |
14832 |
| - { |
14833 |
| - "$ref": "#/components/schemas/JsonParameterStringListFilter" |
14834 |
| - } |
14835 |
| - ] |
| 14781 | + "x-tzkt-jsonFilterType": "array[string]" |
14836 | 14782 | },
|
14837 | 14783 | "null": {
|
| 14784 | + "type": "string", |
14838 | 14785 | "description": "**Is null** filter mode. \\\nUse this mode to get items where the specified field is null or not.\n\nExample: `?parameter.null` or `?parameter.null=false` or `?parameter.sigs.[0].null=false`.",
|
14839 | 14786 | "nullable": true,
|
14840 |
| - "oneOf": [ |
14841 |
| - { |
14842 |
| - "$ref": "#/components/schemas/JsonParameterBoolFilter" |
14843 |
| - } |
14844 |
| - ] |
14845 |
| - } |
14846 |
| - } |
14847 |
| - }, |
14848 |
| - "JsonParameterStringFilter": { |
14849 |
| - "allOf": [ |
14850 |
| - { |
14851 |
| - "$ref": "#/components/schemas/JsonParameterFilterOfString" |
14852 |
| - }, |
14853 |
| - { |
14854 |
| - "type": "object", |
14855 |
| - "additionalProperties": false |
14856 |
| - } |
14857 |
| - ] |
14858 |
| - }, |
14859 |
| - "JsonParameterFilterOfString": { |
14860 |
| - "type": "object", |
14861 |
| - "additionalProperties": false, |
14862 |
| - "required": [ |
14863 |
| - "jsonPath", |
14864 |
| - "value" |
14865 |
| - ], |
14866 |
| - "properties": { |
14867 |
| - "jsonPath": { |
14868 |
| - "type": "string", |
14869 |
| - "minLength": 1 |
14870 |
| - }, |
14871 |
| - "value": { |
14872 |
| - "type": "string", |
14873 |
| - "minLength": 1 |
14874 |
| - } |
14875 |
| - } |
14876 |
| - }, |
14877 |
| - "JsonParameterStringListFilter": { |
14878 |
| - "allOf": [ |
14879 |
| - { |
14880 |
| - "$ref": "#/components/schemas/JsonParameterFilterOfIEnumerableOfString" |
14881 |
| - }, |
14882 |
| - { |
14883 |
| - "type": "object", |
14884 |
| - "additionalProperties": false |
14885 |
| - } |
14886 |
| - ] |
14887 |
| - }, |
14888 |
| - "JsonParameterFilterOfIEnumerableOfString": { |
14889 |
| - "type": "object", |
14890 |
| - "additionalProperties": false, |
14891 |
| - "required": [ |
14892 |
| - "jsonPath", |
14893 |
| - "value" |
14894 |
| - ], |
14895 |
| - "properties": { |
14896 |
| - "jsonPath": { |
14897 |
| - "type": "string", |
14898 |
| - "minLength": 1 |
14899 |
| - }, |
14900 |
| - "value": { |
14901 |
| - "type": "array", |
14902 |
| - "items": { |
14903 |
| - "type": "string" |
14904 |
| - } |
14905 |
| - } |
14906 |
| - } |
14907 |
| - }, |
14908 |
| - "JsonParameterBoolFilter": { |
14909 |
| - "allOf": [ |
14910 |
| - { |
14911 |
| - "$ref": "#/components/schemas/JsonParameterFilterOfBoolean" |
14912 |
| - }, |
14913 |
| - { |
14914 |
| - "type": "object", |
14915 |
| - "additionalProperties": false |
14916 |
| - } |
14917 |
| - ] |
14918 |
| - }, |
14919 |
| - "JsonParameterFilterOfBoolean": { |
14920 |
| - "type": "object", |
14921 |
| - "additionalProperties": false, |
14922 |
| - "required": [ |
14923 |
| - "jsonPath", |
14924 |
| - "value" |
14925 |
| - ], |
14926 |
| - "properties": { |
14927 |
| - "jsonPath": { |
14928 |
| - "type": "string", |
14929 |
| - "minLength": 1 |
14930 |
| - }, |
14931 |
| - "value": { |
14932 |
| - "type": "boolean" |
| 14787 | + "x-tzkt-jsonFilterType": "boolean" |
14933 | 14788 | }
|
14934 | 14789 | }
|
14935 | 14790 | },
|
|
16370 | 16225 | }
|
16371 | 16226 | }
|
16372 | 16227 | },
|
16373 |
| - "AnyOfParameter": { |
16374 |
| - "type": "object", |
16375 |
| - "additionalProperties": false, |
16376 |
| - "required": [ |
16377 |
| - "fields", |
16378 |
| - "value" |
16379 |
| - ], |
16380 |
| - "properties": { |
16381 |
| - "fields": { |
16382 |
| - "type": "array", |
16383 |
| - "items": { |
16384 |
| - "type": "string" |
16385 |
| - } |
16386 |
| - }, |
16387 |
| - "value": { |
16388 |
| - "type": "string", |
16389 |
| - "minLength": 1 |
16390 |
| - } |
16391 |
| - } |
16392 |
| - }, |
16393 | 16228 | "MigrationKindParameter": {
|
16394 | 16229 | "type": "object",
|
16395 | 16230 | "additionalProperties": false,
|
|
0 commit comments