Nextcloud API
15 endpoints for Nextcloud, each at its own method and path, called with your API key. Open an endpoint for its inputs, examples and response.
- Base URL
- https://cotlet.dev/api/v1/nextcloud
- Connects with
- Your Nextcloud address (reachable from the internet) and an app password you create in your own account
- Integration page
- Nextcloud
Read (8)
Return data and change nothing in the account.
| Endpoint | Description |
|---|---|
| GET | Files and folders inside one folder, with size, type and last change. |
| GET | Search your files by name, type, size or last change inside one folder. |
| GET | Shares you created, with type, permissions, password and expiry flags. |
| GET | Your calendars with name, color and whether they are writable. |
| GET | Events of one calendar between two dates, oldest first. |
| GET | Contacts by name, email or company, with phone numbers and addresses. |
| GET | Your Deck boards with their stacks (columns). |
| GET | Cards in a board or one stack, with description, due date and status. |
Write (7)
Change the account. Calls marked Confirm wait for the user to approve them.
| Endpoint | Description |
|---|---|
| POST | Write a file to your Nextcloud at a path. It does not replace an existing file unless you say so. |
| POST | Create a folder, with missing parent folders. |
| POST | Share a file or folder by public link, or with a user, group or email address. |
| DELETE | Remove a share, so a public link or access stops working. |
| POST | Add an event to a calendar, with time, location and description. |
| POST | Add a contact to an address book with name, company, emails and phones. |
| POST | Add a card to a Deck stack with a title, a markdown description and a due date. |