Skip to content

Commit b2b2d44

Browse files
committed
feat: use new AppAPI endpoint for ExApp status report
Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
1 parent d6ca6b3 commit b2b2d44

3 files changed

Lines changed: 15 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@ All notable changes to this project will be documented in this file.
99
- ExApps: Use FileLock with atomic rename for safe concurrent model downloads. #396
1010
- Upgrade `caldav` dependency for `icalendar` 7.x compatibility. #397
1111

12+
## [0.24.2 - 2026-03-02]
13+
14+
### Changed
15+
16+
- Use new `/ex-app/status` endpoint for `set_init_status` instead of deprecated `/apps/status/{appId}`
17+
18+
## [0.24.1 - 2026-02-25]
19+
20+
### Fixed
21+
22+
- Use FileLock with atomic rename for safe concurrent model downloads #396
23+
1224
## [0.24.0 - 2026-02-04]
1325

1426
### Added

nc_py_api/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Version of nc_py_api."""
22

3-
__version__ = "0.24.1"
3+
__version__ = "0.24.2.dev0"

nc_py_api/nextcloud.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ def set_init_status(self, progress: int, error: str = "") -> None:
432432
"""
433433
self._session.ocs(
434434
"PUT",
435-
f"/ocs/v1.php/apps/app_api/apps/status/{self._session.cfg.app_name}",
435+
"/ocs/v1.php/apps/app_api/ex-app/status",
436436
json={
437437
"progress": progress,
438438
"error": error,
@@ -566,7 +566,7 @@ async def set_init_status(self, progress: int, error: str = "") -> None:
566566
"""
567567
await self._session.ocs(
568568
"PUT",
569-
f"/ocs/v1.php/apps/app_api/apps/status/{self._session.cfg.app_name}",
569+
"/ocs/v1.php/apps/app_api/ex-app/status",
570570
json={
571571
"progress": progress,
572572
"error": error,

0 commit comments

Comments
 (0)