access token from OAuth2 authorization
UserAgent is specified in header on request.
Proxy setting, or set false if don't use proxy.
POST /api/v1/follow_requests/:id/authorize
Relationship.
Target account ID.
POST /api/v1/accounts/:id/block
Relationship
The account ID.
Call /api/v1/apps
Create an application.
your application's name
Form Data
POST /api/v1/featured_tags
FeaturedTag.
Target hashtag name.
POST /api/v1/filters
Filter
Text to be filtered.
Array of enumerable strings home, notifications, public, thread, account. At least one context must be specified.
Optional
options: { Optional
expires_Optional
irreversible?: booleanOptional
whole_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
POST /api/v1/accounts/:id/follow
Relationship
The account ID.
Optional
options: { Optional
reblog?: booleanGenerate 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
Array of statuses.
Target account ID.
Optional
options: { Optional
limit?: numberOptional
max_Optional
since_GET /api/v1/accounts/:id/followers
The array of accounts.
The account ID.
Optional
options: { Optional
limit?: numberOptional
max_Optional
since_GET /api/v1/accounts/:id/following
The array of accounts.
The account ID.
Optional
options: { Optional
limit?: numberOptional
max_Optional
since_GET /api/v1/accounts/:id/statuses
Account's statuses.
The account ID.
Optional
options: { Optional
exclude_Optional
exclude_Optional
limit?: numberOptional
max_Optional
only_Optional
pinned?: booleanOptional
since_GET /api/v1/lists/:id/accounts
Array of accounts.
Target list ID.
Optional
options: { Optional
limit?: numberOptional
max_Optional
since_GET /api/v1/blocks
Array of accounts.
Optional
options: { Optional
limit?: numberOptional
max_Optional
min_GET /api/v1/bookmarks
Array of statuses.
Optional
options: { Optional
limit?: numberOptional
max_Optional
min_Optional
since_GET /api/v1/conversations
Array of statuses.
Optional
options: { Optional
limit?: numberOptional
max_Optional
min_Optional
since_GET /api/v1/domain_blocks
Array of domain name.
Optional
options: { Optional
limit?: numberOptional
max_Optional
min_GET /api/v1/endorsements
Array of accounts.
Optional
options: { Optional
limit?: numberOptional
max_Optional
since_GET /api/v1/favourites
Array of statuses.
Optional
options: { Optional
limit?: numberOptional
max_Optional
min_GET /api/v1/featured_tags
Array of featured tag.
GET /api/v1/timelines/home
Array of statuses.
Optional
options: { Optional
limit?: numberOptional
local?: booleanOptional
max_Optional
min_Optional
since_GET /api/v1/accounts/:id/identity_proofs
Array of IdentityProof
The account ID.
GET /api/v1/directory
Array of accounts.
Optional
options: { Optional
limit?: numberOptional
local?: booleanOptional
offset?: numberOptional
order?: "active" | "new"GET /api/v1/timelines/list/:list_id
Array of statuses.
Local ID of the list in the database.
Optional
options: { Optional
limit?: numberOptional
max_Optional
min_Optional
since_GET /api/v1/timelines/public
Array of statuses.
Optional
options: { Optional
limit?: numberOptional
max_Optional
min_Optional
only_Optional
since_GET /api/v1/media/:id
Attachment
Target media ID.
GET /api/v1/mutes
Array of accounts.
Optional
options: { Optional
limit?: numberOptional
max_Optional
min_GET /api/v1/notifications/:id
Notification.
Target notification ID.
GET /api/v1/notifications
Array of notifications.
Optional
options: { Optional
account_Optional
exclude_Optional
limit?: numberOptional
max_Optional
min_Optional
since_GET /api/v1/preferences
Preferences.
GET /api/v1/timelines/public
Array of statuses.
Optional
options: { Optional
limit?: numberOptional
max_Optional
min_Optional
only_Optional
since_GET /api/v1/push/subscription
PushSubscription.
GET /api/v1/accounts/relationships
Relationship
The account ID.
Get multiple relationships in one method
Array of Relationship.
Array of account IDs.
GET /api/v1/scheduled_statuses/:id
ScheduledStatus.
Target status ID.
GET /api/v1/scheduled_statuses
Array of scheduled statuses.
Optional
options: { Optional
limit?: null | numberOptional
max_Optional
min_Optional
since_GET /api/v1/statuses/:id/context
Get parent and child statuses.
Context
The target status id.
Optional
options: { Optional
limit?: numberOptional
max_Optional
since_GET /api/v1/timelines/tag/:hashtag
Array of statuses.
Content of a #hashtag, not including # symbol.
Optional
options: { Optional
limit?: numberOptional
local?: booleanOptional
max_Optional
min_Optional
only_Optional
since_POST /api/v1/accounts/:id/mute
Relationship
The account ID.
Mute notifications in addition to statuses.
POST /api/v1/accounts/:id/pin
Relationship
The account ID.
POST /api/v1/statuses
Status
Text content of status.
Optional
in_Optional
language?: stringOptional
media_Optional
poll?: { Optional
hide_Optional
multiple?: booleanOptional
scheduled_Optional
sensitive?: booleanOptional
spoiler_Optional
visibility?: "direct" | "private" | "public" | "unlisted"POST /api/v1/conversations/:id/read
Conversation.
Target conversation ID.
POST /api/v1/pleroma/notifcations/read
Array of notifications
Optional
id?: stringOptional
max_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
An account token.
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.
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/follow_requests/:id/reject
Relationship.
Target account ID.
POST /api/v1/reports
Report
Target account ID.
Reason of the report.
Optional
options: { Optional
forward?: booleanOptional
status_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
Marker.
Optional
options: { Optional
home?: { Optional
notifications?: { PUT /api/v1/scheduled_statuses/:id
ScheduledStatus.
Target scheduled status ID.
Optional
scheduled_at: null | stringISO 8601 Datetime at which the status will be published.
GET /api/v2/search
Results.
The search query.
Enum of search target.
Optional
options: { Optional
account_Optional
exclude_Optional
following?: booleanOptional
limit?: numberOptional
max_Optional
min_Optional
offset?: numberOptional
resolve?: booleanGET /api/v1/accounts/search
The array of accounts.
Search query.
Optional
options: { Optional
following?: booleanOptional
limit?: numberOptional
max_Optional
resolve?: booleanOptional
since_POST /api/v1/pleroma/accounts/:id/subscribe
Relationship.
Target account ID.
POST /api/v1/push/subscription
PushSubscription.
Optional
data: null | { POST /api/v1/accounts/:id/unblock
RElationship
The account ID.
POST /api/v1/accounts/:id/unfollow
Relationship
The account ID.
POST /api/v1/accounts/:id/unmute
Relationship
The account ID.
POST /api/v1/accounts/:id/unpin
Relationship
The account ID.
POST /api/v1/pleroma/accounts/:id/unsubscribe
Relationship.
Target account ID.
PATCH /api/v1/accounts/update_credentials
An account.
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?: booleanPUT /api/v1/filters/:id
Filter
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_Optional
irreversible?: booleanOptional
whole_PUT /api/v1/media/:id
Attachment
Target media ID.
Optional
options: { Optional
description?: stringOptional
file?: anyOptional
focus?: stringPUT /api/v1/push/subscription
PushSubscription.
Optional
data: null | { POST /api/v2/media
Attachment
The file to be attached, using multipart form data.
Optional
options: { Optional
description?: stringOptional
focus?: stringGET /api/v1/apps/verify_credentials
An Application
Generated using TypeDoc
hostname or base URL