❤️ 4 Likes · ⚡ 0 Tips
{
"txid": "12b1bc18a902a0595f451064d8b9e617616d9843e736c8c8165b02e1b05e2bee",
"block_height": 722853,
"time": null,
"app": "bsocial.cli",
"type": "post",
"map_content": "# BlockPost API\n\nBlockPost introduces a simple suite of APIs for others to read from the bSocial (BitcoinSchema) network.\n\nNOTE: The APIs are open and unlimited and no guarantees are given. If you want to build a serious business around\nthese API's, contact us at [help@blockpost.network](mailto:help@blockpost.network).\n\n## API endpoints\n\n### Get latest posts\n\n```shell\nhttps://blockpost.network/api/v1/posts/latest\n```\n\nThis will return the 20 latest posts from the network. If you want to get the next 20, call the API endpoint\nagain, but now with the timestamp of the last post in the `from` query parameter.\n\n```shell\nhttps://blockpost.network/api/v1/posts/latest?from=1642495551.8885\n```\n\nYou can also get only the id's of the posts, which can be used together with the `posts/get` endpoint to create\na way of loading the posts asynchronously.\n\n```shell\nhttps://blockpost.network/api/v1/posts/latestIds\n```\n\n### Get child posts of a post\n\n```shell\nhttps://blockpost.network/api/v1/posts/children?id=cdaaf016855b7920399277769add32eacfcd92d8e257955fef58397bb907da21\n```\n\nThis will get all the replies, or children, of the given post, from the transaction id in the `id` parameter.\n\n### Search posts\n\n```shell\nhttps://blockpost.network/api/v1/posts/search?term=blockpost\n```\n\nThis will search all posts for `blockpost`. This endpoint also takes the `from` parameter, in the same way\nas `posts/latest`.\n\nYou can also get only the transaction ids of your search term.\n\n```shell\nhttps://blockpost.network/api/v1/posts/searchIds?term=blockpost\n```\n\n### Get a single post\n\n```shell\nhttps://blockpost.network/api/v1/posts/get?id=cdaaf016855b7920399277769add32eacfcd92d8e257955fef58397bb907da21\n```\n\nThis gets the full post, from the transaction id in the `id` parameter.\n\n### Get likes\n\n```shell\nhttps://blockpost.network/api/v1/posts/likes?id=cdaaf016855b7920399277769add32eacfcd92d8e257955fef58397bb907da21\n```\n\nThis gets all the likes of the post, given in the transaction id in the `id` parameter.\n\n### Get tips\n\n```shell\nhttps://blockpost.network/api/v1/posts/tips?id=cdaaf016855b7920399277769add32eacfcd92d8e257955fef58397bb907da21\n```\n\nThis gets all the tips of the post, given in the transaction id in the `id` parameter.\n\n### Get an identity\n\n```shell\nhttps://blockpost.network/api/v1/bap/get?idKey=ce007938819c927a94af9f52524a65a205e9917fd4b099b61dbc869eade43278\n```\n\nGet the public profile of the identity given by the `idKey`.\n\n## bSocial / BitcoinSchema / BlockPost\n\nFor more information about the bSocial network and the BitcoinSchema protocol see:\n\nhttps://blockpost.network/post/cdaaf016855b7920399277769add32eacfcd92d8e257955fef58397bb907da21\n\nhttps://bitcoinschema.org/#/social_schema",
"media_type": "text/markdown",
"filename": "|",
"author": "19FGj4oQmUdAL6rtUQweuNeDmq5SiaWH1B",
"display_name": null,
"channel": null,
"parent_txid": null,
"ref_txid": null,
"tags": null,
"reply_count": 1,
"like_count": 4,
"timestamp": "2022-01-18T22:57:36.000Z",
"media_url": null,
"aip_verified": true,
"has_access": true,
"attachments": [],
"ui_name": "19FGj4\u2026WH1B",
"ui_display_name": "19FGj4\u2026WH1B",
"ui_handle": null,
"ui_display_raw": null,
"ui_signer": "19FGj4oQmUdAL6rtUQweuNeDmq5SiaWH1B",
"ref_ui_name": "unknown",
"ref_ui_signer": "unknown"
}