WebDAV · OCS · CalDAV · CardDAV · Meet
Orneos Cloud API
Work with files, calendars, contacts and Orneos Meet conversations on https://app.orneos.eu.
1. Authentication: app passwords
#
The cloud APIs do not accept OpenID Connect tokens. They use an app password dedicated to your integration: the account password (which also opens the mailbox) is never shared.
The user creates it at https://app.orneos.eu/settings/user/security, in the “Devices & sessions” section. They give it a name (“NAS backup”, “ERP script”…) and can revoke it at any time without affecting the rest of their account.
HTTP Basic over HTTPS: username:app_password. The username is the Orneos username (the OpenID Connect sub), not the email address.
OCS calls (/ocs/v2.php/…): the OCS-APIRequest: true header is required
Add ?format=json to get JSON instead of XML
2. Files (WebDAV, RFC 4918)
#
Each user’s files are available over WebDAV at https://app.orneos.eu/remote.php/dav/files/<username>/.
List a folder (PROPFIND)
Copy
curl -X PROPFIND -u "alice:APP_PASSWORD" \
-H "Depth: 1" \
https://app.orneos.eu/remote.php/dav/files/alice/Documents/
Upload a file (PUT)
Copy
curl -X PUT -u "alice:APP_PASSWORD" \
-T report.pdf \
https://app.orneos.eu/remote.php/dav/files/alice/Documents/report.pdf
Download a file (GET)
Copy
curl -u "alice:APP_PASSWORD" \
-o contract-local.pdf \
https://app.orneos.eu/remote.php/dav/files/alice/Documents/contract.pdf
Create a folder (MKCOL)
Copy
curl -X MKCOL -u "alice:APP_PASSWORD" \
https://app.orneos.eu/remote.php/dav/files/alice/NewFolder/
Delete a file or folder (DELETE)
Copy
curl -X DELETE -u "alice:APP_PASSWORD" \
https://app.orneos.eu/remote.php/dav/files/alice/Documents/old.pdf
3. Storage space and share links (OCS v2)
#
The OCS v2 API returns used and available storage, and manages shares (public links or with other accounts).
Read storage space
Copy
curl -u "alice:APP_PASSWORD" \
-H "OCS-APIRequest: true" \
"https://app.orneos.eu/ocs/v2.php/cloud/user?format=json"
Create a read-only public link (shareType=3)
Copy
curl -X POST -u "alice:APP_PASSWORD" \
-H "OCS-APIRequest: true" \
-d "path=/Documents/report.pdf&shareType=3&permissions=1" \
"https://app.orneos.eu/ocs/v2.php/apps/files_sharing/api/v1/shares?format=json"
4. Calendars (CalDAV) and contacts (CardDAV)
#
Calendars and address books follow the CalDAV (RFC 4791) and CardDAV (RFC 6352) standards.
Account: https://app.orneos.eu/remote.php/dav/principals/users/<username>/
Calendars: https://app.orneos.eu/remote.php/dav/calendars/<username>/<calendar>/ (the default calendar is personal)
Contacts: https://app.orneos.eu/remote.php/dav/addressbooks/users/<username>/contacts/
Create an event (CalDAV PUT)
Copy
curl -X PUT -u "alice:APP_PASSWORD" \
-H "Content-Type: text/calendar; charset=utf-8" \
--data-binary @- \
https://app.orneos.eu/remote.php/dav/calendars/alice/personal/demo-meeting.ics << 'EOF'
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//My application//EN
BEGIN:VEVENT
UID:demo-meeting-12345@example.com
DTSTAMP:20261022T100000Z
DTSTART:20261025T140000Z
DTEND:20261025T150000Z
SUMMARY:Team check-in
DESCRIPTION:Meeting created through the API
END:VEVENT
END:VCALENDAR
EOF
5. Orneos Meet conversations
#
Orneos Meet is built on Nextcloud Talk (spreed app): post alerts or automated messages to a conversation. The conversation token is the end of its address (https://app.orneos.eu/call/<token>).
List conversations
Copy
curl -u "alice:APP_PASSWORD" \
-H "OCS-APIRequest: true" \
"https://app.orneos.eu/ocs/v2.php/apps/spreed/api/v4/room?format=json"
Post a message
Copy
curl -X POST -u "alice:APP_PASSWORD" \
-H "OCS-APIRequest: true" \
-d "message=Backup completed." \
"https://app.orneos.eu/ocs/v2.php/apps/spreed/api/v1/chat/CONVERSATION_TOKEN?format=json"
No section matches your search.