createPinnedStatus abstract method

Future<MastodonResponse<Status>> createPinnedStatus({
  1. required String statusId,
})

Feature one of your own public statuses at the top of your profile.

Parameters

  • statusId: The local ID of the Status in the database. The status should be authored by the authorized account.

Endpoint Url

  • POST /api/v1/statuses/:id/pin HTTP/1.1

Authentication Methods

  • OAuth 2.0

Required Scopes

  • write:accounts

Reference

Implementation

Future<MastodonResponse<Status>> createPinnedStatus({
  required String statusId,
});