-
Notifications
You must be signed in to change notification settings - Fork 3
Konnection API Endpoints
HailanXyouknow edited this page Feb 18, 2021
·
14 revisions
Last Updated: Feb 17 2021
- Methods:
- GET: get posts made by the author (paginated)
- POST: create a new post
- Notes:
- Currently no pagination is implemented
- You can only get your own posts or another user's public posts
- Methods:
- GET: get the public post
- POST: update the post
- DELETE: remove the post
- PUT: create a post with that post_id
{
"title": "Title",
"source": "http://example.com/source",
"origin": "http://example.com/origin",
"description": "A brief description",
"contentType": "text/html",
"content": "<h1>hello</h1>",
"visibility": "PUBLIC",
"unlisted": False
}
- Accepted values:
- contentType: text/markdown, text/plain, text/html, application/base64, image/png;base64, image/jpeg;base64
- visibility: PUBLIC, FRIENDS