lookupPublicTimeline abstract method

Future<MastodonResponse<List<Status>>> lookupPublicTimeline({
  1. bool? onlyLocal,
  2. bool? onlyRemote,
  3. bool? onlyMedia,
  4. String? maxStatusId,
  5. String? minStatusId,
  6. String? sinceStatusId,
  7. int? limit,
})

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,
});