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

tags_api get_content_replies moved to folder

parent 9a480dee
No related branches found
No related tags found
1 merge request!52tags_api get_content_replies moved to folder
[
{
"active_votes": [
{
"percent": "10000",
"reputation": 0,
"rshares": "742566481",
"voter": "patrick-g"
}
],
"author": "kingtylervvs",
"author_reputation": 0,
"beneficiaries": [],
"body": "PARTY PARTY.... P - A - R - T - Y????? BECAUSE I GOTTA!",
"body_length": 55,
"cashout_time": "1969-12-31T23:59:59",
"category": "meta",
"children": 0,
"created": "2016-07-17T19:38:12",
"curator_payout_value": "0.000 HBD",
"depth": 2,
"json_metadata": "{\"tags\":[\"meta\"]}",
"last_payout": "2016-08-24T19:59:42",
"last_update": "2016-07-17T19:38:12",
"max_accepted_payout": "1000000.000 HBD",
"net_rshares": 742566481,
"parent_author": "admin",
"parent_permlink": "firstpost",
"pending_payout_value": "0.000 HBD",
"percent_steem_dollars": 10000,
"permlink": "re-admin-firstpost-20160717t193811098z",
"post_id": 110463,
"promoted": "0.000 HBD",
"replies": [],
"root_title": "Welcome to Steem!",
"title": "",
"total_payout_value": "0.000 HBD",
"url": "/meta/@steemit/firstpost#@kingtylervvs/re-admin-firstpost-20160717t193811098z"
},
{
"active_votes": [
{
"percent": "10000",
"reputation": 0,
"rshares": "742566481",
"voter": "patrick-g"
},
{
"percent": "10000",
"reputation": 0,
"rshares": "111000395",
"voter": "bustillos"
}
],
"author": "gopher",
"author_reputation": 0,
"beneficiaries": [],
"body": "Are you admin in steem? If you have been hacked, who can help you?",
"body_length": 66,
"cashout_time": "1969-12-31T23:59:59",
"category": "meta",
"children": 0,
"created": "2016-07-18T19:53:12",
"curator_payout_value": "0.000 HBD",
"depth": 2,
"json_metadata": "{\"tags\":[\"meta\"]}",
"last_payout": "2016-08-24T19:59:42",
"last_update": "2016-07-18T19:53:12",
"max_accepted_payout": "1000000.000 HBD",
"net_rshares": 853566876,
"parent_author": "admin",
"parent_permlink": "firstpost",
"pending_payout_value": "0.000 HBD",
"percent_steem_dollars": 10000,
"permlink": "re-admin-firstpost-20160718t195306992z",
"post_id": 125730,
"promoted": "0.000 HBD",
"replies": [],
"root_title": "Welcome to Steem!",
"title": "",
"total_payout_value": "0.000 HBD",
"url": "/meta/@steemit/firstpost#@gopher/re-admin-firstpost-20160718t195306992z"
}
]
[
{
"active_votes": [
{
"percent": "10000",
"reputation": 0,
"rshares": "742566481",
"voter": "patrick-g"
}
],
"author": "kingtylervvs",
"author_reputation": 0,
"beneficiaries": [],
"body": "PARTY PARTY.... P - A - R - T - Y????? BECAUSE I GOTTA!",
"body_length": 55,
"cashout_time": "1969-12-31T23:59:59",
"category": "meta",
"children": 0,
"created": "2016-07-17T19:38:12",
"curator_payout_value": "0.000 HBD",
"depth": 2,
"json_metadata": "{\"tags\":[\"meta\"]}",
"last_payout": "2016-08-24T19:59:42",
"last_update": "2016-07-17T19:38:12",
"max_accepted_payout": "1000000.000 HBD",
"net_rshares": 742566481,
"parent_author": "admin",
"parent_permlink": "firstpost",
"pending_payout_value": "0.000 HBD",
"percent_hbd": 10000,
"permlink": "re-admin-firstpost-20160717t193811098z",
"post_id": 151464,
"promoted": "0.000 HBD",
"replies": [],
"root_title": "Welcome to Steem!",
"title": "",
"total_payout_value": "0.000 HBD",
"url": "/meta/@steemit/firstpost#@kingtylervvs/re-admin-firstpost-20160717t193811098z"
},
{
"active_votes": [
{
"percent": "10000",
"reputation": 0,
"rshares": "742566481",
"voter": "patrick-g"
},
{
"percent": "10000",
"reputation": 0,
"rshares": "111000395",
"voter": "bustillos"
}
],
"author": "gopher",
"author_reputation": 0,
"beneficiaries": [],
"body": "Are you admin in steem? If you have been hacked, who can help you?",
"body_length": 66,
"cashout_time": "1969-12-31T23:59:59",
"category": "meta",
"children": 0,
"created": "2016-07-18T19:53:12",
"curator_payout_value": "0.000 HBD",
"depth": 2,
"json_metadata": "{\"tags\":[\"meta\"]}",
"last_payout": "2016-08-24T19:59:42",
"last_update": "2016-07-18T19:53:12",
"max_accepted_payout": "1000000.000 HBD",
"net_rshares": 853566876,
"parent_author": "admin",
"parent_permlink": "firstpost",
"pending_payout_value": "0.000 HBD",
"percent_hbd": 10000,
"permlink": "re-admin-firstpost-20160718t195306992z",
"post_id": 172339,
"promoted": "0.000 HBD",
"replies": [],
"root_title": "Welcome to Steem!",
"title": "",
"total_payout_value": "0.000 HBD",
"url": "/meta/@steemit/firstpost#@gopher/re-admin-firstpost-20160718t195306992z"
}
]
---
test_name: Hivemind tags_api.get_content_replies patterns test
marks:
- patterntest
includes:
- !include ../../common.yaml
stages:
- name: get_content_replies
request:
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "tags_api.get_content_replies"
params: {"author":"admin", "permlink":"firstpost"}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "author_permlink"
directory: "tags_api_patterns/get_content_replies"
\ No newline at end of file
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