|
|
@ -851,7 +851,7 @@ export class Api< |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags Auth |
|
|
|
* @tags Auth |
|
|
|
* @name Me |
|
|
|
* @name Me |
|
|
|
* @summary User Info |
|
|
|
* @summary User info |
|
|
|
* @request GET:/api/v1/db/auth/user/me |
|
|
|
* @request GET:/api/v1/db/auth/user/me |
|
|
|
* @response `200` `UserInfoType` OK |
|
|
|
* @response `200` `UserInfoType` OK |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -869,7 +869,7 @@ export class Api< |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags Auth |
|
|
|
* @tags Auth |
|
|
|
* @name PasswordForgot |
|
|
|
* @name PasswordForgot |
|
|
|
* @summary Password Forgot |
|
|
|
* @summary Password forgot |
|
|
|
* @request POST:/api/v1/db/auth/password/forgot |
|
|
|
* @request POST:/api/v1/db/auth/password/forgot |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `401` `void` Unauthorized |
|
|
|
* @response `401` `void` Unauthorized |
|
|
@ -888,7 +888,7 @@ export class Api< |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags Auth |
|
|
|
* @tags Auth |
|
|
|
* @name PasswordChange |
|
|
|
* @name PasswordChange |
|
|
|
* @summary Password Change |
|
|
|
* @summary Password change |
|
|
|
* @request POST:/api/v1/db/auth/password/change |
|
|
|
* @request POST:/api/v1/db/auth/password/change |
|
|
|
* @response `200` `{ msg?: string }` OK |
|
|
|
* @response `200` `{ msg?: string }` OK |
|
|
|
* @response `400` `{ msg?: string }` Bad request |
|
|
|
* @response `400` `{ msg?: string }` Bad request |
|
|
@ -911,7 +911,7 @@ export class Api< |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags Auth |
|
|
|
* @tags Auth |
|
|
|
* @name PasswordResetTokenValidate |
|
|
|
* @name PasswordResetTokenValidate |
|
|
|
* @summary Reset Token Verify |
|
|
|
* @summary Reset token verify |
|
|
|
* @request POST:/api/v1/db/auth/token/validate/{token} |
|
|
|
* @request POST:/api/v1/db/auth/token/validate/{token} |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -927,7 +927,7 @@ export class Api< |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags Auth |
|
|
|
* @tags Auth |
|
|
|
* @name EmailValidate |
|
|
|
* @name EmailValidate |
|
|
|
* @summary Verify Email |
|
|
|
* @summary Verify email |
|
|
|
* @request POST:/api/v1/db/auth/email/validate/{token} |
|
|
|
* @request POST:/api/v1/db/auth/email/validate/{token} |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -943,7 +943,7 @@ export class Api< |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags Auth |
|
|
|
* @tags Auth |
|
|
|
* @name PasswordReset |
|
|
|
* @name PasswordReset |
|
|
|
* @summary Password Reset |
|
|
|
* @summary Password reset |
|
|
|
* @request POST:/api/v1/db/auth/password/reset/{token} |
|
|
|
* @request POST:/api/v1/db/auth/password/reset/{token} |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -965,7 +965,7 @@ export class Api< |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags Auth |
|
|
|
* @tags Auth |
|
|
|
* @name TokenRefresh |
|
|
|
* @name TokenRefresh |
|
|
|
* @summary Refresh Token |
|
|
|
* @summary Refresh token |
|
|
|
* @request POST:/api/v1/db/auth/token/refresh |
|
|
|
* @request POST:/api/v1/db/auth/token/refresh |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -981,7 +981,7 @@ export class Api< |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags Auth |
|
|
|
* @tags Auth |
|
|
|
* @name ProjectUserList |
|
|
|
* @name ProjectUserList |
|
|
|
* @summary Project Users |
|
|
|
* @summary Project users |
|
|
|
* @request GET:/api/v1/db/meta/projects/{projectId}/users |
|
|
|
* @request GET:/api/v1/db/meta/projects/{projectId}/users |
|
|
|
* @response `200` `{ users?: { list: (UserType)[], pageInfo: PaginatedType } }` OK |
|
|
|
* @response `200` `{ users?: { list: (UserType)[], pageInfo: PaginatedType } }` OK |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -1024,7 +1024,7 @@ export class Api< |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags Auth |
|
|
|
* @tags Auth |
|
|
|
* @name ProjectUserUpdate |
|
|
|
* @name ProjectUserUpdate |
|
|
|
* @summary Project User Update |
|
|
|
* @summary Project user update |
|
|
|
* @request PATCH:/api/v1/db/meta/projects/{projectId}/users/{userId} |
|
|
|
* @request PATCH:/api/v1/db/meta/projects/{projectId}/users/{userId} |
|
|
|
* @response `200` `any` OK |
|
|
|
* @response `200` `any` OK |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -1048,7 +1048,7 @@ export class Api< |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags Auth |
|
|
|
* @tags Auth |
|
|
|
* @name ProjectUserRemove |
|
|
|
* @name ProjectUserRemove |
|
|
|
* @summary Project User Remove |
|
|
|
* @summary Project user remove |
|
|
|
* @request DELETE:/api/v1/db/meta/projects/{projectId}/users/{userId} |
|
|
|
* @request DELETE:/api/v1/db/meta/projects/{projectId}/users/{userId} |
|
|
|
* @response `200` `any` OK |
|
|
|
* @response `200` `any` OK |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -1070,7 +1070,7 @@ export class Api< |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags Project |
|
|
|
* @tags Project |
|
|
|
* @name MetaGet |
|
|
|
* @name MetaGet |
|
|
|
* @summary Project Info |
|
|
|
* @summary Project info |
|
|
|
* @request GET:/api/v1/db/meta/projects/{projectId}/info |
|
|
|
* @request GET:/api/v1/db/meta/projects/{projectId}/info |
|
|
|
* @response `200` `{ Node?: string, Arch?: string, Platform?: string, Docker?: boolean, Database?: string, ProjectOnRootDB?: string, RootDB?: string, PackageVersion?: string }` OK |
|
|
|
* @response `200` `{ Node?: string, Arch?: string, Platform?: string, Docker?: boolean, Database?: string, ProjectOnRootDB?: string, RootDB?: string, PackageVersion?: string }` OK |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -1143,6 +1143,7 @@ export class Api< |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags Project |
|
|
|
* @tags Project |
|
|
|
* @name List |
|
|
|
* @name List |
|
|
|
|
|
|
|
* @summary Project list |
|
|
|
* @request GET:/api/v1/db/meta/projects/ |
|
|
|
* @request GET:/api/v1/db/meta/projects/ |
|
|
|
* @response `201` `ProjectListType` |
|
|
|
* @response `201` `ProjectListType` |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -1162,6 +1163,7 @@ export class Api< |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags Project |
|
|
|
* @tags Project |
|
|
|
* @name Create |
|
|
|
* @name Create |
|
|
|
|
|
|
|
* @summary Project create |
|
|
|
* @request POST:/api/v1/db/meta/projects/ |
|
|
|
* @request POST:/api/v1/db/meta/projects/ |
|
|
|
* @response `200` `ProjectType` OK |
|
|
|
* @response `200` `ProjectType` OK |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -1183,6 +1185,7 @@ export class Api< |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags Project |
|
|
|
* @tags Project |
|
|
|
* @name Read |
|
|
|
* @name Read |
|
|
|
|
|
|
|
* @summary Project read |
|
|
|
* @request GET:/api/v1/db/meta/projects/{projectId} |
|
|
|
* @request GET:/api/v1/db/meta/projects/{projectId} |
|
|
|
* @response `200` `object` OK |
|
|
|
* @response `200` `object` OK |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -1199,6 +1202,7 @@ export class Api< |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags Project |
|
|
|
* @tags Project |
|
|
|
* @name Delete |
|
|
|
* @name Delete |
|
|
|
|
|
|
|
* @summary Project delete |
|
|
|
* @request DELETE:/api/v1/db/meta/projects/{projectId} |
|
|
|
* @request DELETE:/api/v1/db/meta/projects/{projectId} |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -1340,7 +1344,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table |
|
|
|
* @tags DB table |
|
|
|
* @name Create |
|
|
|
* @name Create |
|
|
|
* @request POST:/api/v1/db/meta/projects/{projectId}/tables |
|
|
|
* @request POST:/api/v1/db/meta/projects/{projectId}/tables |
|
|
|
* @response `200` `TableType` OK |
|
|
|
* @response `200` `TableType` OK |
|
|
@ -1362,7 +1366,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table |
|
|
|
* @tags DB table |
|
|
|
* @name List |
|
|
|
* @name List |
|
|
|
* @request GET:/api/v1/db/meta/projects/{projectId}/tables |
|
|
|
* @request GET:/api/v1/db/meta/projects/{projectId}/tables |
|
|
|
* @response `200` `TableListType` |
|
|
|
* @response `200` `TableListType` |
|
|
@ -1387,7 +1391,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table |
|
|
|
* @tags DB table |
|
|
|
* @name Read |
|
|
|
* @name Read |
|
|
|
* @request GET:/api/v1/db/meta/tables/{tableId} |
|
|
|
* @request GET:/api/v1/db/meta/tables/{tableId} |
|
|
|
* @response `200` `TableInfoType` OK |
|
|
|
* @response `200` `TableInfoType` OK |
|
|
@ -1403,7 +1407,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table |
|
|
|
* @tags DB table |
|
|
|
* @name Update |
|
|
|
* @name Update |
|
|
|
* @request PATCH:/api/v1/db/meta/tables/{tableId} |
|
|
|
* @request PATCH:/api/v1/db/meta/tables/{tableId} |
|
|
|
* @response `200` `any` OK |
|
|
|
* @response `200` `any` OK |
|
|
@ -1425,7 +1429,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table |
|
|
|
* @tags DB table |
|
|
|
* @name Delete |
|
|
|
* @name Delete |
|
|
|
* @request DELETE:/api/v1/db/meta/tables/{tableId} |
|
|
|
* @request DELETE:/api/v1/db/meta/tables/{tableId} |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
@ -1440,7 +1444,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table |
|
|
|
* @tags DB table |
|
|
|
* @name Reorder |
|
|
|
* @name Reorder |
|
|
|
* @request POST:/api/v1/db/meta/tables/{tableId}/reorder |
|
|
|
* @request POST:/api/v1/db/meta/tables/{tableId}/reorder |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
@ -1462,7 +1466,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table column |
|
|
|
* @tags DB table column |
|
|
|
* @name Create |
|
|
|
* @name Create |
|
|
|
* @summary Column create |
|
|
|
* @summary Column create |
|
|
|
* @request POST:/api/v1/db/meta/tables/{tableId}/columns |
|
|
|
* @request POST:/api/v1/db/meta/tables/{tableId}/columns |
|
|
@ -1484,7 +1488,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table column |
|
|
|
* @tags DB table column |
|
|
|
* @name Update |
|
|
|
* @name Update |
|
|
|
* @summary Column Update |
|
|
|
* @summary Column Update |
|
|
|
* @request PATCH:/api/v1/db/meta/columns/{columnId} |
|
|
|
* @request PATCH:/api/v1/db/meta/columns/{columnId} |
|
|
@ -1507,7 +1511,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table column |
|
|
|
* @tags DB table column |
|
|
|
* @name Delete |
|
|
|
* @name Delete |
|
|
|
* @request DELETE:/api/v1/db/meta/columns/{columnId} |
|
|
|
* @request DELETE:/api/v1/db/meta/columns/{columnId} |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
@ -1522,7 +1526,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table column |
|
|
|
* @tags DB table column |
|
|
|
* @name PrimaryColumnSet |
|
|
|
* @name PrimaryColumnSet |
|
|
|
* @request POST:/api/v1/db/meta/columns/{columnId}/primary |
|
|
|
* @request POST:/api/v1/db/meta/columns/{columnId}/primary |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
@ -1538,7 +1542,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB View |
|
|
|
* @tags DB view |
|
|
|
* @name List |
|
|
|
* @name List |
|
|
|
* @request GET:/api/v1/db/meta/tables/{tableId}/views |
|
|
|
* @request GET:/api/v1/db/meta/tables/{tableId}/views |
|
|
|
* @response `200` `ViewListType` |
|
|
|
* @response `200` `ViewListType` |
|
|
@ -1553,7 +1557,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB View |
|
|
|
* @tags DB view |
|
|
|
* @name Update |
|
|
|
* @name Update |
|
|
|
* @request PATCH:/api/v1/db/meta/views/{viewId} |
|
|
|
* @request PATCH:/api/v1/db/meta/views/{viewId} |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
@ -1579,7 +1583,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB View |
|
|
|
* @tags DB view |
|
|
|
* @name Delete |
|
|
|
* @name Delete |
|
|
|
* @request DELETE:/api/v1/db/meta/views/{viewId} |
|
|
|
* @request DELETE:/api/v1/db/meta/views/{viewId} |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
@ -1594,7 +1598,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB View |
|
|
|
* @tags DB view |
|
|
|
* @name ShowAllColumn |
|
|
|
* @name ShowAllColumn |
|
|
|
* @request POST:/api/v1/db/meta/views/{viewId}/show-all |
|
|
|
* @request POST:/api/v1/db/meta/views/{viewId}/show-all |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
@ -1614,7 +1618,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB View |
|
|
|
* @tags DB view |
|
|
|
* @name HideAllColumn |
|
|
|
* @name HideAllColumn |
|
|
|
* @request POST:/api/v1/db/meta/views/{viewId}/hide-all |
|
|
|
* @request POST:/api/v1/db/meta/views/{viewId}/hide-all |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
@ -1634,7 +1638,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB View |
|
|
|
* @tags DB view |
|
|
|
* @name GridCreate |
|
|
|
* @name GridCreate |
|
|
|
* @request POST:/api/v1/db/meta/tables/{tableId}/grids |
|
|
|
* @request POST:/api/v1/db/meta/tables/{tableId}/grids |
|
|
|
* @response `200` `GridType` OK |
|
|
|
* @response `200` `GridType` OK |
|
|
@ -1652,7 +1656,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB View |
|
|
|
* @tags DB view |
|
|
|
* @name FormCreate |
|
|
|
* @name FormCreate |
|
|
|
* @request POST:/api/v1/db/meta/tables/{tableId}/forms |
|
|
|
* @request POST:/api/v1/db/meta/tables/{tableId}/forms |
|
|
|
* @response `200` `FormType` OK |
|
|
|
* @response `200` `FormType` OK |
|
|
@ -1670,7 +1674,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB View |
|
|
|
* @tags DB view |
|
|
|
* @name FormUpdate |
|
|
|
* @name FormUpdate |
|
|
|
* @request PATCH:/api/v1/db/meta/forms/{formId} |
|
|
|
* @request PATCH:/api/v1/db/meta/forms/{formId} |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
@ -1687,7 +1691,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB View |
|
|
|
* @tags DB view |
|
|
|
* @name FormRead |
|
|
|
* @name FormRead |
|
|
|
* @request GET:/api/v1/db/meta/forms/{formId} |
|
|
|
* @request GET:/api/v1/db/meta/forms/{formId} |
|
|
|
* @response `200` `FormType` OK |
|
|
|
* @response `200` `FormType` OK |
|
|
@ -1703,7 +1707,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB View |
|
|
|
* @tags DB view |
|
|
|
* @name FormColumnUpdate |
|
|
|
* @name FormColumnUpdate |
|
|
|
* @request PATCH:/api/v1/db/meta/form-columns/{formViewColumnId} |
|
|
|
* @request PATCH:/api/v1/db/meta/form-columns/{formViewColumnId} |
|
|
|
* @response `200` `any` OK |
|
|
|
* @response `200` `any` OK |
|
|
@ -1725,7 +1729,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB View |
|
|
|
* @tags DB view |
|
|
|
* @name GridColumnsList |
|
|
|
* @name GridColumnsList |
|
|
|
* @request GET:/api/v1/db/meta/grids/{gridId}/grid-columns |
|
|
|
* @request GET:/api/v1/db/meta/grids/{gridId}/grid-columns |
|
|
|
* @response `200` `(GridColumnType)[]` OK |
|
|
|
* @response `200` `(GridColumnType)[]` OK |
|
|
@ -1741,7 +1745,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB View |
|
|
|
* @tags DB view |
|
|
|
* @name GridColumnUpdate |
|
|
|
* @name GridColumnUpdate |
|
|
|
* @request PATCH:/api/v1/db/meta/grid-columns/{columnId} |
|
|
|
* @request PATCH:/api/v1/db/meta/grid-columns/{columnId} |
|
|
|
* @response `200` `any` OK |
|
|
|
* @response `200` `any` OK |
|
|
@ -1763,7 +1767,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB View |
|
|
|
* @tags DB view |
|
|
|
* @name GalleryCreate |
|
|
|
* @name GalleryCreate |
|
|
|
* @request POST:/api/v1/db/meta/tables/{tableId}/galleries |
|
|
|
* @request POST:/api/v1/db/meta/tables/{tableId}/galleries |
|
|
|
* @response `200` `object` OK |
|
|
|
* @response `200` `object` OK |
|
|
@ -1785,7 +1789,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB View |
|
|
|
* @tags DB view |
|
|
|
* @name GalleryUpdate |
|
|
|
* @name GalleryUpdate |
|
|
|
* @request PATCH:/api/v1/db/meta/galleries/{galleryId} |
|
|
|
* @request PATCH:/api/v1/db/meta/galleries/{galleryId} |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
@ -1806,7 +1810,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB View |
|
|
|
* @tags DB view |
|
|
|
* @name GalleryRead |
|
|
|
* @name GalleryRead |
|
|
|
* @request GET:/api/v1/db/meta/galleries/{galleryId} |
|
|
|
* @request GET:/api/v1/db/meta/galleries/{galleryId} |
|
|
|
* @response `200` `GalleryType` OK |
|
|
|
* @response `200` `GalleryType` OK |
|
|
@ -1823,7 +1827,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB View Share |
|
|
|
* @tags DB view share |
|
|
|
* @name List |
|
|
|
* @name List |
|
|
|
* @summary Shared view list |
|
|
|
* @summary Shared view list |
|
|
|
* @request GET:/api/v1/db/meta/tables/{tableId}/share |
|
|
|
* @request GET:/api/v1/db/meta/tables/{tableId}/share |
|
|
@ -1840,7 +1844,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB View Share |
|
|
|
* @tags DB view share |
|
|
|
* @name Create |
|
|
|
* @name Create |
|
|
|
* @request POST:/api/v1/db/meta/views/{viewId}/share |
|
|
|
* @request POST:/api/v1/db/meta/views/{viewId}/share |
|
|
|
* @response `200` `{ uuid?: string }` OK |
|
|
|
* @response `200` `{ uuid?: string }` OK |
|
|
@ -1856,7 +1860,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB View Share |
|
|
|
* @tags DB view share |
|
|
|
* @name Update |
|
|
|
* @name Update |
|
|
|
* @request PATCH:/api/v1/db/meta/views/{viewId}/share |
|
|
|
* @request PATCH:/api/v1/db/meta/views/{viewId}/share |
|
|
|
* @response `200` `SharedViewType` OK |
|
|
|
* @response `200` `SharedViewType` OK |
|
|
@ -1878,7 +1882,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB View Share |
|
|
|
* @tags DB view share |
|
|
|
* @name Delete |
|
|
|
* @name Delete |
|
|
|
* @request DELETE:/api/v1/db/meta/views/{viewId}/share |
|
|
|
* @request DELETE:/api/v1/db/meta/views/{viewId}/share |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
@ -1894,7 +1898,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB View Column |
|
|
|
* @tags DB view column |
|
|
|
* @name List |
|
|
|
* @name List |
|
|
|
* @request GET:/api/v1/db/meta/views/{viewId}/columns |
|
|
|
* @request GET:/api/v1/db/meta/views/{viewId}/columns |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -1908,7 +1912,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB View Column |
|
|
|
* @tags DB view column |
|
|
|
* @name Create |
|
|
|
* @name Create |
|
|
|
* @request POST:/api/v1/db/meta/views/{viewId}/columns |
|
|
|
* @request POST:/api/v1/db/meta/views/{viewId}/columns |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
@ -1925,7 +1929,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB View Column |
|
|
|
* @tags DB view column |
|
|
|
* @name Update |
|
|
|
* @name Update |
|
|
|
* @request PATCH:/api/v1/db/meta/views/{viewId}/columns/{columnId} |
|
|
|
* @request PATCH:/api/v1/db/meta/views/{viewId}/columns/{columnId} |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
@ -1948,7 +1952,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table Sort |
|
|
|
* @tags DB table sort |
|
|
|
* @name List |
|
|
|
* @name List |
|
|
|
* @request GET:/api/v1/db/meta/views/{viewId}/sorts |
|
|
|
* @request GET:/api/v1/db/meta/views/{viewId}/sorts |
|
|
|
* @response `200` `{ uuid?: string, url?: string }` OK |
|
|
|
* @response `200` `{ uuid?: string, url?: string }` OK |
|
|
@ -1964,7 +1968,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table Sort |
|
|
|
* @tags DB table sort |
|
|
|
* @name Create |
|
|
|
* @name Create |
|
|
|
* @request POST:/api/v1/db/meta/views/{viewId}/sorts |
|
|
|
* @request POST:/api/v1/db/meta/views/{viewId}/sorts |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
@ -1981,7 +1985,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table Sort |
|
|
|
* @tags DB table sort |
|
|
|
* @name Get |
|
|
|
* @name Get |
|
|
|
* @request GET:/api/v1/db/meta/sorts/{sortId} |
|
|
|
* @request GET:/api/v1/db/meta/sorts/{sortId} |
|
|
|
* @response `200` `SortType` OK |
|
|
|
* @response `200` `SortType` OK |
|
|
@ -1997,7 +2001,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table Sort |
|
|
|
* @tags DB table sort |
|
|
|
* @name Update |
|
|
|
* @name Update |
|
|
|
* @request PATCH:/api/v1/db/meta/sorts/{sortId} |
|
|
|
* @request PATCH:/api/v1/db/meta/sorts/{sortId} |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
@ -2014,7 +2018,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table Sort |
|
|
|
* @tags DB table sort |
|
|
|
* @name Delete |
|
|
|
* @name Delete |
|
|
|
* @request DELETE:/api/v1/db/meta/sorts/{sortId} |
|
|
|
* @request DELETE:/api/v1/db/meta/sorts/{sortId} |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
@ -2030,7 +2034,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table Filter |
|
|
|
* @tags DB table filter |
|
|
|
* @name Read |
|
|
|
* @name Read |
|
|
|
* @request GET:/api/v1/db/meta/views/{viewId}/filters |
|
|
|
* @request GET:/api/v1/db/meta/views/{viewId}/filters |
|
|
|
* @response `200` `FilterListType` |
|
|
|
* @response `200` `FilterListType` |
|
|
@ -2045,7 +2049,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table Filter |
|
|
|
* @tags DB table filter |
|
|
|
* @name Create |
|
|
|
* @name Create |
|
|
|
* @request POST:/api/v1/db/meta/views/{viewId}/filters |
|
|
|
* @request POST:/api/v1/db/meta/views/{viewId}/filters |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
@ -2062,7 +2066,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table Filter |
|
|
|
* @tags DB table filter |
|
|
|
* @name Get |
|
|
|
* @name Get |
|
|
|
* @request GET:/api/v1/db/meta/filters/{filterId} |
|
|
|
* @request GET:/api/v1/db/meta/filters/{filterId} |
|
|
|
* @response `200` `FilterType` OK |
|
|
|
* @response `200` `FilterType` OK |
|
|
@ -2078,7 +2082,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table Filter |
|
|
|
* @tags DB table filter |
|
|
|
* @name Update |
|
|
|
* @name Update |
|
|
|
* @request PATCH:/api/v1/db/meta/filters/{filterId} |
|
|
|
* @request PATCH:/api/v1/db/meta/filters/{filterId} |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
@ -2095,7 +2099,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table Filter |
|
|
|
* @tags DB table filter |
|
|
|
* @name Delete |
|
|
|
* @name Delete |
|
|
|
* @request DELETE:/api/v1/db/meta/filters/{filterId} |
|
|
|
* @request DELETE:/api/v1/db/meta/filters/{filterId} |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
@ -2110,7 +2114,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table Filter |
|
|
|
* @tags DB table filter |
|
|
|
* @name ChildrenRead |
|
|
|
* @name ChildrenRead |
|
|
|
* @request GET:/api/v1/db/meta/filters/{filterGroupId}/children |
|
|
|
* @request GET:/api/v1/db/meta/filters/{filterGroupId}/children |
|
|
|
* @response `200` `FilterType` OK |
|
|
|
* @response `200` `FilterType` OK |
|
|
@ -2127,7 +2131,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table Webhook Filter |
|
|
|
* @tags DB table webhook filter |
|
|
|
* @name Read |
|
|
|
* @name Read |
|
|
|
* @request GET:/api/v1/db/meta/hooks/{hookId}/filters |
|
|
|
* @request GET:/api/v1/db/meta/hooks/{hookId}/filters |
|
|
|
* @response `200` `FilterListType` |
|
|
|
* @response `200` `FilterListType` |
|
|
@ -2142,7 +2146,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table Webhook Filter |
|
|
|
* @tags DB table webhook filter |
|
|
|
* @name Create |
|
|
|
* @name Create |
|
|
|
* @request POST:/api/v1/db/meta/hooks/{hookId}/filters |
|
|
|
* @request POST:/api/v1/db/meta/hooks/{hookId}/filters |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
@ -2160,8 +2164,9 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table Row |
|
|
|
* @tags DB table row |
|
|
|
* @name List |
|
|
|
* @name List |
|
|
|
|
|
|
|
* @summary Table row list |
|
|
|
* @request GET:/api/v1/db/data/{orgs}/{projectName}/{tableName} |
|
|
|
* @request GET:/api/v1/db/data/{orgs}/{projectName}/{tableName} |
|
|
|
* @response `200` `any` OK |
|
|
|
* @response `200` `any` OK |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -2183,8 +2188,9 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table Row |
|
|
|
* @tags DB table row |
|
|
|
* @name Create |
|
|
|
* @name Create |
|
|
|
|
|
|
|
* @summary Table row create |
|
|
|
* @request POST:/api/v1/db/data/{orgs}/{projectName}/{tableName} |
|
|
|
* @request POST:/api/v1/db/data/{orgs}/{projectName}/{tableName} |
|
|
|
* @response `200` `any` OK |
|
|
|
* @response `200` `any` OK |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -2207,8 +2213,33 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table Row |
|
|
|
* @tags DB table row |
|
|
|
|
|
|
|
* @name Count |
|
|
|
|
|
|
|
* @summary table rows count |
|
|
|
|
|
|
|
* @request GET:/api/v1/db/data/{orgs}/{projectName}/{tableName}/count |
|
|
|
|
|
|
|
* @response `200` `any` OK |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
count: ( |
|
|
|
|
|
|
|
orgs: string, |
|
|
|
|
|
|
|
projectName: string, |
|
|
|
|
|
|
|
tableName: string, |
|
|
|
|
|
|
|
query?: { where?: string; nested?: any }, |
|
|
|
|
|
|
|
params: RequestParams = {} |
|
|
|
|
|
|
|
) => |
|
|
|
|
|
|
|
this.request<any, any>({ |
|
|
|
|
|
|
|
path: `/api/v1/db/data/${orgs}/${projectName}/${tableName}/count`, |
|
|
|
|
|
|
|
method: 'GET', |
|
|
|
|
|
|
|
query: query, |
|
|
|
|
|
|
|
format: 'json', |
|
|
|
|
|
|
|
...params, |
|
|
|
|
|
|
|
}), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* No description |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* @tags DB table row |
|
|
|
* @name Read |
|
|
|
* @name Read |
|
|
|
|
|
|
|
* @summary Table row read |
|
|
|
* @request GET:/api/v1/db/data/{orgs}/{projectName}/{tableName}/{rowId} |
|
|
|
* @request GET:/api/v1/db/data/{orgs}/{projectName}/{tableName}/{rowId} |
|
|
|
* @response `201` `any` Created |
|
|
|
* @response `201` `any` Created |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -2229,8 +2260,9 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table Row |
|
|
|
* @tags DB table row |
|
|
|
* @name Update |
|
|
|
* @name Update |
|
|
|
|
|
|
|
* @summary Table row update |
|
|
|
* @request PATCH:/api/v1/db/data/{orgs}/{projectName}/{tableName}/{rowId} |
|
|
|
* @request PATCH:/api/v1/db/data/{orgs}/{projectName}/{tableName}/{rowId} |
|
|
|
* @response `200` `any` OK |
|
|
|
* @response `200` `any` OK |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -2254,12 +2286,13 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table Row |
|
|
|
* @tags DB table row |
|
|
|
* @name ModelDelete |
|
|
|
* @name Delete |
|
|
|
|
|
|
|
* @summary Table row delete |
|
|
|
* @request DELETE:/api/v1/db/data/{orgs}/{projectName}/{tableName}/{rowId} |
|
|
|
* @request DELETE:/api/v1/db/data/{orgs}/{projectName}/{tableName}/{rowId} |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
modelDelete: ( |
|
|
|
delete: ( |
|
|
|
orgs: string, |
|
|
|
orgs: string, |
|
|
|
projectName: string, |
|
|
|
projectName: string, |
|
|
|
tableName: string, |
|
|
|
tableName: string, |
|
|
@ -2275,7 +2308,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table Row |
|
|
|
* @tags DB table row |
|
|
|
* @name BulkCreate |
|
|
|
* @name BulkCreate |
|
|
|
* @summary Bulk insert table rows |
|
|
|
* @summary Bulk insert table rows |
|
|
|
* @request POST:/api/v1/db/data/bulk/{orgs}/{projectName}/{tableName} |
|
|
|
* @request POST:/api/v1/db/data/bulk/{orgs}/{projectName}/{tableName} |
|
|
@ -2300,7 +2333,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table Row |
|
|
|
* @tags DB table row |
|
|
|
* @name BulkUpdate |
|
|
|
* @name BulkUpdate |
|
|
|
* @summary Bulk update all table rows by IDs |
|
|
|
* @summary Bulk update all table rows by IDs |
|
|
|
* @request PATCH:/api/v1/db/data/bulk/{orgs}/{projectName}/{tableName} |
|
|
|
* @request PATCH:/api/v1/db/data/bulk/{orgs}/{projectName}/{tableName} |
|
|
@ -2325,7 +2358,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table Row |
|
|
|
* @tags DB table row |
|
|
|
* @name BulkDelete |
|
|
|
* @name BulkDelete |
|
|
|
* @summary Bulk delete all table rows by IDs |
|
|
|
* @summary Bulk delete all table rows by IDs |
|
|
|
* @request DELETE:/api/v1/db/data/bulk/{orgs}/{projectName}/{tableName} |
|
|
|
* @request DELETE:/api/v1/db/data/bulk/{orgs}/{projectName}/{tableName} |
|
|
@ -2350,7 +2383,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table Row |
|
|
|
* @tags DB table row |
|
|
|
* @name BulkUpdateAll |
|
|
|
* @name BulkUpdateAll |
|
|
|
* @summary Bulk update all table rows with conditions |
|
|
|
* @summary Bulk update all table rows with conditions |
|
|
|
* @request PATCH:/api/v1/db/data/bulk/{orgs}/{projectName}/{tableName}/all |
|
|
|
* @request PATCH:/api/v1/db/data/bulk/{orgs}/{projectName}/{tableName}/all |
|
|
@ -2375,7 +2408,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table Row |
|
|
|
* @tags DB table row |
|
|
|
* @name BulkDeleteAll |
|
|
|
* @name BulkDeleteAll |
|
|
|
* @summary Bulk delete all table rows with conditions |
|
|
|
* @summary Bulk delete all table rows with conditions |
|
|
|
* @request DELETE:/api/v1/db/data/bulk/{orgs}/{projectName}/{tableName}/all |
|
|
|
* @request DELETE:/api/v1/db/data/bulk/{orgs}/{projectName}/{tableName}/all |
|
|
@ -2402,6 +2435,7 @@ export class Api< |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB table row |
|
|
|
* @tags DB table row |
|
|
|
* @name CsvExport |
|
|
|
* @name CsvExport |
|
|
|
|
|
|
|
* @summary Tablerows export |
|
|
|
* @request GET:/api/v1/db/data/{orgs}/{projectName}/{tableName}/export/{type} |
|
|
|
* @request GET:/api/v1/db/data/{orgs}/{projectName}/{tableName}/export/{type} |
|
|
|
* @response `200` `any` OK |
|
|
|
* @response `200` `any` OK |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -2424,6 +2458,7 @@ export class Api< |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB table row |
|
|
|
* @tags DB table row |
|
|
|
* @name NestedList |
|
|
|
* @name NestedList |
|
|
|
|
|
|
|
* @summary Nested relations row list |
|
|
|
* @request GET:/api/v1/db/data/{orgs}/{projectName}/{tableName}/{rowId}/{relationType}/{columnName} |
|
|
|
* @request GET:/api/v1/db/data/{orgs}/{projectName}/{tableName}/{rowId}/{relationType}/{columnName} |
|
|
|
* @response `200` `any` OK |
|
|
|
* @response `200` `any` OK |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -2450,6 +2485,7 @@ export class Api< |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB table row |
|
|
|
* @tags DB table row |
|
|
|
* @name NestedAdd |
|
|
|
* @name NestedAdd |
|
|
|
|
|
|
|
* @summary Nested relations row add |
|
|
|
* @request POST:/api/v1/db/data/{orgs}/{projectName}/{tableName}/{rowId}/{relationType}/{columnName}/{refRowId} |
|
|
|
* @request POST:/api/v1/db/data/{orgs}/{projectName}/{tableName}/{rowId}/{relationType}/{columnName}/{refRowId} |
|
|
|
* @response `200` `any` OK |
|
|
|
* @response `200` `any` OK |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -2477,6 +2513,7 @@ export class Api< |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB table row |
|
|
|
* @tags DB table row |
|
|
|
* @name NestedRemove |
|
|
|
* @name NestedRemove |
|
|
|
|
|
|
|
* @summary Nested relations row remove |
|
|
|
* @request DELETE:/api/v1/db/data/{orgs}/{projectName}/{tableName}/{rowId}/{relationType}/{columnName}/{refRowId} |
|
|
|
* @request DELETE:/api/v1/db/data/{orgs}/{projectName}/{tableName}/{rowId}/{relationType}/{columnName}/{refRowId} |
|
|
|
* @response `200` `any` OK |
|
|
|
* @response `200` `any` OK |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -2502,6 +2539,7 @@ export class Api< |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB table row |
|
|
|
* @tags DB table row |
|
|
|
* @name NestedChildrenExcludedList |
|
|
|
* @name NestedChildrenExcludedList |
|
|
|
|
|
|
|
* @summary Referenced tables rows excluding current records children/parent |
|
|
|
* @request GET:/api/v1/db/data/{orgs}/{projectName}/{tableName}/{rowId}/{relationType}/{columnName}/exclude |
|
|
|
* @request GET:/api/v1/db/data/{orgs}/{projectName}/{tableName}/{rowId}/{relationType}/{columnName}/exclude |
|
|
|
* @response `200` `any` OK |
|
|
|
* @response `200` `any` OK |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -2527,8 +2565,9 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB View Row |
|
|
|
* @tags DB view row |
|
|
|
* @name List |
|
|
|
* @name List |
|
|
|
|
|
|
|
* @summary Table view row list |
|
|
|
* @request GET:/api/v1/db/data/{orgs}/{projectName}/{tableName}/views/{viewName} |
|
|
|
* @request GET:/api/v1/db/data/{orgs}/{projectName}/{tableName}/views/{viewName} |
|
|
|
* @response `200` `any` OK |
|
|
|
* @response `200` `any` OK |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -2551,8 +2590,9 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB View Row |
|
|
|
* @tags DB view row |
|
|
|
* @name Create |
|
|
|
* @name Create |
|
|
|
|
|
|
|
* @summary Table view row create |
|
|
|
* @request POST:/api/v1/db/data/{orgs}/{projectName}/{tableName}/views/{viewName} |
|
|
|
* @request POST:/api/v1/db/data/{orgs}/{projectName}/{tableName}/views/{viewName} |
|
|
|
* @response `200` `any` OK |
|
|
|
* @response `200` `any` OK |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -2576,8 +2616,9 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB View Row |
|
|
|
* @tags DB view row |
|
|
|
* @name Count |
|
|
|
* @name Count |
|
|
|
|
|
|
|
* @summary Table view rows count |
|
|
|
* @request GET:/api/v1/db/data/{orgs}/{projectName}/{tableName}/views/{viewName}/count |
|
|
|
* @request GET:/api/v1/db/data/{orgs}/{projectName}/{tableName}/views/{viewName}/count |
|
|
|
* @response `200` `any` OK |
|
|
|
* @response `200` `any` OK |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -2600,8 +2641,9 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB View Row |
|
|
|
* @tags DB view row |
|
|
|
* @name Read |
|
|
|
* @name Read |
|
|
|
|
|
|
|
* @summary Table view row read |
|
|
|
* @request GET:/api/v1/db/data/{orgs}/{projectName}/{tableName}/views/{viewName}/{rowId} |
|
|
|
* @request GET:/api/v1/db/data/{orgs}/{projectName}/{tableName}/views/{viewName}/{rowId} |
|
|
|
* @response `201` `any` Created |
|
|
|
* @response `201` `any` Created |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -2623,8 +2665,9 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB View Row |
|
|
|
* @tags DB view row |
|
|
|
* @name Update |
|
|
|
* @name Update |
|
|
|
|
|
|
|
* @summary Table view row update |
|
|
|
* @request PATCH:/api/v1/db/data/{orgs}/{projectName}/{tableName}/views/{viewName}/{rowId} |
|
|
|
* @request PATCH:/api/v1/db/data/{orgs}/{projectName}/{tableName}/views/{viewName}/{rowId} |
|
|
|
* @response `200` `any` OK |
|
|
|
* @response `200` `any` OK |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -2649,8 +2692,9 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB View Row |
|
|
|
* @tags DB view row |
|
|
|
* @name Delete |
|
|
|
* @name Delete |
|
|
|
|
|
|
|
* @summary Table view row delete |
|
|
|
* @request DELETE:/api/v1/db/data/{orgs}/{projectName}/{tableName}/views/{viewName}/{rowId} |
|
|
|
* @request DELETE:/api/v1/db/data/{orgs}/{projectName}/{tableName}/views/{viewName}/{rowId} |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -2673,6 +2717,7 @@ export class Api< |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB view row |
|
|
|
* @tags DB view row |
|
|
|
* @name Export |
|
|
|
* @name Export |
|
|
|
|
|
|
|
* @summary Table view rows export |
|
|
|
* @request GET:/api/v1/db/data/{orgs}/{projectName}/{tableName}/views/{viewName}/export/{type} |
|
|
|
* @request GET:/api/v1/db/data/{orgs}/{projectName}/{tableName}/views/{viewName}/export/{type} |
|
|
|
* @response `200` `any` OK |
|
|
|
* @response `200` `any` OK |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -3005,7 +3050,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table Webhook |
|
|
|
* @tags DB table webhook |
|
|
|
* @name List |
|
|
|
* @name List |
|
|
|
* @request GET:/api/v1/db/meta/tables/{tableId}/hooks |
|
|
|
* @request GET:/api/v1/db/meta/tables/{tableId}/hooks |
|
|
|
* @response `200` `{ list: (HookType)[], pageInfo: PaginatedType }` OK |
|
|
|
* @response `200` `{ list: (HookType)[], pageInfo: PaginatedType }` OK |
|
|
@ -3021,7 +3066,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table Webhook |
|
|
|
* @tags DB table webhook |
|
|
|
* @name Create |
|
|
|
* @name Create |
|
|
|
* @request POST:/api/v1/db/meta/tables/{tableId}/hooks |
|
|
|
* @request POST:/api/v1/db/meta/tables/{tableId}/hooks |
|
|
|
* @response `200` `AuditType` OK |
|
|
|
* @response `200` `AuditType` OK |
|
|
@ -3039,7 +3084,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table Webhook |
|
|
|
* @tags DB table webhook |
|
|
|
* @name Test |
|
|
|
* @name Test |
|
|
|
* @request POST:/api/v1/db/meta/tables/{tableId}/hooks/test |
|
|
|
* @request POST:/api/v1/db/meta/tables/{tableId}/hooks/test |
|
|
|
* @response `200` `any` OK |
|
|
|
* @response `200` `any` OK |
|
|
@ -3061,7 +3106,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table Webhook |
|
|
|
* @tags DB table webhook |
|
|
|
* @name SamplePayloadGet |
|
|
|
* @name SamplePayloadGet |
|
|
|
* @request GET:/api/v1/db/meta/tables/{tableId}/hooks/samplePayload/{operation} |
|
|
|
* @request GET:/api/v1/db/meta/tables/{tableId}/hooks/samplePayload/{operation} |
|
|
|
* @response `200` `{ plugins?: { list: (PluginType)[], pageInfo: PaginatedType } }` OK |
|
|
|
* @response `200` `{ plugins?: { list: (PluginType)[], pageInfo: PaginatedType } }` OK |
|
|
@ -3084,7 +3129,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table Webhook |
|
|
|
* @tags DB table webhook |
|
|
|
* @name Update |
|
|
|
* @name Update |
|
|
|
* @request PATCH:/api/v1/db/meta/hooks/{hookId} |
|
|
|
* @request PATCH:/api/v1/db/meta/hooks/{hookId} |
|
|
|
* @response `200` `HookType` OK |
|
|
|
* @response `200` `HookType` OK |
|
|
@ -3102,7 +3147,7 @@ export class Api< |
|
|
|
/** |
|
|
|
/** |
|
|
|
* No description |
|
|
|
* No description |
|
|
|
* |
|
|
|
* |
|
|
|
* @tags DB Table Webhook |
|
|
|
* @tags DB table webhook |
|
|
|
* @name Delete |
|
|
|
* @name Delete |
|
|
|
* @request DELETE:/api/v1/db/meta/hooks/{hookId} |
|
|
|
* @request DELETE:/api/v1/db/meta/hooks/{hookId} |
|
|
|
* @response `200` `void` OK |
|
|
|
* @response `200` `void` OK |
|
|
|