From d82ff25fc1fa357d0dc8af14aeb824558e4259a3 Mon Sep 17 00:00:00 2001 From: Andreas Burbach <aburbach@compeon.de> Date: Tue, 7 Dec 2021 13:47:06 +0100 Subject: [PATCH] update readme --- social_network/README.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/social_network/README.md b/social_network/README.md index af3e9bb..0395cf6 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 -- GitLab