-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Description
I'm not certain if following should be considered as a feature request or as a bug report... But I feel that logs have to include data on all changes triggered by third party. Below tested endpoints are listed along with checked boxes, if changes are shown in logs:
POST <BASE_URL>/api/v1/db/data/<orgs=noco>/<project_name>/<table_name>/views/<view_name*>/
- 'xc-auth'
- 'xc-token' - 'Shared base' user mentioned in logs, I believe that token name should be used instead.
POST <BASE_URL>/api/v1/db/data/bulk/<orgs=noco>/<project_name>/<table_name>/
- 'xc-auth'
- 'xc-token'
PATCH <BASE_URL>/api/v1/db/data/<orgs=noco>/<project_name>/<table_name>/views/<view_name*>/<row_id>
- 'xc-auth'
- 'xc-token'
PATCH <BASE_URL>/api/v1/db/data/bulk/<orgs=noco>/<project_name>/<table_name>/
- 'xc-auth'
- 'xc-token'
DELETE <BASE_URL>/api/v1/db/data/<orgs=noco>/<project_name>/<table_name>/views/<view_name*>/<row_id>
- 'xc-auth'
- 'xc-token' - same 'Shared base' issue.
I think, showing 'undefined' is not enough: at least some of deleted data should present.

DELETE <BASE_URL>/api/v1/db/data/<orgs=noco>/<project_name>/<table_name>/all
- 'xc-auth'
- 'xc-token'
*Same results if '/views/<view_name>/' part omitted.
project info
Node: v12.22.12
Arch: x64
Platform: linux
Docker: true
Database: pg
ProjectOnRootDB: true
RootDB: pg
PackageVersion: 0.90.11