Browse Source

fix(nocodb): hook request and response type

pull/5317/head
Wing-Kam Wong 2 years ago
parent
commit
a5fc4bb718
  1. 393
      packages/nocodb/src/schema/swagger.json

393
packages/nocodb/src/schema/swagger.json

@ -11829,7 +11829,7 @@
"content": { "content": {
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/HookReq" "$ref": "#/components/schemas/Hook"
}, },
"examples": { "examples": {
"Example 1": { "Example 1": {
@ -11863,7 +11863,27 @@
"content": { "content": {
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/Audit" "$ref": "#/components/schemas/HookReq"
},
"examples": {
"Example 1": {
"value": {
"active": 0,
"async": 0,
"description": "This is my hook description",
"env": "all",
"event": "after",
"fk_model_id": "md_rsu68aqjsbyqtl",
"id": "string",
"notification": "{\"type\":\"URL\",\"payload\":{\"method\":\"POST\",\"body\":\"{{ json data }}\",\"headers\":[{}],\"parameters\":[{}],\"auth\":\"\",\"path\":\"http://example.com\"}}",
"null": null,
"operation": "insert",
"retries": 10,
"retry_interval": 60000,
"timeout": 60000,
"title": "My Webhook"
}
}
} }
} }
} }
@ -13560,6 +13580,9 @@
"description": "API Token", "description": "API Token",
"example": "DYh540o8hbWpUGdarekECKLdN5OhlgCUWutVJYX2" "example": "DYh540o8hbWpUGdarekECKLdN5OhlgCUWutVJYX2"
} }
},
"x-stoplight": {
"id": "q8h78qib3l9ko"
} }
}, },
"ApiTokenReq": { "ApiTokenReq": {
@ -13578,12 +13601,15 @@
"type": "string", "type": "string",
"example": "This API Token is for ABC application" "example": "This API Token is for ABC application"
} }
},
"x-stoplight": {
"id": "insn8kf1n4s6k"
} }
}, },
"ApiTokenList": { "ApiTokenList": {
"description": "Model for API Token List", "description": "Model for API Token List",
"x-stoplight": { "x-stoplight": {
"id": "5llg0az9z4tjc" "id": "r482re16lknrx"
}, },
"examples": [ "examples": [
{ {
@ -13686,6 +13712,9 @@
"type": "string", "type": "string",
"description": "Attachment URL" "description": "Attachment URL"
} }
},
"x-stoplight": {
"id": "g4rbip7xwyo6c"
} }
}, },
"AttachmentReq": { "AttachmentReq": {
@ -13721,6 +13750,9 @@
"type": "string", "type": "string",
"description": "Attachment URL to be uploaded via upload-by-url" "description": "Attachment URL to be uploaded via upload-by-url"
} }
},
"x-stoplight": {
"id": "13qyneoxa9jal"
} }
}, },
"Audit": { "Audit": {
@ -13843,6 +13875,9 @@
"description": "Detail", "description": "Detail",
"example": "<span class=\"\">Date</span> : <span class=\"text-decoration-line-through red px-2 lighten-4 black--text\">2023-03-12</span> <span class=\"black--text green lighten-4 px-2\"></span>" "example": "<span class=\"\">Date</span> : <span class=\"text-decoration-line-through red px-2 lighten-4 black--text\">2023-03-12</span> <span class=\"black--text green lighten-4 px-2\"></span>"
} }
},
"x-stoplight": {
"id": "l0ptb1ze54xw8"
} }
}, },
"AuditRowUpdateReq": { "AuditRowUpdateReq": {
@ -13880,6 +13915,9 @@
"value": { "value": {
"description": "The current value after the action" "description": "The current value after the action"
} }
},
"x-stoplight": {
"id": "56u0jsmndirwt"
} }
}, },
"Base": { "Base": {
@ -13954,6 +13992,9 @@
"example": "mysql2", "example": "mysql2",
"type": "string" "type": "string"
} }
},
"x-stoplight": {
"id": "af5ft42zw0uds"
} }
}, },
"BaseList": { "BaseList": {
@ -14053,7 +14094,10 @@
"description": "Paginated Info" "description": "Paginated Info"
} }
}, },
"required": ["list", "pageInfo"] "required": ["list", "pageInfo"],
"x-stoplight": {
"id": "ixksiq5jlmtt8"
}
}, },
"BaseReq": { "BaseReq": {
"description": "Model for Base Request", "description": "Model for Base Request",
@ -14106,7 +14150,10 @@
} }
}, },
"title": "Base Request", "title": "Base Request",
"type": "object" "type": "object",
"x-stoplight": {
"id": "noplj8yr34xzd"
}
}, },
"Bool": { "Bool": {
"description": "Model for Bool", "description": "Model for Bool",
@ -14125,7 +14172,10 @@
"type": "null" "type": "null"
} }
], ],
"title": "Bool Model" "title": "Bool Model",
"x-stoplight": {
"id": "1mdcm71g7euvt"
}
}, },
"Column": { "Column": {
"description": "Model for Column", "description": "Model for Column",
@ -14410,6 +14460,9 @@
"$ref": "#/components/schemas/Bool", "$ref": "#/components/schemas/Bool",
"description": "Is Visible?" "description": "Is Visible?"
} }
},
"x-stoplight": {
"id": "jcj9uwgl3rnum"
} }
}, },
"ColumnList": { "ColumnList": {
@ -14515,7 +14568,10 @@
} }
} }
}, },
"required": ["list", "pageInfo"] "required": ["list", "pageInfo"],
"x-stoplight": {
"id": "vs478sn3czrc2"
}
}, },
"ColumnReq": { "ColumnReq": {
"allOf": [ "allOf": [
@ -14604,7 +14660,10 @@
} }
], ],
"title": "Column Request Model", "title": "Column Request Model",
"type": "object" "type": "object",
"x-stoplight": {
"id": "gz9531uzue95g"
}
}, },
"CommentReq": { "CommentReq": {
"description": "Model for Comment Request", "description": "Model for Comment Request",
@ -14634,7 +14693,10 @@
"example": "3" "example": "3"
} }
}, },
"required": ["fk_model_id", "row_id"] "required": ["fk_model_id", "row_id"],
"x-stoplight": {
"id": "bsshnshrcy8f7"
}
}, },
"Filter": { "Filter": {
"description": "Model for Filter", "description": "Model for Filter",
@ -14790,7 +14852,10 @@
}, },
"readOnly": true, "readOnly": true,
"title": "Filter Model", "title": "Filter Model",
"type": "object" "type": "object",
"x-stoplight": {
"id": "ugwuw0aemt5y2"
}
}, },
"FilterList": { "FilterList": {
"description": "Model for Filter List", "description": "Model for Filter List",
@ -14876,7 +14941,10 @@
} }
} }
}, },
"required": ["list", "pageInfo"] "required": ["list", "pageInfo"],
"x-stoplight": {
"id": "5wly9iyeixwxs"
}
}, },
"FilterReq": { "FilterReq": {
"description": "Model for Filter Request", "description": "Model for Filter Request",
@ -14980,7 +15048,10 @@
}, },
"readOnly": true, "readOnly": true,
"title": "Filter Request Model", "title": "Filter Request Model",
"type": "object" "type": "object",
"x-stoplight": {
"id": "3rypg89wx0qp1"
}
}, },
"Form": { "Form": {
"description": "Model for Form", "description": "Model for Form",
@ -15109,6 +15180,9 @@
"description": "Form View Title", "description": "Form View Title",
"example": "Form View 1" "example": "Form View 1"
} }
},
"x-stoplight": {
"id": "luvu108gux43l"
} }
}, },
"FormUpdateReq": { "FormUpdateReq": {
@ -15177,6 +15251,9 @@
"$ref": "#/components/schemas/StringOrNull", "$ref": "#/components/schemas/StringOrNull",
"description": "Custom message after the form is successfully submitted" "description": "Custom message after the form is successfully submitted"
} }
},
"x-stoplight": {
"id": "j9hvt9lds2o4q"
} }
}, },
"FormColumn": { "FormColumn": {
@ -15262,6 +15339,9 @@
"$ref": "#/components/schemas/StringOrNull", "$ref": "#/components/schemas/StringOrNull",
"description": "Form Column UUID (Not in use)" "description": "Form Column UUID (Not in use)"
} }
},
"x-stoplight": {
"id": "uga344v068snf"
} }
}, },
"FormColumnReq": { "FormColumnReq": {
@ -15326,6 +15406,9 @@
"$ref": "#/components/schemas/Bool", "$ref": "#/components/schemas/Bool",
"description": "Is this column shown in Form?" "description": "Is this column shown in Form?"
} }
},
"x-stoplight": {
"id": "7x7zkufy7a93t"
} }
}, },
"Formula": { "Formula": {
@ -15364,6 +15447,9 @@
"type": "string", "type": "string",
"description": "Error Message" "description": "Error Message"
} }
},
"x-stoplight": {
"id": "3h68x9a08nvlu"
} }
}, },
"FormulaColumnReq": { "FormulaColumnReq": {
@ -15398,6 +15484,9 @@
"type": "string", "type": "string",
"description": "UI Data Type" "description": "UI Data Type"
} }
},
"x-stoplight": {
"id": "rd9929r4qa3c0"
} }
}, },
"Gallery": { "Gallery": {
@ -15489,7 +15578,10 @@
} }
}, },
"title": "Gallery Model", "title": "Gallery Model",
"type": "object" "type": "object",
"x-stoplight": {
"id": "at47gz5aqeuv5"
}
}, },
"GalleryColumn": { "GalleryColumn": {
"description": "Model for Gallery Column", "description": "Model for Gallery Column",
@ -15521,12 +15613,15 @@
} }
}, },
"title": "Gallery Column Model", "title": "Gallery Column Model",
"type": "object" "type": "object",
"x-stoplight": {
"id": "4mx8vfd16y55g"
}
}, },
"GalleryUpdateReq": { "GalleryUpdateReq": {
"description": "Model for Gallery View Update Request", "description": "Model for Gallery View Update Request",
"x-stoplight": { "x-stoplight": {
"id": "mgch3vcokvxml" "id": "uiz5gs88mmt1a"
}, },
"examples": [ "examples": [
{ {
@ -15577,7 +15672,10 @@
} }
}, },
"title": "Geo Location Model", "title": "Geo Location Model",
"type": "object" "type": "object",
"x-stoplight": {
"id": "cphi852bw9h6n"
}
}, },
"Grid": { "Grid": {
"description": "Model for Grid", "description": "Model for Grid",
@ -15684,6 +15782,9 @@
} }
} }
} }
},
"x-stoplight": {
"id": "b84k9hlbnco1o"
} }
}, },
"GridColumn": { "GridColumn": {
@ -15765,6 +15866,9 @@
"id": "azwh6zn37qzkc" "id": "azwh6zn37qzkc"
} }
} }
},
"x-stoplight": {
"id": "r2fo58lue2zws"
} }
}, },
"GridColumnReq": { "GridColumnReq": {
@ -15800,12 +15904,15 @@
} }
}, },
"title": "Grid Column Request Model", "title": "Grid Column Request Model",
"type": "object" "type": "object",
"x-stoplight": {
"id": "1viyr55m2bzy3"
}
}, },
"GridUpdateReq": { "GridUpdateReq": {
"description": "Model for Grid View Update", "description": "Model for Grid View Update",
"x-stoplight": { "x-stoplight": {
"id": "d7x12vwf1fgz4" "id": "rmiv1e1jrzj71"
}, },
"examples": [ "examples": [
{ {
@ -15923,12 +16030,15 @@
"type": "string", "type": "string",
"description": "Hook Type" "description": "Hook Type"
} }
},
"x-stoplight": {
"id": "0rlu88fc7ctax"
} }
}, },
"HookReq": { "HookReq": {
"description": "Model for Hook", "description": "Model for Hook",
"x-stoplight": { "x-stoplight": {
"id": "8yxb4tz9u2ahz" "id": "yogkf6qrh2el9"
}, },
"examples": [ "examples": [
{ {
@ -16096,7 +16206,10 @@
"$ref": "#/components/schemas/Paginated" "$ref": "#/components/schemas/Paginated"
} }
}, },
"required": ["list", "pageInfo"] "required": ["list", "pageInfo"],
"x-stoplight": {
"id": "xhy5z4cp53e19"
}
}, },
"HookLog": { "HookLog": {
"description": "Model for Hook Log", "description": "Model for Hook Log",
@ -16174,6 +16287,9 @@
"type": { "type": {
"type": "string" "type": "string"
} }
},
"x-stoplight": {
"id": "uwhlr759v7ftb"
} }
}, },
"HookTestReq": { "HookTestReq": {
@ -16225,7 +16341,10 @@
"description": "Payload to be sent" "description": "Payload to be sent"
} }
}, },
"required": ["hook", "payload"] "required": ["hook", "payload"],
"x-stoplight": {
"id": "7fzbka372uhws"
}
}, },
"Id": { "Id": {
"description": "Model for ID", "description": "Model for ID",
@ -16233,7 +16352,10 @@
"maxLength": 20, "maxLength": 20,
"minLength": 0, "minLength": 0,
"title": "ID Model", "title": "ID Model",
"type": "string" "type": "string",
"x-stoplight": {
"id": "q0pbjcp2vwe2s"
}
}, },
"Kanban": { "Kanban": {
"description": "Model for Kanban", "description": "Model for Kanban",
@ -16297,6 +16419,9 @@
"description": "Kanban Title", "description": "Kanban Title",
"example": "My Kanban" "example": "My Kanban"
} }
},
"x-stoplight": {
"id": "y0wib3uswcjv3"
} }
}, },
"KanbanColumn": { "KanbanColumn": {
@ -16367,6 +16492,9 @@
"example": 1, "example": 1,
"description": "Column Order" "description": "Column Order"
} }
},
"x-stoplight": {
"id": "jq9x7ac9cr56v"
} }
}, },
"KanbanUpdateReq": { "KanbanUpdateReq": {
@ -16441,6 +16569,9 @@
}, },
"description": "Meta Info" "description": "Meta Info"
} }
},
"x-stoplight": {
"id": "ds5bt314hgogd"
} }
}, },
"LicenseReq": { "LicenseReq": {
@ -16460,7 +16591,10 @@
} }
}, },
"title": "License Key Request Model", "title": "License Key Request Model",
"type": "object" "type": "object",
"x-stoplight": {
"id": "ydf14317b0zdt"
}
}, },
"LinkToAnotherColumnReq": { "LinkToAnotherColumnReq": {
"description": "Model for LinkToAnotherColumn Request", "description": "Model for LinkToAnotherColumn Request",
@ -16506,7 +16640,10 @@
}, },
"required": ["childId", "parentId", "title", "type", "uidt"], "required": ["childId", "parentId", "title", "type", "uidt"],
"title": "LinkToAnotherColumn Request Model", "title": "LinkToAnotherColumn Request Model",
"type": "object" "type": "object",
"x-stoplight": {
"id": "72l8lzwwxd36o"
}
}, },
"LinkToAnotherRecord": { "LinkToAnotherRecord": {
"description": "Model for LinkToAnotherRecord", "description": "Model for LinkToAnotherRecord",
@ -16579,7 +16716,10 @@
} }
}, },
"title": "LinkToAnotherRecord Model", "title": "LinkToAnotherRecord Model",
"type": "object" "type": "object",
"x-stoplight": {
"id": "dyp9tqjqy0vjn"
}
}, },
"Lookup": { "Lookup": {
"description": "Model for Lookup", "description": "Model for Lookup",
@ -16616,6 +16756,9 @@
"description": "The order among the list", "description": "The order among the list",
"example": 1 "example": 1
} }
},
"x-stoplight": {
"id": "oin5vuleupbau"
} }
}, },
"LookupColumnReq": { "LookupColumnReq": {
@ -16650,6 +16793,9 @@
"type": "string", "type": "string",
"description": "UI DataType" "description": "UI DataType"
} }
},
"x-stoplight": {
"id": "pas3o57wv14yl"
} }
}, },
"Map": { "Map": {
@ -16724,12 +16870,15 @@
} }
}, },
"title": "Map Model", "title": "Map Model",
"type": "object" "type": "object",
"x-stoplight": {
"id": "g54ldc4p8ukcb"
}
}, },
"MapUpdateReq": { "MapUpdateReq": {
"description": "Model for Map", "description": "Model for Map",
"x-stoplight": { "x-stoplight": {
"id": "o1v53xl8b6hn9" "id": "np6n7vwe0bpbc"
}, },
"examples": [ "examples": [
{ {
@ -16802,7 +16951,10 @@
} }
}, },
"title": "Map Column Model", "title": "Map Column Model",
"type": "object" "type": "object",
"x-stoplight": {
"id": "jwohh924xkrki"
}
}, },
"Meta": { "Meta": {
"description": "Model for Meta", "description": "Model for Meta",
@ -16818,7 +16970,10 @@
"type": "string" "type": "string"
} }
], ],
"title": "Meta Model" "title": "Meta Model",
"x-stoplight": {
"id": "3bua8s1l4ia18"
}
}, },
"ModelRoleVisibility": { "ModelRoleVisibility": {
"description": "Model for ModelRoleVisibility", "description": "Model for ModelRoleVisibility",
@ -16858,7 +17013,10 @@
} }
}, },
"title": "ModelRoleVisibility Model", "title": "ModelRoleVisibility Model",
"type": "object" "type": "object",
"x-stoplight": {
"id": "qd2r14lgbgil5"
}
}, },
"NormalColumnRequest": { "NormalColumnRequest": {
"description": "Model for Normal Column Request", "description": "Model for Normal Column Request",
@ -17034,7 +17192,10 @@
}, },
"title": "Normal Column Request Model", "title": "Normal Column Request Model",
"type": "object", "type": "object",
"required": ["column_name"] "required": ["column_name"],
"x-stoplight": {
"id": "lbdjjckrjmr9a"
}
}, },
"OrgUserReq": { "OrgUserReq": {
"description": "Model for Organisation User Update Request", "description": "Model for Organisation User Update Request",
@ -17056,7 +17217,10 @@
} }
}, },
"title": "Organisation User Request Model", "title": "Organisation User Request Model",
"type": "object" "type": "object",
"x-stoplight": {
"id": "odog9hoqfpbii"
}
}, },
"Paginated": { "Paginated": {
"description": "Model for Paginated", "description": "Model for Paginated",
@ -17095,7 +17259,10 @@
} }
}, },
"title": "Paginated Model", "title": "Paginated Model",
"type": "object" "type": "object",
"x-stoplight": {
"id": "x9joizn5gys68"
}
}, },
"Password": { "Password": {
"description": "Model for Password", "description": "Model for Password",
@ -17103,7 +17270,10 @@
"examples": ["password123456789"], "examples": ["password123456789"],
"minLength": 8, "minLength": 8,
"title": "Password Model", "title": "Password Model",
"type": "string" "type": "string",
"x-stoplight": {
"id": "bn4nxlclrh5pl"
}
}, },
"PasswordChangeReq": { "PasswordChangeReq": {
"description": "Model for Password Change Request", "description": "Model for Password Change Request",
@ -17124,7 +17294,10 @@
}, },
"required": ["currentPassword", "newPassword"], "required": ["currentPassword", "newPassword"],
"title": "Password Change Request Model", "title": "Password Change Request Model",
"type": "object" "type": "object",
"x-stoplight": {
"id": "0bt6ueal1r1ai"
}
}, },
"PasswordForgotReq": { "PasswordForgotReq": {
"description": "Model for Password Forgot Request", "description": "Model for Password Forgot Request",
@ -17142,7 +17315,10 @@
}, },
"required": ["email"], "required": ["email"],
"title": "Password Forgot Request Model", "title": "Password Forgot Request Model",
"type": "object" "type": "object",
"x-stoplight": {
"id": "ucprs67a4yk4e"
}
}, },
"PasswordResetReq": { "PasswordResetReq": {
"description": "Model for Password Reset Request", "description": "Model for Password Reset Request",
@ -17161,7 +17337,10 @@
}, },
"required": ["password"], "required": ["password"],
"title": "Password Reset Request Model", "title": "Password Reset Request Model",
"type": "object" "type": "object",
"x-stoplight": {
"id": "kgww333t4d6oi"
}
}, },
"Plugin": { "Plugin": {
"description": "Model for Plugin", "description": "Model for Plugin",
@ -17275,6 +17454,9 @@
"description": "Plugin Version", "description": "Plugin Version",
"example": "0.0.1" "example": "0.0.1"
} }
},
"x-stoplight": {
"id": "yddgye9ktoowm"
} }
}, },
"PluginReq": { "PluginReq": {
@ -17296,6 +17478,9 @@
"$ref": "#/components/schemas/StringOrNull", "$ref": "#/components/schemas/StringOrNull",
"description": "Plugin Input" "description": "Plugin Input"
} }
},
"x-stoplight": {
"id": "8n2qkaa4mmbwk"
} }
}, },
"PluginTestReq": { "PluginTestReq": {
@ -17335,7 +17520,10 @@
"example": "Email" "example": "Email"
} }
}, },
"required": ["title", "input", "category"] "required": ["title", "input", "category"],
"x-stoplight": {
"id": "xburi6p29sjxt"
}
}, },
"Project": { "Project": {
"description": "Model for Project", "description": "Model for Project",
@ -17422,6 +17610,9 @@
"example": "my-project", "example": "my-project",
"type": "string" "type": "string"
} }
},
"x-stoplight": {
"id": "mws3mrzua4dgn"
} }
}, },
"ProjectList": { "ProjectList": {
@ -17515,7 +17706,10 @@
"description": "Pagination Info" "description": "Pagination Info"
} }
}, },
"required": ["list", "pageInfo"] "required": ["list", "pageInfo"],
"x-stoplight": {
"id": "xyl4jpahycz9z"
}
}, },
"ProjectReq": { "ProjectReq": {
"description": "Model for Project Request", "description": "Model for Project Request",
@ -17565,12 +17759,15 @@
}, },
"required": ["title"], "required": ["title"],
"title": "Project Request Model", "title": "Project Request Model",
"type": "object" "type": "object",
"x-stoplight": {
"id": "q30kb0cjsqejc"
}
}, },
"ProjectUpdateReq": { "ProjectUpdateReq": {
"description": "Model for Project Update Request", "description": "Model for Project Update Request",
"x-stoplight": { "x-stoplight": {
"id": "4zgrec70wyz4c" "id": "c3vcm2zuncet0"
}, },
"examples": [ "examples": [
{ {
@ -17633,7 +17830,10 @@
"description": "Project User Role" "description": "Project User Role"
} }
}, },
"required": ["email", "roles"] "required": ["email", "roles"],
"x-stoplight": {
"id": "9t06rq4mfxpsi"
}
}, },
"Rollup": { "Rollup": {
"description": "Model for Rollup", "description": "Model for Rollup",
@ -17679,6 +17879,9 @@
"avgDistinct" "avgDistinct"
] ]
} }
},
"x-stoplight": {
"id": "vx9w2nz7au6ra"
} }
}, },
"RollupColumnReq": { "RollupColumnReq": {
@ -17727,6 +17930,9 @@
"type": "string", "type": "string",
"description": "UI DataType" "description": "UI DataType"
} }
},
"x-stoplight": {
"id": "4dhjg4qtqyxgt"
} }
}, },
"SelectOption": { "SelectOption": {
@ -17766,6 +17972,9 @@
"description": "The order among the options", "description": "The order among the options",
"example": 1 "example": 1
} }
},
"x-stoplight": {
"id": "phvjpv4bedapu"
} }
}, },
"SelectOptions": { "SelectOptions": {
@ -17794,7 +18003,10 @@
} }
} }
}, },
"required": ["options"] "required": ["options"],
"x-stoplight": {
"id": "kjpgrmx40vtbs"
}
}, },
"SharedBaseReq": { "SharedBaseReq": {
"description": "Model for Shared Base Request", "description": "Model for Shared Base Request",
@ -17819,6 +18031,9 @@
"description": "The role given the target user", "description": "The role given the target user",
"example": "editor" "example": "editor"
} }
},
"x-stoplight": {
"id": "oinjv6cau9px7"
} }
}, },
"SharedView": { "SharedView": {
@ -17854,7 +18069,10 @@
"uuid": null "uuid": null
} }
} }
] ],
"x-stoplight": {
"id": "80fgtmpmd1hxi"
}
}, },
"SharedViewList": { "SharedViewList": {
"description": "Model for Shared View List", "description": "Model for Shared View List",
@ -17945,7 +18163,10 @@
"description": "Paginated Info" "description": "Paginated Info"
} }
}, },
"required": ["list", "pageInfo"] "required": ["list", "pageInfo"],
"x-stoplight": {
"id": "4nhixasc8ncwz"
}
}, },
"SharedViewReq": { "SharedViewReq": {
"description": "Model for Shared View Request", "description": "Model for Shared View Request",
@ -17966,6 +18187,9 @@
"$ref": "#/components/schemas/StringOrNull", "$ref": "#/components/schemas/StringOrNull",
"description": "Password to restrict access" "description": "Password to restrict access"
} }
},
"x-stoplight": {
"id": "bnn8fqklepl7j"
} }
}, },
"SignInReq": { "SignInReq": {
@ -17989,7 +18213,10 @@
}, },
"required": ["email", "password"], "required": ["email", "password"],
"title": "Signin Request Model", "title": "Signin Request Model",
"type": "object" "type": "object",
"x-stoplight": {
"id": "u8vbpvxi9gs2z"
}
}, },
"SignUpReq": { "SignUpReq": {
"description": "Model for Signup Request", "description": "Model for Signup Request",
@ -18045,7 +18272,10 @@
"description": "Ignore Subscription" "description": "Ignore Subscription"
} }
}, },
"required": ["email", "password"] "required": ["email", "password"],
"x-stoplight": {
"id": "tw6fyw78ih8dx"
}
}, },
"Sort": { "Sort": {
"description": "Model for Sort", "description": "Model for Sort",
@ -18095,6 +18325,9 @@
"example": "p_9sx43moxhqtjm3", "example": "p_9sx43moxhqtjm3",
"readOnly": true "readOnly": true
} }
},
"x-stoplight": {
"id": "9vo9f9qec4rwf"
} }
}, },
"SortList": { "SortList": {
@ -18173,7 +18406,10 @@
} }
} }
}, },
"required": ["list", "pageInfo"] "required": ["list", "pageInfo"],
"x-stoplight": {
"id": "wwcmyc9odjaxt"
}
}, },
"SortReq": { "SortReq": {
"description": "Model for Sort Request", "description": "Model for Sort Request",
@ -18196,6 +18432,9 @@
"enum": ["asc", "desc"], "enum": ["asc", "desc"],
"type": "string" "type": "string"
} }
},
"x-stoplight": {
"id": "g320wvsh90rcp"
} }
}, },
"StringOrNull": { "StringOrNull": {
@ -18210,7 +18449,10 @@
"type": "null" "type": "null"
} }
], ],
"title": "StringOrNull Model" "title": "StringOrNull Model",
"x-stoplight": {
"id": "n57pb7pryq2zm"
}
}, },
"Table": { "Table": {
"description": "Model for Table", "description": "Model for Table",
@ -18636,7 +18878,10 @@
"type": "string" "type": "string"
} }
}, },
"required": ["table_name", "title"] "required": ["table_name", "title"],
"x-stoplight": {
"id": "jnbkhtbvk6np6"
}
}, },
"TableList": { "TableList": {
"description": "Model for Table List", "description": "Model for Table List",
@ -18763,7 +19008,10 @@
"description": "Paginated Info" "description": "Paginated Info"
} }
}, },
"required": ["list", "pageInfo"] "required": ["list", "pageInfo"],
"x-stoplight": {
"id": "dki89c4lat66i"
}
}, },
"TableReq": { "TableReq": {
"description": "Model for Table Request", "description": "Model for Table Request",
@ -18901,7 +19149,10 @@
}, },
"required": ["columns", "table_name"], "required": ["columns", "table_name"],
"title": "Table Request Model", "title": "Table Request Model",
"type": "object" "type": "object",
"x-stoplight": {
"id": "rx8c69o5719vx"
}
}, },
"User": { "User": {
"description": "Model for User", "description": "Model for User",
@ -18950,7 +19201,10 @@
"type": "string" "type": "string"
} }
}, },
"required": ["email", "email_verified", "firstname", "id", "lastname"] "required": ["email", "email_verified", "firstname", "id", "lastname"],
"x-stoplight": {
"id": "cls6abm42ey04"
}
}, },
"UserInfo": { "UserInfo": {
"description": "Model for User Info", "description": "Model for User Info",
@ -18991,7 +19245,10 @@
} }
}, },
"title": "User Info Model", "title": "User Info Model",
"type": "object" "type": "object",
"x-stoplight": {
"id": "tvl09i4n62jnc"
}
}, },
"UserList": { "UserList": {
"description": "Model for User List", "description": "Model for User List",
@ -19069,7 +19326,10 @@
"description": "Paginated Info" "description": "Paginated Info"
} }
}, },
"required": ["list", "pageInfo"] "required": ["list", "pageInfo"],
"x-stoplight": {
"id": "kxaws22o5xk74"
}
}, },
"View": { "View": {
"description": "Model for View", "description": "Model for View",
@ -19180,7 +19440,10 @@
"description": "Associated View Model" "description": "Associated View Model"
} }
}, },
"required": ["fk_model_id", "show", "title", "type"] "required": ["fk_model_id", "show", "title", "type"],
"x-stoplight": {
"id": "t38y987y9rgv5"
}
}, },
"ViewList": { "ViewList": {
"description": "Model for View List", "description": "Model for View List",
@ -19305,12 +19568,15 @@
"description": "Paginated Info" "description": "Paginated Info"
} }
}, },
"required": ["list", "pageInfo"] "required": ["list", "pageInfo"],
"x-stoplight": {
"id": "kjdjlqsioesz5"
}
}, },
"ViewCreateReq": { "ViewCreateReq": {
"type": "object", "type": "object",
"x-stoplight": { "x-stoplight": {
"id": "36edbe4aa5d24" "id": "cuum3lv94tb57"
}, },
"title": "ViewCreateReq", "title": "ViewCreateReq",
"description": "Model for View Create Request", "description": "Model for View Create Request",
@ -19379,7 +19645,7 @@
"ViewUpdateReq": { "ViewUpdateReq": {
"description": "Model for View Update Request", "description": "Model for View Update Request",
"x-stoplight": { "x-stoplight": {
"id": "1f9fe53ec13a2" "id": "zlgpq6n2pg2rj"
}, },
"examples": [ "examples": [
{ {
@ -19444,7 +19710,7 @@
"ViewColumnUpdateReq": { "ViewColumnUpdateReq": {
"description": "Model for View Column Update Request", "description": "Model for View Column Update Request",
"x-stoplight": { "x-stoplight": {
"id": "xyhyykbk7kw0a" "id": "zt66lex00hzth"
}, },
"examples": [ "examples": [
{ {
@ -19473,7 +19739,7 @@
"ViewColumnReq": { "ViewColumnReq": {
"description": "Model for View Column Request", "description": "Model for View Column Request",
"x-stoplight": { "x-stoplight": {
"id": "94h1qcjiv7yex" "id": "chpsc3sgvhehw"
}, },
"examples": [ "examples": [
{ {
@ -19562,7 +19828,10 @@
"type": "object" "type": "object"
}, },
"title": "Visibility Rule Request Model", "title": "Visibility Rule Request Model",
"type": "array" "type": "array",
"x-stoplight": {
"id": "bmgsfkt8woxh5"
}
} }
}, },
"responses": { "responses": {

Loading…
Cancel
Save