Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Marc Feger
The Social Network
Commits
d82ff25f
Commit
d82ff25f
authored
Dec 07, 2021
by
Andreas Burbach
Browse files
update readme
parent
97361056
Pipeline
#76058
passed with stages
in 3 minutes and 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
social_network/README.md
View file @
d82ff25f
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment