summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorJulien Veyssier <julien-nc@posteo.net>2023-08-02 16:47:41 +0200
committerJulien Veyssier <julien-nc@posteo.net>2023-08-09 14:58:02 +0200
commit6eb18570c0822ed1d774c5243e153fd0ee406fd1 (patch)
tree9d29f5cdfba7cd6ae844669b2f3cae82cf1399d8 /lib/public
parent41918cc8b2e942a14c95dfadc9dffc65daf23f47 (diff)
downloadnextcloud-server-6eb18570c0822ed1d774c5243e153fd0ee406fd1.tar.gz
nextcloud-server-6eb18570c0822ed1d774c5243e153fd0ee406fd1.zip
start implementing ocs endpoint to get task list from user+appId+identifier
Signed-off-by: Julien Veyssier <julien-nc@posteo.net> (cherry picked from commit 9986e02097e5c82e1bb21ba3f897b14d82a50c15) Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/TextProcessing/IManager.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/TextProcessing/IManager.php b/lib/public/TextProcessing/IManager.php
index 50d012eca68..c7b101ad510 100644
--- a/lib/public/TextProcessing/IManager.php
+++ b/lib/public/TextProcessing/IManager.php
@@ -80,4 +80,12 @@ interface IManager {
* @since 27.1.0
*/
public function getTask(int $id): Task;
+
+ /**
+ * @param string $userId
+ * @param string $appId
+ * @param string|null $identifier
+ * @return array
+ */
+ public function getTasksByApp(string $userId, string $appId, ?string $identifier = null): array;
}