Documentation of OCS Rest APIs

Hello Everybody,

where can I find the Documentation of all the endpoints and nitty gritty details of the OCS Rest Api? F.I.: The cloud/users/details one, used in the account management page. There are docs describing the needed headers and authentification stuff, but I could not find anything specific to the endpoints. Do I have to look into the code for that - if so, where to start?

Hey, I think the best would be to install the OCS viewer app: OCS API Viewer - Apps - App Store - Nextcloud. Most of the APIs are described there, for the particular endpoint take a look at provisioning_api.

1 Like

There’s also this page: OCS API

2 Likes

provisioning_api — That’s the secret sauce one needs to know! I have already been at the Docs linked by @marcelklehr but I missed to scrape that particular section.

Is it okay to put this into the documentation? I’d like to have this link there, to be honest. I can file a PR but just wanted to make sure the link is okay to share and stable.

It’s linked at OCS API — Nextcloud latest Developer Manual latest documentation, but maybe obvious enough?

1 Like

Indeed, it’s there! And now that I know I can see it :wink: To throw my 50 Cents in: Could be bigger an more prominent, but I do not want to discuss aesthetics here. THANKS for all the Help!!!