Module Group: Posts
Parsing Order: 270
Database Size: 15.720 GB
The content_history_api tracks edit history for posts and comments on the Steem blockchain.
{
"id": "content_history_api",
"group_id": "posts",
"parsing_order": 270,
"referenced_modules": ["chain_api", "posts_api"],
"parse_reversible": true,
"event_handlers": [
"chain_api.onUpdatePost",
"chain_api.onRemovePost"
]
}
Returns this module's active configuration.
Endpoint
/content_history_api/getConfig
Returns the edit history of a post or comment.
Endpoint
/content_history_api/getContentHistory/:author/:permlink
Parameters
| Name | Type | Optional | Description |
|---|---|---|---|
:author |
string | No | Post author |
:permlink |
string | No | Post permlink |
Example
/content_history_api/getContentHistory/steemit/firstpost
Example Response (Steem's First Post):
{
"code": 0,
"result": {
"cols": {"time": 0, "json_metadata": 1, "title": 2, "body": 3},
"rows": [
[
1459362618,
"{}",
"Welcome to Steem!",
"Steemit is a social media platform where anyone can earn STEEM points by posting. The more people who like a post, the more STEEM the poster earns. Anyone can sell their STEEM for cash or vest it to boost their voting power."
]
]
}
}
Historic First Post:
| Column | Description |
|---|---|
time |
Unix timestamp of the edit |
json_metadata |
Post metadata at time of edit |
title |
Post title at time of edit |
body |
Post body content at time of edit |