-
-
Notifications
You must be signed in to change notification settings - Fork 374
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
docs: projects API examples #1825
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its great that we have this now, but I would prefer if we dont add a new page.
We already have too many pages in the docs which clutters the sidebar and makes it hard to navigate - can we find a way to add this example somewhere else?
I would prefer in the update to the Projects API blogpost (PR is open here: https://github.com/ory-corp/web/pull/2018)
This is not the hardest API to use, so IMO its fine to have examples only in the blog and in the docs only reference.
I thought it needs to be in the docs for it to appear in kapa? I'm fine adding all project management to one page or just updating the project API docs |
We will however need to have some type of user guide "delete project" that person X can send to person Y (owner of the org) so they can do it easily (in the future in the UI). |
maybe instead of updating the blogpost, we just move the content into the docs as a we can feed the blogposts also to kapa, that is no issue. |
I was always frustrated by CockroachDB because they hide a lot of developer content (e.g how replication works) in blog posts, and it was difficult to find it. So I agree that it maybe makes sense to have one or two pages in the docs to talk about different use cases like: A guide to manage your project using the API (create, update, patch delete) with the various options (cli, api, sdk, console) |
Ok, I will port over my content from the blogpost to this PR. Should not take too long. |
Added the other content and turned the doc into a general guide for that API. The delete API didnt work AFAICT though. |
I fixed it, which is why I'm documenting it :) |
One could also argue that this instead would belong to the API docs. Like Stripe does it: https://docs.stripe.com/api/subscriptions/cancel Because really, this is API documentation. |
True its already documented there (minus snippets). |
Let's merge this so that it's in the docs and then we can still move it to API docs. |
Related Issue or Design Document
Closes ory/network#217
Checklist
If this pull request addresses a security vulnerability,
I confirm that I got approval (please contact [email protected]) from the maintainers to push the changes.
Further comments