We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
limit
1 parent e52beda commit 26dfa3dCopy full SHA for 26dfa3d
Sources/Lemmy-Swift-Client/Lemmy API/Requests/GetPosts.swift
@@ -17,6 +17,11 @@ public struct GetPostsRequest: APIRequest {
17
public let community_id: Int?
18
/// To get posts for a federated community by name, use `name@instance.tld`.
19
public let community_name: String?
20
+ /// The maximum number of posts to retrieve.
21
+ ///
22
+ /// It is possible that less posts will be returned if the maximum is greater than the number of posts available.
23
24
+ /// The server will throw a `couldnt_get_posts` error if you pass in a limit greater than 50.
25
public let limit: Int?
26
public let page: Int?
27
public let saved_only: Bool?
0 commit comments