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

Discussion about HTTP REST API v2 #1399

Open
stefan-niedermann opened this issue Oct 1, 2024 · 1 comment
Open

Discussion about HTTP REST API v2 #1399

stefan-niedermann opened this issue Oct 1, 2024 · 1 comment
Labels
0. Needs triage Pending approval or rejection. This issue is pending approval. enhancement New feature or request

Comments

@stefan-niedermann
Copy link
Member

Is your feature request related to a problem? Please describe.

I am currently working on adapting V2 API for the tables Android app, and I have a few questions:

CRUD

  • How to retrieve the actual data? For rows there is only a POST endpoint, but no GET...
  • How to delete a row?
  • How to delete a column?
  • How to update a column?

Pagination

Is pagination mandatory, optional or no longer supported? In APIv1 it was mandatory, now it looks optional (see totalitems and itemsperpage ocs properties), but using the limit query parameter mentioned in the ocs documentation has no effect - so it is not supported?

Since when

It looks like the APIv2 is supported starting with Table 0.8.0, it would be nice to mention the added version to the API endpoints

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

@stefan-niedermann stefan-niedermann added enhancement New feature or request 0. Needs triage Pending approval or rejection. This issue is pending approval. labels Oct 1, 2024
@blizzz
Copy link
Member

blizzz commented Oct 2, 2024

Not for all cases are v2 endpoints available, this is still an ongoing process over time.

It looks like the APIv2 is supported starting with Table 0.8.0, it would be nice to mention the added version to the API endpoints

v2 was added with 0.7, and this info is exposed via Capabilities, though not the exact methods.

With 0.7 we also provide an OpenAPI spec.

  • How to retrieve the actual data? For rows there is only a POST endpoint, but no GET...

Not implemented in v2 yet.

  • How to delete a row?

Not implemented in v2 yet.

  • How to delete a column?

Not implemented in v2 yet.

  • How to update a column?

There are methods for adding columns, but not yet for updating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending approval or rejection. This issue is pending approval. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants