Skip to content

Expose report and dataset operations through OCS - #609

Merged
Rello merged 5 commits into
masterfrom
codex/ocs-report-api
Oct 15, 2026
Merged

Rello merged 5 commits into
masterfrom
codex/ocs-report-api

Conversation

@Rello

@Rello Rello commented Oct 15, 2026 •

Copy link
Copy Markdown
Owner

Add versioned OCS endpoints in the existing ApiController for report listing, metadata and saved-filter data, owned dataset listing, and adding/updating or deleting dataset rows. Existing non-OCS URLs and payloads remain compatible.

Report reads include user, group and folder shares and reuse the viewer backend pipeline for saved filters, variables, sorting and transformations. Metadata excludes connection settings and share secrets. Public-link-only and panorama-only access are excluded; browser-side formatting and pivots remain client-side.

Dataset operations delegate directly to the existing V3 list and V4 write handlers, preserving ownership checks, validation, version updates and notifications. Writes require owned legacy datasets; flexible datasets retain the stable-column record API. V4 application errors remain success=false inside ocs.data with HTTP 200, as documented in openapi.json and the API guide.

Validation: 229 unit tests / 733 assertions passed. Live local Nextcloud checks covered report listing/metadata/data, authentication and missing-report errors, the unchanged V3 list, OCS dataset listing and both writes rejecting an inaccessible dataset. Successful dataset writes and shared access were not exercised live. OpenAPI JSON and schema references checked; no full OpenAPI validator run.

No duplicate Moment/dependency changes or unrelated Composer constraint edit included.

Assisted-by: Codex:GPT-5

Rello added 2 commits October 15, 2026 22:12
Signed-off-by: Rello <github@scherello.de>
Assisted-by: Codex:GPT-5
Signed-off-by: Rello <github@scherello.de>
Assisted-by: Codex:GPT-5
@Rello Rello changed the title Add OCS endpoints for report listing, metadata and filtered data Expose report and dataset operations through OCS Oct 15, 2026
Rello added 3 commits October 15, 2026 22:31
Signed-off-by: Rello <github@scherello.de>
Assisted-by: Codex:GPT-5
Signed-off-by: Rello <github@scherello.de>
Assisted-by: Codex:GPT-5
Signed-off-by: Rello <github@scherello.de>
Assisted-by: Codex:GPT-5
@Rello
Rello merged commit 1747f04 into master Oct 15, 2026
1 check passed
@Rello
Rello deleted the codex/ocs-report-api branch October 15, 2026 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant