Add API related docs + postman collection #1127
No reviewers
Labels
No Label
a11y
ActivityPub
admin
API
backend
bug
community
conflicting
contribution welcome
deployment
documentation
duplicate
enhancement
frontend
good first issue
help wanted
high priority
instance config
low priority
mobile
moderation
more infomation needed
needs feedback
pr pending
project setup
question
search
security
translation
translations update needed
UI/UX
upstream
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Kbin/kbin-core#1127
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "rideranton/kbin-core:feature/api-docs"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
This PR adds some improvements to the documentation, explaining the steps needed to get the API working with a newly deployed instance, and how to create OAuth2 clients as an application developer. In addition, it adds a postman collection and environment for those familiar with Postman to experiment with.
cd00dd41de
to20e57de96f
Why put api doc json for postman in repository when it can be imported from https://localhost/api/doc.json?
The postman collection is different from the OpenAPI 3 spec at /api/doc.json - It has a few scripts that can automate some of OAuth2 client creation (assigning client id and secret to variables, demonstrating how to generate a code verifier for Auth Code with PKCE flows, etc). There are enough useful things with it that its probably worth including in the docs folder