Skip to content
Snippets Groups Projects
Commit a1a253c2 authored by Paulina Czempiel's avatar Paulina Czempiel
Browse files

Merge branch 'readme_condenser_api' of...

Merge branch 'readme_condenser_api' of https://gitlab.syncad.com/hive/tests_api into readme_condenser_api
parents f38e04de fe04e5f1
No related branches found
No related tags found
1 merge request!148Readme files to condenser_api calls
Lists posts for given author from the most recent
(equivalent to get_discussions_by_blog, but uses offset-based pagination/ interface like get_blog_entries but returns more post references).
Entry_id and limit for paging mechanism (start_entry_id can be at least smaller one than limit [start_index - limit + 1 >= 0])
Entry_id and limit for paging mechanism.
method: "condenser_api.get_blog"
params:
{
"author":"{author}"
"account":"{account}"
mandatory, points to valid account
"start_entry_id":"{number}"
optional; default = 0
optional; default = 0; when passed without limit must be lower than 500
"limit":"{limit}"
......
Lists posts for given author from the most recent
(interface identical to get_blog, but returns minimalistic post references).
Entry_id and limit for paging mechanism (start_entry_id can be at least smaller one than limit [start_index - limit + 1 >= 0])
Entry_id and limit for paging mechanism.
method: "condenser_api.get_blog_entries"
params:
{
"author":"{author}"
"account":"{account}"
mandatory, points to valid account
"start_entry_id":"{number}"
optional; default = 0
optional; default = 0; when passed without limit must be lower than 500
"limit":"{limit}"
......
......@@ -9,7 +9,7 @@ params:
"limit":"{limit}"
optional, range 1...500; default = 20
optional, range 1...100; default = 20
"tag":"{tag}"
......
......@@ -3,13 +3,9 @@ Gives content for given post.
method: "condenser_api.get_content"
params:
{
"account": "{account}",
"account": "{account}", "permlink": {permlink},
mandatory, points to valid account
"permlink": {permlink},
mandatory, with account points to valid post
mandatory, points to valid post
"observer": "{account}",
......
......@@ -14,7 +14,7 @@ params:
"limit":"{limit}",
optional, range 1...500; default = 20
optional, range 1...100; default = 20
"before_date":"{date}",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment