Skip to content

Commit

Permalink
Extend getbarteronfeed to contain likes and comments for offers
Browse files Browse the repository at this point in the history
  • Loading branch information
lostystyg committed Oct 23, 2023
1 parent a78da07 commit 734714f
Showing 1 changed file with 24 additions and 5 deletions.
29 changes: 24 additions & 5 deletions components/en/developers/modules/ROOT/pages/barteron.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -178,13 +178,32 @@ Barteron транзакции имеют переходную форму пер
> /rpc/getbarteronfeed <REQUEST_JSON>
{
"result": "success",
"data": [
{ offer_instance },
{ offer_instance },
...
]
"data": {
"offers": [
{ offer_instance },
{ offer_instance },
...
],
"offerScores": [
{ score_tx },
{ score_tx },
...
],
"comments": [
{ comment_tx },
{ comment_tx },
...
],
"commentScores": [
{ comment_score_tx },
{ comment_score_tx },
...
]
}
}
"offer_instance", "score_tx", "comment_tx", "comment_score_tx" are just raw transactions and relations between them should be built on client side.
<REQUEST_JSON>
{
Expand Down

0 comments on commit 734714f

Please sign in to comment.