Commit 81725700 authored by inertia's avatar inertia
Browse files

Merge branch 'api-defs' into 'develop'

Api defs

Closes #54, #53, #52, and #51

See merge request !99
parents 2db6c18d 01939f8e
......@@ -48,12 +48,19 @@
- '[beem](https://beem.readthedocs.io/en/latest/apidefinitions.html#get-block)'
- '[hive-ruby](https://www.rubydoc.info/gems/hive-ruby/Hive/BlockApi)'
- api_method: block_api.get_block_header
purpose: "Retrieve a block header of the referenced block, or null if no matching
block was found.\n\n**Parameters:**\n \n * `block_num:int` - Height of the
block whose header should be returned\n\n| `block_num` (int) | |\n|-------------------|-|\n|
`1` | Queries the block headers for the very first block. |\n| `8675309` | Queries
block headers for block number 8,675,309. |\n| `62396745` | Queries block headers
for block number 62,396,745. |\n"
purpose: |
Retrieve a block header of the referenced block, or null if no matching
block was found.
**Parameters:**
* `block_num:int` - Height of the block whose header should be returned
| `block_num` (int) | |
|-------------------|-|
| `1` | Queries the block headers for the very first block. |
| `8675309` | Queries block headers for block number 8,675,309. |
| `62396745` | Queries block headers for block number 62,396,745. |
parameter_json: '{"block_num":0}'
expected_response_json: |
{
......@@ -76,3 +83,25 @@
- '[hive-js](https://gitlab.syncad.com/hive/hive-js/tree/master/doc#get-block-header)'
- '[beem](https://beem.readthedocs.io/en/latest/apidefinitions.html#get-block-header)'
- '[hive-ruby](https://www.rubydoc.info/gems/hive-ruby/Hive/BlockApi)'
- api_method: block_api.get_block_range
purpose: |
Retrieve a range of full, signed blocks. The list may be shorter than requested if `count` blocks would take you past the current head block.
**Parameters:**
* `starting_block_num` - Height of the first block to be returned
* `count` - the maximum number of blocks to return
| `starting_block_num` (int) | `count` (int) | |
|----------------------------|---------------|-|
| `1` | `10` | Queries the block headers for the very first block through the tenth block. |
| `8675309` | `50`| Queries block headers for block numbers 8,675,309 through 8,675,359. |
| `62396745` | `1000` | Queries block headers for block numbers 62,396,745 through 62,397,745. |
See: [!149](https://gitlab.syncad.com/hive/hive/-/merge_requests/149), [702ea4a](https://gitlab.syncad.com/hive/hive/-/commit/702ea4a758a98b4d164a616dadb34683d40e7af4)
parameter_json: '{"starting_block_num":0,"count":0}'
expected_response_json: '{"blocks":[]}'
curl_examples:
- '{"jsonrpc":"2.0", "method":"block_api.get_block_range", "params":{"starting_block_num": 1, "count": 10}, "id":1}'
- '{"jsonrpc":"2.0", "method":"block_api.get_block_range", "params":{"starting_block_num": 8675309, "count": 50}, "id":1}'
- '{"jsonrpc":"2.0", "method":"block_api.get_block_range", "params":{"starting_block_num": 62396745, "count": 1000}, "id":1}'
......@@ -98,9 +98,9 @@
- '[beem](https://beem.readthedocs.io/en/latest/beem.transactionbuilder.html)'
- '[hive-ruby](https://www.rubydoc.info/gems/hive-ruby/Hive/TransactionBuilder)'
- api_method: condenser_api.get_account_bandwidth
disabled: true
removed: true
purpose: |
**Disabled since 0.20.6, see: [#3029](https://github.com/steemit/steem/issues/3029#issuecomment-428404844)**
**Disabled since 0.20.6, see: [#3029](https://github.com/steemit/steem/issues/3029#issuecomment-428404844); Removed: HF24**
Returns the available bandwidth of an account. Parameters: `account:string`; `type:string`, e.g.: `forum` or `market`
......@@ -492,7 +492,7 @@
| "hiveio" | `0` | `1` | Queries the blog for the account named "hiveio", up to one result. |
| "alice" | `0` | `50` | Queries the blog for the account named "alice", up to 50 results. |
Also see: [follow_api.get_blog]({{ '/apidefinitions/#follow_api.get_blog' | relative_url }}), [Paginated API Methods]({{ '/tutorials-recipes/paginated-api-methods.html#condenser_apiget_blog' | relative_url }})
Also see: [Paginated API Methods]({{ '/tutorials-recipes/paginated-api-methods.html#condenser_apiget_blog' | relative_url }})
parameter_json:
- hiveio
- 0
......@@ -565,8 +565,6 @@
|-------------------|-|
| `"hiveio"` | Queries for account named "hiveio". |
| `"alice"` | Queries for accounts named alice". |
Also see: [follow_api.get_blog_authors]({{ '/apidefinitions/#follow_api.get_blog_authors' | relative_url }})
parameter_json:
- ''
expected_response_json:
......@@ -590,7 +588,7 @@
| "hiveio" | `0` | `1` | Queries the blog entries for the account named "hiveio", up to one result. |
| "alice" | `0` | `50` | Queries the blog entries for the account named "alice", up to 50 results. |
Also see: [follow_api.get_blog_entries]({{ '/apidefinitions/#follow_api.get_blog_entries' | relative_url }}), [Paginated API Methods]({{ '/tutorials-recipes/paginated-api-methods.html#condenser_apiget_blog_entries' | relative_url }})
Also see: [Paginated API Methods]({{ '/tutorials-recipes/paginated-api-methods.html#condenser_apiget_blog_entries' | relative_url }})
parameter_json:
- hiveio
- 0
......@@ -1167,7 +1165,7 @@
| `"hiveio"` | `0` | `1` | Queries the account named `hiveio` starting on the first item, up to 1 result. |
| `"alice"` | `1` | `10` | Queries the account named `alice` starting on the second item, up to 10 results. |
Also see: [follow_api.get_feed]({{ '/apidefinitions/#follow_api.get_feed' | relative_url }}), [Paginated API Methods]({{ '/tutorials-recipes/paginated-api-methods.html#condenser_apiget_feed' | relative_url }})
Also see: [Paginated API Methods]({{ '/tutorials-recipes/paginated-api-methods.html#condenser_apiget_feed' | relative_url }})
parameter_json:
- ''
- 0
......@@ -1192,7 +1190,7 @@
| `"hiveio"` | `0` | `1` | Queries the account named `hiveio` starting on the first item, up to 1 result. |
| `"alice"` | `1` | `10` | Queries the account named `alice` starting on the second item, up to 10 results. |
Also see: [follow_api.get_feed_entries]({{ '/apidefinitions/#follow_api.get_feed_entries' | relative_url }}), [Paginated API Methods]({{ '/tutorials-recipes/paginated-api-methods.html#condenser_apiget_feed_entries' | relative_url }})
Also see: [Paginated API Methods]({{ '/tutorials-recipes/paginated-api-methods.html#condenser_apiget_feed_entries' | relative_url }})
parameter_json:
- ''
- 0
......@@ -1234,8 +1232,6 @@
|-------------------|-|
| `"hiveio"` | Queries the account named `hiveio`. |
| `"alice"` | Queries the account named `alice`. |
Also see: [follow_api.get_follow_count]({{ '/apidefinitions/#follow_api.get_follow_count' | relative_url }})
parameter_json:
- ''
expected_response_json:
......@@ -1261,7 +1257,7 @@
| `"hiveio"` | `null` | `"blog"` | `10` | Queries for follows of the account named `hiveio`, up to 10 results. |
| `"alice"` | `null` | `"ignore"` | `100` | Queries for mutes of the account named `alice`, up to 100 results. |
Also see: [follow_api.get_followers]({{ '/apidefinitions/#follow_api.get_followers' | relative_url }}), [Paginated API Methods]({{ '/tutorials-recipes/paginated-api-methods.html#condenser_apiget_followers' | relative_url }})
Also see: [Paginated API Methods]({{ '/tutorials-recipes/paginated-api-methods.html#condenser_apiget_followers' | relative_url }})
parameter_json:
- ''
- ''
......@@ -1293,7 +1289,7 @@
| `"hiveio"` | `null` | `"blog"` | `10` | Queries for follows of the account named `hiveio`, up to 10 results. |
| `"alice"` | `null` | `"ignore"` | `100` | Queries for mutes of the account named `alice`, up to 100 results. |
Also see: [follow_api.get_following]({{ '/apidefinitions/#follow_api.get_following' | relative_url }}), [Paginated API Methods]({{ '/tutorials-recipes/paginated-api-methods.html#condenser_apiget_following' | relative_url }})
Also see: [Paginated API Methods]({{ '/tutorials-recipes/paginated-api-methods.html#condenser_apiget_following' | relative_url }})
parameter_json:
- ''
- ''
......@@ -1566,8 +1562,6 @@
|----------------------------|---------------|-|
| `"hiveio"` | `"firstpost"` | Queries reblogs for content with a slug `@hiveio/firstpost` |
| `"alice"` | `"a-post-by-alice"` | Queries reblogs for content with a slug `@alice/a-post-by-alice` |
Also see: [follow_api.get_reblogged_by]({{ '/apidefinitions/#follow_api.get_reblogged_by' | relative_url }})
parameter_json:
- ''
- ''
......
......@@ -2615,3 +2615,61 @@
- '{"jsonrpc":"2.0", "method":"database_api.list_smt_tokens", "params":{"start":["", {"nai": "@@422838704", "precision": 0}],"limit":10,"order":"by_control_account"}, "id":1}'
client_docs:
- '[hive-ruby](https://www.rubydoc.info/gems/hive-ruby/Hive/Api)'
- api_method: database_api.get_comment_pending_payouts
purpose: |
Get comment pending payout data.
**Parameters:**
* `comments` - author/permlink
| `comments` (array:string) | |
|---------------------------|-|
| `[["hbd.funder", "upvote-this-post-to-fund-hbdstabilizer-qr2j7n"]]` | Returns comment info for a single post. |
| `[["hbd.funder", "upvote-this-post-to-fund-hbdstabilizer-qr2j7n"], ["arcange", "hivesql-proposal-unfunded-information-and-reaction"]]` | Returns comment info for multiple posts. |
parameter_json: '{"comments":[["hbd.funder", "upvote-this-post-to-fund-hbdstabilizer-qr2j7n"]]}'
expected_response_json: |
{
"cashout_infos": [
{
"author": "hbd.funder",
"permlink": "upvote-this-post-to-fund-hbdstabilizer-qr2j7n",
"cashout_info": {
"total_vote_weight": 22841196,
"total_payout_value": {
"amount": "0",
"precision": 3,
"nai": "@@000000013"
},
"curator_payout_value": {
"amount": "0",
"precision": 3,
"nai": "@@000000013"
},
"max_accepted_payout": {
"amount": "1000000000",
"precision": 3,
"nai": "@@000000013"
},
"author_rewards": 0,
"children_abs_rshares": "606511906476641",
"net_rshares": "571577939879762",
"abs_rshares": "594467432989642",
"vote_rshares": "583007369825359",
"net_votes": 378,
"active": "2021-04-06T15:29:03",
"last_payout": "1970-01-01T00:00:00",
"cashout_time": "2021-04-12T02:07:00",
"max_cashout_time": "1969-12-31T23:59:59",
"percent_hbd": 10000,
"reward_weight": 10000,
"allow_replies": false,
"allow_votes": true,
"allow_curation_rewards": true
}
}
]
}
curl_examples:
- '{"jsonrpc":"2.0", "method":"database_api.get_comment_pending_payouts", "params":{"comments":[["hbd.funder", "upvote-this-post-to-fund-hbdstabilizer-qr2j7n"]]}, "id":1}'
- '{"jsonrpc":"2.0", "method":"database_api.get_comment_pending_payouts", "params":{"comments":[["hbd.funder", "upvote-this-post-to-fund-hbdstabilizer-qr2j7n"], ["arcange", "hivesql-proposal-unfunded-information-and-reaction"]]}, "id":1}'
......@@ -32,7 +32,10 @@
- '[beem](https://beem.readthedocs.io/en/latest/apidefinitions.html#get-account-reputations)'
- '[hive-ruby](https://www.rubydoc.info/gems/hive-ruby/Hive/Api)'
- api_method: follow_api.get_blog
removed: true
purpose: |
**Removed since HF24**
Returns the list of blog entries for an account.
Also see: [Paginated API Methods]({{ '/tutorials-recipes/paginated-api-methods.html#follow_apiget_blog' | relative_url }})
......@@ -106,7 +109,10 @@
- '[beem](https://beem.readthedocs.io/en/latest/apidefinitions.html#get-blog)'
- '[hive-ruby](https://www.rubydoc.info/gems/hive-ruby/Hive/Api)'
- api_method: follow_api.get_blog_authors
removed: true
purpose: |
**Removed since HF24**
Returns a list of authors that have had their content reblogged on a given blog account.
parameter_json: '{"blog_account":""}'
expected_response_json: |
......@@ -128,7 +134,10 @@
- '[beem](https://beem.readthedocs.io/en/latest/apidefinitions.html#get-blog-authors)'
- '[hive-ruby](https://www.rubydoc.info/gems/hive-ruby/Hive/Api)'
- api_method: follow_api.get_blog_entries
removed: true
purpose: |
**Removed since HF24**
Returns a list of blog entries for an account.
Also see: [Paginated API Methods]({{ '/tutorials-recipes/paginated-api-methods.html#follow_apiget_blog_entries' | relative_url }})
......@@ -155,8 +164,11 @@
- '[beem](https://beem.readthedocs.io/en/latest/apidefinitions.html#get-blog-entries)'
- '[hive-ruby](https://www.rubydoc.info/gems/hive-ruby/Hive/Api)'
- api_method: follow_api.get_feed
removed: true
since: HF14
purpose: |
**Removed since HF24**
Returns a list of items in an account's feed.
Also see: [Paginated API Methods]({{ '/tutorials-recipes/paginated-api-methods.html#follow_apiget_feed' | relative_url }})
......@@ -172,8 +184,11 @@
- '[beem](https://beem.readthedocs.io/en/latest/apidefinitions.html#get-feed)'
- '[hive-ruby](https://www.rubydoc.info/gems/hive-ruby/Hive/Api)'
- api_method: follow_api.get_feed_entries
removed: true
since: HF14
purpose: |
**Removed since HF24**
Returns a list of entries in an account's feed.
Also see: [Paginated API Methods]({{ '/tutorials-recipes/paginated-api-methods.html#follow_apiget_feed_entries' | relative_url }})
......@@ -189,8 +204,12 @@
- '[beem](https://beem.readthedocs.io/en/latest/apidefinitions.html#get-feed-entries)'
- '[hive-ruby](https://www.rubydoc.info/gems/hive-ruby/Hive/Api)'
- api_method: follow_api.get_follow_count
removed: true
since: HF9
purpose: Returns the count of followers for an account.
purpose: |
**Removed since HF24**
Returns the count of followers for an account.
parameter_json: '{"account":""}'
expected_response_json: |
{
......@@ -208,8 +227,11 @@
- '[beem](https://beem.readthedocs.io/en/latest/apidefinitions.html#get-follow-count)'
- '[hive-ruby](https://www.rubydoc.info/gems/hive-ruby/Hive/Api)'
- api_method: follow_api.get_followers
removed: true
since: HF9
purpose: |
**Removed since HF24**
Returns the list of followers for an account.
Also see: [Paginated API Methods]({{ '/tutorials-recipes/paginated-api-methods.html#follow_apiget_followers' | relative_url }})
......@@ -236,8 +258,11 @@
- '[beem](https://beem.readthedocs.io/en/latest/apidefinitions.html#get-followers)'
- '[hive-ruby](https://www.rubydoc.info/gems/hive-ruby/Hive/Api)'
- api_method: follow_api.get_following
removed: true
since: HF9
purpose: |
**Removed since HF24**
Returns the list of accounts that are following an account.
Also see: [Paginated API Methods]({{ '/tutorials-recipes/paginated-api-methods.html#follow_apiget_following' | relative_url }})
......@@ -264,8 +289,12 @@
- '[beem](https://beem.readthedocs.io/en/latest/apidefinitions.html#get-following)'
- '[hive-ruby](https://www.rubydoc.info/gems/hive-ruby/Hive/Api)'
- api_method: follow_api.get_reblogged_by
removed: true
since: HF14
purpose: Returns a list of authors that have reblogged a post.
purpose: |
**Removed since HF24**
Returns a list of authors that have reblogged a post.
parameter_json: '{"author":"","permlink":""}'
expected_response_json: '{"accounts":[]}' # TODO - recheck in HF23
curl_examples:
......
......@@ -21,6 +21,9 @@ Methods:
{% if method.disabled %}
<li class="warning"><strong><small>Disabled</small></strong></li>
{% endif %}
{% if method.removed %}
<li class="error"><strong><small>Removed</small></strong></li>
{% endif %}
{% if method.client_docs %}
<li class="info"><strong><small>SDK Reference</small></strong>{% for client_doc in method.client_docs %}<small>{{ client_doc | markdownify }}</small>{% endfor %}</li>
{% endif %}
......
......@@ -379,6 +379,8 @@ curl -s --data '[{"jsonrpc":"2.0", "method":"condenser_api.get_block", "params":
]
```
Also see: [`block_api.get_block_range`]({{ '/apidefinitions/#block_api.get_block_range' | request_url }})
### Footnotes<a style="float: right" href="#sections"><i class="fas fa-chevron-up fa-sm" /></a>
* Batch requests are limited to a maximum of 50 request elements.
......
......@@ -118,12 +118,6 @@ The following methods have various forms of pagination:
* [`list_smt_tokens`](#database_apilist_smt_tokens)
* `follow_api`
* [`get_account_reputations`](#follow_apiget_account_reputations)
* [`get_blog`](#follow_apiget_blog)
* [`get_blog_entries`](#follow_apiget_blog_entries)
* [`get_feed`](#follow_apiget_feed)
* [`get_feed_entries`](#follow_apiget_feed_entries)
* [`get_followers`](#follow_apiget_followers)
* [`get_following`](#follow_apiget_following)
* `reputation_api`
* [`get_account_reputations`](#reputation_apiget_account_reputations)
* `tags_api`
......@@ -1862,82 +1856,91 @@ curl -s --data '{
Also see: [API Definition]({{ '/apidefinitions/#follow_api.get_account_reputations' | relative_url }})
### `follow_api.get_blog`<a style="float: right" href="#sections"><i class="fas fa-chevron-up fa-sm" /></a>
### `reputation_api.get_account_reputations`<a style="float: right" href="#sections"><i class="fas fa-chevron-up fa-sm" /></a>
To list the first 10 objects for `account`, ordered by `entry_id`:
To list the first 10 objects ordered by `account`:
```bash
curl -s --data '{
"jsonrpc": "2.0",
"method": "follow_api.get_blog",
"method": "reputation_api.get_account_reputations",
"params": {
"account": "alice",
"start_entry_id": 0,
"account_lower_bound": "",
"limit": 10
},
"id": 1
}' https://api.hive.blog | jq
```
To list the next page (assuming `alice`, `99` is the last entry in the previous page):
To list the next page (assuming `alice` is the last entry in the previous page):
```bash
curl -s --data '{
"jsonrpc": "2.0",
"method": "follow_api.get_blog",
"method": "reputation_api.get_account_reputations",
"params": {
"account": "alice",
"start_entry_id": 99,
"account_lower_bound": "alice",
"limit": 10
},
"id": 1
}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#follow_api.get_blog' | relative_url }})
Also see: [API Definition]({{ '/apidefinitions/#reputation_api.get_account_reputations' | relative_url }})
### `tags_api.get_discussions_by_author_before_date`<a style="float: right" href="#sections"><i class="fas fa-chevron-up fa-sm" /></a>
### `follow_api.get_blog_entries`<a style="float: right" href="#sections"><i class="fas fa-chevron-up fa-sm" /></a>
**Note:** The `before_date` param is completely ignored. This method is similar
to `get_discussions_by_blog` but does *not* serve reblogs.
To list the first 10 objects for `account`, ordered by `entry_id`:
To list the first 10 objects for `author`:
```bash
curl -s --data '{
"jsonrpc": "2.0",
"method": "follow_api.get_blog_entries",
"method": "tags_api.get_discussions_by_author_before_date",
"params": {
"account": "alice",
"start_entry_id": 0,
"author": "alice",
"start_permlink": "",
"before_date": "",
"limit": 10
},
"id": 1
}' https://api.hive.blog | jq
```
To list the next page (assuming `alice`, `99` is the last entry in the previous page):
To list the next page (assuming `alice-permlink` is the last entry in the previous page):
```bash
curl -s --data '{
"jsonrpc": "2.0",
"method": "follow_api.get_blog_entries",
"method": "tags_api.get_discussions_by_author_before_date",
"params": {
"account": "alice",
"start_entry_id": 99,
"author": "alice",
"start_permlink": "alice-permlink",
"before_date": "",
"limit": 10
},
"id": 1
}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#follow_api.get_blog_entries' | relative_url }})
Also see: [API Definition]({{ '/apidefinitions/#tags_api.get_discussions_by_author_before_date' | relative_url }})
### `condenser_api.get_account_history`<a style="float: right" href="#sections"><i class="fas fa-chevron-up fa-sm" /></a>
### `follow_api.get_feed`<a style="float: right" href="#sections"><i class="fas fa-chevron-up fa-sm" /></a>
See: [`account_history_api.get_account_history`](#account_history_apiget_account_history)
Also see: [API Definition]({{ '/apidefinitions/#condenser_api.get_account_history' | relative_url }})
### `condenser_api.get_blog`<a style="float: right" href="#sections"><i class="fas fa-chevron-up fa-sm" /></a>
To list the first 10 objects for `account`, ordered by `entry_id`:
```bash
curl -s --data '{
"jsonrpc": "2.0",
"method": "follow_api.get_feed",
"method": "condenser_api.get_blog",
"params": {
"account": "alice",
"start_entry_id": 0,
......@@ -1952,7 +1955,7 @@ To list the next page (assuming `alice`, `99` is the last entry in the previous
```bash
curl -s --data '{
"jsonrpc": "2.0",
"method": "follow_api.get_feed",
"method": "condenser_api.get_blog",
"params": {
"account": "alice",
"start_entry_id": 99,
......@@ -1962,16 +1965,16 @@ curl -s --data '{
}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#follow_api.get_feed' | relative_url }})
Also see: [API Definition]({{ '/apidefinitions/#condenser_api.get_blog' | relative_url }})
### `follow_api.get_feed_entries`<a style="float: right" href="#sections"><i class="fas fa-chevron-up fa-sm" /></a>
### `condenser_api.get_blog_entries`<a style="float: right" href="#sections"><i class="fas fa-chevron-up fa-sm" /></a>
To list the first 10 objects for `account`, ordered by `entry_id`:
```bash
curl -s --data '{
"jsonrpc": "2.0",
"method": "follow_api.get_feed_entries",
"method": "condenser_api.get_blog_entries",
"params": {
"account": "alice",
"start_entry_id": 0,
......@@ -1986,7 +1989,7 @@ To list the next page (assuming `alice`, `99` is the last entry in the previous
```bash
curl -s --data '{
"jsonrpc": "2.0",
"method": "follow_api.get_feed_entries",
"method": "condenser_api.get_blog_entries",
"params": {
"account": "alice",
"start_entry_id": 99,
......@@ -1996,197 +1999,152 @@ curl -s --data '{
}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#follow_api.get_feed_entries' | relative_url }})
Also see: [API Definition]({{ '/apidefinitions/#condenser_api.get_blog_entries' | relative_url }})
### `condenser_api.get_discussions_by_author_before_date`<a style="float: right" href="#sections"><i class="fas fa-chevron-up fa-sm" /></a>
### `follow_api.get_followers`<a style="float: right" href="#sections"><i class="fas fa-chevron-up fa-sm" /></a>
See: [`tags_api.get_discussions_by_author_before_date`](#tags_apiget_discussions_by_author_before_date)
To list the first 10 objects for `account`, ordered by `follower`:
Also see: [API Definition]({{ '/apidefinitions/#condenser_api.get_discussions_by_author_before_date' | relative_url }})
### `condenser_api.get_feed`<a style="float: right" href="#sections"><i class="fas fa-chevron-up fa-sm" /></a>
To list the first 10 objects for `account`, ordered by `entry_id`:
```bash
curl -s --data '{
"jsonrpc": "2.0",
"method": "follow_api.get_followers",
"method": "condenseer_api.get_feed",
"params": {
"account": "alice",
"start": "",
"type": "blog",
"start_entry_id": 0,
"limit": 10
},
"id": 1
}' https://api.hive.blog | jq
```
To list the next page (assuming `alice`, `bob` is the last entry in the previous page):
To list the next page (assuming `alice`, `99` is the last entry in the previous page):
```bash
curl -s --data '{
"jsonrpc": "2.0",
"method": "follow_api.get_followers",
"method": "condenseer_api.get_feed",
"params": {
"account": "alice",
"start": "bob",
"type": "blog",
"start_entry_id": 99,
"limit": 10
},
"id": 1
}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#follow_api.get_followers' | relative_url }})
Also see: [API Definition]({{ '/apidefinitions/#condenser_api.get_feed' | relative_url }})
### `follow_api.get_following`<a style="float: right" href="#sections"><i class="fas fa-chevron-up fa-sm" /></a>
### `condenser_api.get_feed_entries`<a style="float: right" href="#sections"><i class="fas fa-chevron-up fa-sm" /></a>
To list the first 10 objects for `account`, ordered by `followed`:
To list the first 10 objects for `account`, ordered by `entry_id`:
```bash
curl -s --data '{
"jsonrpc": "2.0",
"method": "follow_api.get_following",
"method": "condenser_api.get_feed_entries",
"params": {
"account": "alice",
"start": "",
"type": "blog",
"start_entry_id": 0,
"limit": 10
},
"id": 1
}' https://api.hive.blog | jq
```
To list the next page (assuming `alice`, `bob` is the last entry in the previous page):
To list the next page (assuming `alice`, `99` is the last entry in the previous page):
```bash
curl -s --data '{
"jsonrpc": "2.0",
"method": "follow_api.get_following",
"method": "condenser_api.get_feed_entries",
"params": {
"account": "alice",
"start": "bob",
"type": "blog",
"start_entry_id": 99,
"limit": 10
},
"id": 1
}' https://api.hive.blog | jq
```
Also see: [API Definition]({{ '/apidefinitions/#follow_api.get_following' | relative_url }})
Also see: [API Definition]({{ '/apidefinitions/#condenser_api.get_feed_entries' | relative_url }})
### `reputation_api.get_account_reputations`<a style="float: right" href="#sections"><i class="fas fa-chevron-up fa-sm" /></a>
### `condenser_api.get_followers`<a style="float: right" href="#sections"><i class="fas fa-chevron-up fa-sm" /></a>
To list the first 10 objects ordered by `account`:
To list the first 10 objects for `account`, ordered by `follower`:
```bash
curl -s --data '{
"jsonrpc": "2.0",
"method": "reputation_api.get_account_reputations",
"method": "condenser_api.get_followers",
"params": {
"account_lower_bound": "",
"account": "alice",
"start": "",
"type": "blog",
"limit": 10
},
"id": 1
}' https://api.hive.blog | jq
```
To list the next page (assuming `alice` is the last entry in the previous page):
To list the next page (assuming `alice`, `bob` is the last entry in the previous page):
```bash
curl -s --data '{
"jsonrpc": "2.0",