Skip to content

Draft: Add formal API documentation#205

Draft
Battleman wants to merge 46 commits into
julien-nc:mainfrom
Battleman:main
Draft

Draft: Add formal API documentation#205
Battleman wants to merge 46 commits into
julien-nc:mainfrom
Battleman:main

Conversation

@Battleman

Copy link
Copy Markdown

This is a (probably still incomplete) draft PR. It only adds to the documentation.

The goal of the PR is to provide a comprehensive documentation about the API of Cospend, which is currently non-existent.

As I spent a long time, and it is quite a large document, I would appreciate if multiple eyes could have a look at it, and suggest changes or point mistakes/inconsistencies. I definitely have changed my style while I was writing this, as I was learning more and more about Cospend.

It's probably "good enough" to be already used, but it should also definitely be refined a bit.

@provokateurin

provokateurin commented Jan 8, 2024

Copy link
Copy Markdown
Contributor

I think this can be better solved using https://docs.nextcloud.com/server/latest/developer_manual/client_apis/OCS/ocs-openapi.html which @julien-nc is working on afaik. Your documentation looks very good though, so it could be copied to the controllers and automatically appear in the OpenAPI specification.

@seabusch

seabusch commented Oct 7, 2025

Copy link
Copy Markdown

Missing create a bill via OCS API?

@Battleman

Copy link
Copy Markdown
Author

It's a two years old PR, it's probably not up to date anymore :)

@adrien-n

adrien-n commented Nov 5, 2025

Copy link
Copy Markdown

Well, for me at least it's been a useful source of information. It helped me with the connection and a few API calls. Thanks!

@adrien-n

adrien-n commented Dec 3, 2025

Copy link
Copy Markdown

In addition to name, color is mandatory to create a category or a paymentmode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants