app.bsky.actor.getPreferences
GET/xrpc/app.bsky.actor.getPreferences
This endpoint is part of the Bluesky application Lexicon APIs (app.bsky.*
). Public endpoints which don't require authentication can be made directly against the public Bluesky AppView API: https://public.api.bsky.app. Authenticated requests are usually made to the user's PDS, with automatic service proxying. Authenticated requests can be used for both public and non-public endpoints.
To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.
Get private preferences attached to the current account. Expected use is synchronization between multiple devices, and import/export during account migration. Requires auth.
Request
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
- app.bsky.actor.defs.adultContentPref
- app.bsky.actor.defs.contentLabelPref
- app.bsky.actor.defs.savedFeedsPref
- app.bsky.actor.defs.savedFeedsPrefV2
- app.bsky.actor.defs.personalDetailsPref
- app.bsky.actor.defs.feedViewPref
- app.bsky.actor.defs.threadViewPref
- app.bsky.actor.defs.interestsPref
- app.bsky.actor.defs.mutedWordsPref
- app.bsky.actor.defs.hiddenPostsPref
- app.bsky.actor.defs.bskyAppStatePref
- app.bsky.actor.defs.labelersPref
Array [
]
Array [
]
Array [
]
Array [
]
]
preferences
object[]
required
oneOf
Which labeler does this preference apply to? If undefined, applies globally.
Possible values: [ignore
, show
, warn
, hide
]
items
object[]
required
Possible values: [feed
, list
, timeline
]
The birth date of account owner.
The URI of the feed, or an identifier which describes the feed.
Hide replies in the feed.
Default value: true
Hide replies in the feed if they are not by followed users.
Hide reposts in the feed.
Hide quote posts in the feed.
Possible values: [oldest
, newest
, most-likes
, random
]
Sorting mode for threads.
Show followed users at the top of all replies.
Possible values: <= 100
items
object[]
required
Possible values: <= 10000 characters
The muted word itself.
Possible values: <= 640 characters
, [content
, tag
]
Possible values: [all
, exclude-following
]
Default value: all
Groups of users to apply the muted word to. If undefined, applies to all users.
The date and time at which the muted word will expire and no longer be applied.
activeProgressGuide
object
If set, an active progress guide. Once completed, can be set to undefined. Should have unspecced fields tracking progress.
Possible values: <= 100 characters
Possible values: <= 1000
nuxs
object[]
Possible values: < 100
Possible values: <= 100 characters
Possible values: <= 3000 characters
Arbitrary data for the NUX. The structure is defined by the NUX itself. Limited to 300 characters.
The date and time at which the NUX will expire and should be considered completed.
labelers
object[]
required
{
"preferences": [
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [InvalidRequest
, ExpiredToken
, InvalidToken
]
{
"error": "InvalidRequest",
"message": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "string"
}