Skip to content

Commit 2df3780

Browse files
committed
fix base URL in API doc
Signed-off-by: dartcafe <github@dartcafe.de>
1 parent f675e19 commit 2df3780

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/API_v1.0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ _File → Import Collection → OpenAPI V3 → select `openapi.json`_
3131
All endpoints are served under:
3232

3333
```
34-
/index.php/apps/polls
34+
/ocs/v2.php/apps/polls
3535
```
3636

3737
## Authentication
3838

3939
Standard Nextcloud authentication applies (Basic Auth, App Passwords, session cookies).
4040

4141
```bash
42-
curl -u username:password https://nextcloud.example.com/index.php/apps/polls/api/v1.0/polls
42+
curl -u username:password https://nextcloud.example.com/ocs/v2.php/apps/polls/api/v1.0/polls
4343
```
4444

4545
## Available enum values

0 commit comments

Comments
 (0)