nextcloud / nextcloud/android

Migrate to the task processing API

Open
#13,476 0 comments 0 reactions 1 assignee Claimed by @tobiasKaminsky View on GitHub
0. Needs triage technical debt
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

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: https://github.com/nextcloud/assistant/issues/114

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.