Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API: Implement PUT and DELETE for columns #601

Closed
fflorent opened this issue Jul 31, 2023 · 3 comments · Fixed by #640
Closed

API: Implement PUT and DELETE for columns #601

fflorent opened this issue Jul 31, 2023 · 3 comments · Fixed by #640
Labels

Comments

@fflorent
Copy link
Collaborator

Currently, the /columns api lacks of PUT (AddOrUpdate) and DELETE methods, which could be handy on some situations.

@fflorent fflorent added the anct label Jul 31, 2023
@fflorent
Copy link
Collaborator Author

fflorent commented Jul 31, 2023

@paulfitz I started working on this, with the hope to implement a POC for issue #416 (an external program which would synchronize tables using the API).

However, I faced this error while using ops.upsert() on meta-table _grist_Tables_column: BulkAddOrUpdateRecord cannot yet be used on metadata tables. The exception is raised in GranularAccess#_checkAddOrUpdateAccess

Are BulkAddRecord and BulkUpdateRecord concerned by this limitation too?

fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Jul 31, 2023
@fflorent
Copy link
Collaborator Author

Sorry, my question is dumb, they seem not to be concerned:

if (!scanActionsRecursively(actions, isAddOrUpdateRecordAction)) {

Please ignore my previous message :)

@paulfitz
Copy link
Member

Ignoring your message, and glad that you are working in this area.

fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 1, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 1, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 2, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 2, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 2, 2023
fflorent added a commit to fflorent/grist-help that referenced this issue Aug 2, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 2, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 2, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 2, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 2, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 2, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 2, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 2, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 2, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 2, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 3, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 3, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 8, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 8, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 9, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 9, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 10, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 10, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 10, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 10, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 10, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 10, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 10, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 10, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 10, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 10, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 10, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 10, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 10, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 10, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 10, 2023
alexmojaki pushed a commit that referenced this issue Aug 11, 2023
* Also Add includeHidden param for GET on columns
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 22, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 22, 2023
fflorent added a commit to incubateur-territoires/grist-core that referenced this issue Aug 23, 2023
alexmojaki pushed a commit that referenced this issue Aug 24, 2023
* Factorize generateDocAndUrl
* Add describe for regrouping /records
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants