diff --git a/social_network/README.md b/social_network/README.md index af3e9bb3c6329d65a38d612bbabc3e540ea4d406..0395cf63800fa10d9a03140641258bffb3711ecf 100644 --- a/social_network/README.md +++ b/social_network/README.md @@ -304,6 +304,37 @@ Responsebody: ] ``` +##### GET url: ".../contents/statements/feed/pagination" +Get statements of the accounts that are followed by the user + +Requestbody: None +Queryparameters: "?page=<page_number>&size=<number_of_statements_per_page>" +Responsebody: +```json +{ + "total": ..., + "data": [ + { + "id": ..., + "author": { + "user": { + "id": ..., + "username": "..." + }, + "image": "..." + }, + "content": "...", + "tagged": [], + "mentioned": [], + "created": "...", + "relation_to_parent": ..., + "reactions": [] + }, + ... + ] +} +``` + ##### GET url: ".../contents/trending/hashtag/" Get all trending hashtags which are most used in statements