Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API documentation #588

Closed
juliusknorr opened this issue Aug 15, 2018 · 3 comments
Closed

API documentation #588

juliusknorr opened this issue Aug 15, 2018 · 3 comments

Comments

@juliusknorr
Copy link
Member

juliusknorr commented Aug 15, 2018

We need a proper API documentation for the brand new rest API from #535. Proposals for tooling that could help provide a nice documentation is welcome 😉


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@pixelipo
Copy link
Contributor

Is there an official "Nextcloud" way of creating documentation for apps?

The easiest method is to just create a markdown file in code. However, I believe documentation should be accessible from within the NC instance itself.

There is already /settings/help page which hosts NC server documentation - why not expand it to include app-specific docs as well? It's just a placeholder anyway, since it hosts docs from core/doc/user as well as core/doc/admin. It could very well append app/deck/doc section.

P.S. Awesome work @Nebri and @juliushaertl creating the API!

@juliusknorr
Copy link
Member Author

I think the API documentation could still be independently hosted somewhere else since it is nothing regular users will care about. The usual nextcloud documentation is build with sphinx, but I'd like to have something more API focused. Maybe with some examples like curl requests.

@b-m-f
Copy link

b-m-f commented Sep 3, 2018

What about Swagger PHP?

This was referenced Oct 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants