We are listing the available API endpoints for habitate.io. These can be used to build additional feature and create linked services around your community.
In case you need more help you can get in touch with the team, developer-support at habitate.io
Possible values | Comments |
---|---|
post_id | The post_id to be edited. |
Name | Type | Req? | Comments |
---|---|---|---|
board_id | string | Y | |
headline | string | Y | |
content | boolean | Y | |
authors | List | Y | list of msid of authors. currently only the first item in the list is used to assign an author to the post |
The checks and conditional on who can post in what board, will be evaluated against the API user rather than the author of the post.
{
"post_id": 163,
"board_id": 1,
"headline": "Upgradable secondary concept Mouse",
"post_short_text": "Delectus aut deserunt in aliquid. Dolorem totam suscipit ab. Veniam saepe sit. Animi totam inventore deserunt",
"content": "Delectus aut deserunt in aliquid. Dolorem totam suscipit ab. Veniam saepe sit. Animi totam inventore deserunt aut ut ab recusandae facilis reprehenderit. Et qui et debitis itaque odit. Cum animi qui qui sunt. Fish",
"clean_text": "Delectus aut deserunt in aliquid. Dolorem totam suscipit ab. Veniam saepe sit. Animi totam inventore deserunt aut ut ab recusandae facilis reprehenderit. Et qui et debitis itaque odit. Cum animi qui qui sunt. Fish",
"post_status": 15,
"comment_count": 0,
"reply_count": 0,
"react_count": 1,
"reactions": {
"s2": 1
},
"view_count": 1,
"last_edited_at": "2022-04-21T12:49:20.356592Z",
"created_at": "2022-04-21T12:49:20.095Z",
"last_modified_at": "2022-04-21T12:48:41Z",
"user": {
"user_id": 146,
"user_avatar": "https://images.unsplash.com/photo-1558244661-d248897f7bc4",
"username": "Alexandra",
"msid": "146.VijCxex1IKckmzUDzYXlQycufs3"
}
}
refer to this section