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

Migrate to the task processing API #13476

Open
julien-nc opened this issue Aug 27, 2024 · 0 comments
Open

Migrate to the task processing API #13476

julien-nc opened this issue Aug 27, 2024 · 0 comments

Comments

@julien-nc
Copy link
Member

The Text Processing API is deprecated and replaced by the Task Processing API since Nextcloud 30.

The Text Processing one will stay a few more NC major version. But the providers will progressively by migrated to the new API.

There is an equivalent in the Task Processing API for each task type you support in the Android client.

What needs to be adjusted to migrate:

  • the endpoints to schedule a task, cancel a task, get the task history, get the available task types etc...
  • the input parameter given to the schedule endpoint
  • the parsing of the task object returned by the endpoints (the output structure has slightly changed)

The (shipped) "testing" app contains providers for the Task Processing API.

More details there: nextcloud/assistant#114

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 👓 Design review
Development

No branches or pull requests

3 participants