lookupPublicTimeline abstract method
Read and view timelines of statuses.
Parameters
-
onlyLocal
: Show only local statuses? Defaults to false. -
onlyRemote
: Show only remote statuses? Defaults to false. -
onlyMedia
: Show only statuses with media attached? Defaults to false. -
maxStatusId
: Return results older than ID. -
minStatusId
: Return results immediately newer than ID. -
sinceStatusId
: Return results newer than ID. -
limit
: Maximum number of results to return. Defaults to 20. Max 40.
Endpoint Url
- GET /api/v1/timelines/public HTTP/1.1
Authentication Methods
- Anonymous
- OAuth 2.0
Required Scopes
- read:statuses (if the instance has disabled public preview)
Reference
Implementation
Future<MastodonResponse<List<Status>>> lookupPublicTimeline({
bool? onlyLocal,
bool? onlyRemote,
bool? onlyMedia,
String? maxStatusId,
String? minStatusId,
String? sinceStatusId,
int? limit,
});