POST /api/v1/filters
Text to be filtered.
Array of enumerable strings home, notifications, public, thread, account. At least one context must be specified.
Optional
options: { Optional
expires_ISO 8601 Datetime for when the filter expires.
Optional
irreversible?: booleanShould the server irreversibly drop matching entities from home and notifications?
Optional
whole_Consider word boundaries?
Filter
PUT /api/v1/statuses/:id * *
The target status id. *
Optional
media_Optional
poll?: { Optional
expires_Optional
hide_Optional
multiple?: booleanOptional
options?: string[]Optional
sensitive?: booleanOptional
spoiler_Optional
status?: stringStatus
POST /oauth/token
Fetch OAuth access token. Get an access token based client_id and client_secret and authorization code.
will be generated by #createApp or #registerApp
will be generated by #createApp or #registerApp
will be generated by the link of #generateAuthUrl or #registerApp
must be the same uri as the time when you register your OAuth application
Generate authorization url using OAuth2.
your OAuth app's client ID
your OAuth app's client Secret
as property, redirect_uri and scope are available, and must be the same as when you register your app
GET /api/v1/pleroma/accounts/:id/favourites
Target account ID.
Optional
options: { Optional
limit?: numberMax number of results to return.
Optional
max_Return results order than ID.
Optional
since_Return results newer than ID.
Array of statuses.
GET /api/v1/accounts/:id/followers
The account ID.
Optional
options: { Optional
limit?: numberMax number of results to return. Defaults to 40.
Optional
max_Return results older than ID.
Optional
since_Return results newer than ID.
The array of accounts.
GET /api/v1/accounts/:id/following
The account ID.
Optional
options: { Optional
limit?: numberMax number of results to return. Defaults to 40.
Optional
max_Return results older than ID.
Optional
since_Return results newer than ID.
The array of accounts.
GET /api/v1/lists/:id/accounts
Target list ID.
Optional
options: { Optional
limit?: numberMax number of results to return.
Optional
max_Return results older than ID.
Optional
since_Return results newer than ID.
Array of accounts.
GET /api/v1/accounts/:id/statuses
The account ID.
Optional
options: { Optional
exclude_Return statuses which exclude reblogs.
Optional
exclude_Return statuses which exclude replies.
Optional
limit?: numberMax number of results to return. Defaults to 20.
Optional
max_Return results older than ID.
Optional
only_Show only statuses with media attached? Defaults to false.
Optional
pinned?: booleanReturn statuses which include pinned statuses.
Optional
since_Return results newer than ID but starting with most recent.
Account's statuses.
GET /api/v1/blocks
Optional
options: { Optional
limit?: numberMax number of results to return. Defaults to 40.
Optional
max_Return results older than ID.
Optional
min_Return results immediately newer than ID.
Array of accounts.
GET /api/v1/bookmarks
Optional
options: { Optional
limit?: numberMax number of results to return. Defaults to 40.
Optional
max_Return results older than ID.
Optional
min_Return results immediately newer than ID.
Optional
since_Return results newer than ID.
Array of statuses.
GET /api/v1/conversations
Optional
options: { Optional
limit?: numberMax number of results to return. Defaults to 20.
Optional
max_Return results older than ID.
Optional
min_Return results immediately newer than ID.
Optional
since_Return results newer than ID.
Array of statuses.
GET /api/v1/domain_blocks
Optional
options: { Optional
limit?: numberMax number of results to return. Defaults to 40.
Optional
max_Return results older than ID.
Optional
min_Return results immediately newer than ID.
Array of domain name.
GET /api/v1/endorsements
Optional
options: { Optional
limit?: numberMax number of results to return. Defaults to 40.
Optional
max_Return results older than ID.
Optional
since_Return results newer than ID.
Array of accounts.
GET /api/v1/favourites
Optional
options: { Optional
limit?: numberMax number of results to return. Defaults to 40.
Optional
max_Return results older than ID.
Optional
min_Return results immediately newer than ID.
Array of statuses.
GET /api/v1/timelines/home
Optional
options: { Optional
limit?: numberMax number of results to return. Defaults to 20.
Optional
local?: booleanShow only local statuses? Defaults to false.
Optional
max_Return results older than ID.
Optional
min_Return results immediately newer than ID.
Optional
since_Return results newer than ID.
Array of statuses.
GET /api/v1/directory
Optional
options: { Optional
limit?: numberHow many accounts to load. Default 40.
Optional
local?: booleanOnly return local accounts.
Optional
offset?: numberHow many accounts to skip before returning results. Default 0.
Optional
order?: "active" | "new"Order of results.
Array of accounts.
GET /api/v1/timelines/list/:list_id
Local ID of the list in the database.
Optional
options: { Optional
limit?: numberMax number of results to return. Defaults to 20.
Optional
max_Return results older than ID.
Optional
min_Return results immediately newer than ID.
Optional
since_Return results newer than ID.
Array of statuses.
GET /api/v1/timelines/public
Optional
options: { Optional
limit?: numberMax number of results to return. Defaults to 20.
Optional
max_Return results older than ID.
Optional
min_Return results immediately newer than ID.
Optional
only_Show only statuses with media attached? Defaults to false.
Optional
since_Return results newer than ID.
Array of statuses.
GET /api/v1/mutes
Optional
options: { Optional
limit?: numberMax number of results to return. Defaults to 40.
Optional
max_Return results older than ID.
Optional
min_Return results immediately newer than ID.
Array of accounts.
GET /api/v1/notifications
Optional
options: { Optional
account_Return only notifications received from this account.
Optional
exclude_Array of types to exclude.
Optional
limit?: numberMax number of results to return. Defaults to 20.
Optional
max_Return results older than ID.
Optional
min_Return results immediately newer than ID.
Optional
since_Return results newer than ID.
Array of notifications.
GET /api/v1/timelines/public
Optional
options: { Optional
limit?: numberMax number of results to return. Defaults to 20.
Optional
max_Return results older than ID.
Optional
min_Return results immediately newer than ID.
Optional
only_Show only statuses with media attached? Defaults to false.
Optional
since_Return results newer than ID.
Array of statuses.
GET /api/v1/scheduled_statuses
Optional
options: { Optional
limit?: null | numberMax number of results to return. Defaults to 20.
Optional
max_Return results older than ID.
Optional
min_Return results immediately newer than ID.
Optional
since_Return results newer than ID.
Array of scheduled statuses.
GET /api/v1/statuses/:id/context
Get parent and child statuses.
The target status id.
Optional
options: { Optional
limit?: numberOptional
max_Optional
since_Context
GET /api/v1/timelines/tag/:hashtag
Content of a #hashtag, not including # symbol.
Optional
options: { Optional
limit?: numberMax number of results to return. Defaults to 20.
Optional
local?: booleanShow only local statuses? Defaults to false.
Optional
max_Return results older than ID.
Optional
min_Return results immediately newer than ID.
Optional
only_Show only statuses with media attached? Defaults to false.
Optional
since_Return results newer than ID.
Array of statuses.
POST /api/v1/statuses
Text content of status.
Optional
in_ID of the status being replied to, if status is a reply.
Optional
language?: stringISO 639 language code for this status.
Optional
media_Array of Attachment ids.
Optional
poll?: { Poll object.
Optional
hide_Optional
multiple?: booleanOptional
quote_ID of the status being quoted to, if status is a quote.
Optional
scheduled_ISO 8601 Datetime at which to schedule a status.
Optional
sensitive?: booleanMark status and attached media as sensitive?
Optional
spoiler_Text to be shown as a warning or subject before the actual content.
Optional
visibility?: Visibility of the posted status.
Status. When options.scheduled_at is present, ScheduledStatus is returned instead.
POST /oauth/token
Refresh OAuth access token. Send refresh token and get new access token.
will be generated by #createApp or #registerApp
will be generated by #createApp or #registerApp
will be get #fetchAccessToken
POST /api/v1/accounts
Username for the account.
Email for the account.
Password for the account.
Whether the user agrees to the local rules, terms, and policies.
The language of the confirmation email that will be sent
Optional
reason: null | stringText that will be reviewed by moderators if registrations require manual approval.
An account token.
First, call createApp to get client_id and client_secret. Next, call generateAuthUrl to get authorization url.
Form Data, which is sent to /api/v1/apps
Form Data, which is sent to /api/v1/apps. and properties should be snake_case
POST /api/v1/reports
Target account ID.
Optional
options: { Optional
category?: CategorySpecify if the report is due to spam, violation of enumerated instance rules, or some other reason. Defaults to other. Will be set to violation if rule_ids[] is provided (regardless of any category value you provide).
The reason for the report. Default maximum of 1000 characters.
Optional
forward?: booleanIf the account is remote, should the report be forwarded to the remote admin?
Optional
rule_For violation category reports, specify the ID of the exact rules broken. Rules and their IDs are available via GET /api/v1/instance/rules and GET /api/v1/instance.
Optional
status_Array of Statuses ids to attach to the report.
Report
POST /oauth/revoke
Revoke an OAuth token.
will be generated by #createApp or #registerApp
will be generated by #createApp or #registerApp
will be get #fetchAccessToken
POST /api/v1/markers
Optional
options: { Optional
home?: { Marker position of the last read status ID in home timeline.
Optional
notifications?: { Marker position of the last read notification ID in notifications.
Marker.
PUT /api/v1/scheduled_statuses/:id
Target scheduled status ID.
Optional
scheduled_at: null | stringISO 8601 Datetime at which the status will be published.
ScheduledStatus.
GET /api/v2/search
The search query.
Optional
options: { Optional
account_If provided, statuses returned will be authored only by this account.
Optional
exclude_Filter out unreviewed tags? Defaults to false.
Optional
following?: booleanOnly include accounts that the user is following. Defaults to false.
Optional
limit?: numberMaximum number of results to load, per type. Defaults to 20. Max 40.
Optional
max_Return results older than this id.
Optional
min_Return results immediately newer than this id.
Optional
offset?: numberOptional
resolve?: booleanAttempt WebFinger lookup. Defaults to false.
Optional
type?: "accounts" | "hashtags" | "statuses"Enum of search target.
Results.
GET /api/v1/accounts/search
Search query.
Optional
options: { Optional
following?: booleanOptional
limit?: numberMax number of results to return. Defaults to 40.
Optional
max_Return results older than ID.
Optional
resolve?: booleanOptional
since_Return results newer than ID.
The array of accounts.
POST /api/v1/push/subscription
Optional
data: null | { PushSubscription.
PATCH /api/v1/accounts/update_credentials
Optional
options: { Optional
avatar?: stringOptional
bot?: booleanOptional
discoverable?: booleanOptional
display_Optional
fields_Optional
header?: stringOptional
locked?: booleanOptional
note?: stringOptional
source?: { Optional
language?: stringOptional
privacy?: stringOptional
sensitive?: booleanAn account.
PUT /api/v1/filters/:id
The filter ID.
Text to be filtered.
Array of enumerable strings home, notifications, public, thread, account. At least one context must be specified.
Optional
options: { Optional
expires_ISO 8601 Datetime for when the filter expires.
Optional
irreversible?: booleanShould the server irreversibly drop matching entities from home and notifications?
Optional
whole_Consider word boundaries?
Filter
PUT /api/v1/media/:id
Target media ID.
Optional
options: { Optional
description?: stringA plain-text description of the media.
Optional
file?: anyThe file to be attached, using multipart form data.
Optional
focus?: stringTwo floating points (x,y), comma-delimited, ranging from -1.0 to 1.0.
Attachment
POST /api/v2/media
The file to be attached, using multipart form data.
Optional
options: { Optional
description?: stringA plain-text description of the media.
Optional
focus?: stringTwo floating points (x,y), comma-delimited, ranging from -1.0 to 1.0.
Attachment
hostname or base URL