Browse Source

refactor: show all hide all api path update

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/1668/head
Pranav C 3 years ago
parent
commit
81502ff5ef
  1. 4
      packages/nocodb/src/lib/noco/meta/api/viewApis.ts
  2. 4
      scripts/sdk/swagger.json

4
packages/nocodb/src/lib/noco/meta/api/viewApis.ts

@ -114,11 +114,11 @@ router.delete(
ncMetaAclMw(viewDelete, 'viewDelete')
);
router.post(
'/api/v1/db/meta/views/:viewId/showAll',
'/api/v1/db/meta/views/:viewId/show-all',
ncMetaAclMw(showAllColumns, 'showAllColumns')
);
router.post(
'/api/v1/db/meta/views/:viewId/hideAll',
'/api/v1/db/meta/views/:viewId/hide-all',
ncMetaAclMw(hideAllColumns, 'hideAllColumns')
);

4
scripts/sdk/swagger.json

@ -1367,7 +1367,7 @@
]
}
},
"/api/v1/db/meta/views/{viewId}/showAll": {
"/api/v1/db/meta/views/{viewId}/show-all": {
"parameters": [
{
"schema": {
@ -1401,7 +1401,7 @@
]
}
},
"/api/v1/db/meta/views/{viewId}/hideAll": {
"/api/v1/db/meta/views/{viewId}/hide-all": {
"parameters": [
{
"schema": {

Loading…
Cancel
Save