Browse Source

fix: tag name correction

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5222/head
Pranav C 2 years ago
parent
commit
0421a970e3
  1. 19
      packages/nocodb-sdk/src/lib/Api.ts
  2. 4
      packages/nocodb/src/schema/swagger.json

19
packages/nocodb-sdk/src/lib/Api.ts

@ -4703,17 +4703,17 @@ export class Api<
...params,
}),
};
dbTableHookFilter = {
dbTableWebhookFilter = {
/**
* @description Get the filter data in a given Hook
*
* @tags DB Table Hook Filter
* @name DbTableWebhookFilterRead
* @tags DB Table Webhook Filter
* @name Read
* @summary Get Hook Filter
* @request GET:/api/v1/db/meta/hooks/{hookId}/filters
* @response `200` `FilterListType`
*/
dbTableWebhookFilterRead: (hookId: string, params: RequestParams = {}) =>
read: (hookId: string, params: RequestParams = {}) =>
this.request<FilterListType, any>({
path: `/api/v1/db/meta/hooks/${hookId}/filters`,
method: 'GET',
@ -4723,17 +4723,13 @@ export class Api<
/**
* @description Create filter(s) in a given Hook
*
* @tags DB Table Hook Filter
* @name DbTableWebhookFilterCreate
* @tags DB Table Webhook Filter
* @name Create
* @summary Create Hook Filter
* @request POST:/api/v1/db/meta/hooks/{hookId}/filters
* @response `200` `void` OK
*/
dbTableWebhookFilterCreate: (
hookId: string,
data: FilterReqType,
params: RequestParams = {}
) =>
create: (hookId: string, data: FilterReqType, params: RequestParams = {}) =>
this.request<void, any>({
path: `/api/v1/db/meta/hooks/${hookId}/filters`,
method: 'POST',
@ -5600,6 +5596,7 @@ export class Api<
this.request<any, any>({
path: `/api/v1/db/data/${orgs}/${projectName}/${tableName}/views/${viewName}/export/${type}`,
method: 'GET',
wrapped: true,
...params,
}),
};

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

@ -3864,7 +3864,7 @@
"$ref": "#/components/responses/FilterList"
}
},
"tags": ["DB Table Hook Filter"],
"tags": ["DB Table Webhook Filter"],
"description": "Get the filter data in a given Hook"
},
"post": {
@ -3875,7 +3875,7 @@
"description": "OK"
}
},
"tags": ["DB Table Hook Filter"],
"tags": ["DB Table Webhook Filter"],
"requestBody": {
"content": {
"application/json": {

Loading…
Cancel
Save