@atproto/api
Version:
Client library for atproto and Bluesky
592 lines (570 loc) • 16.3 kB
JSON
{
"users": {
"self": {
"blocking": false,
"blockingByList": false,
"blockedBy": false,
"muted": false,
"mutedByList": false
},
"alice": {
"blocking": false,
"blockingByList": false,
"blockedBy": false,
"muted": false,
"mutedByList": false
},
"bob": {
"blocking": true,
"blockingByList": false,
"blockedBy": false,
"muted": false,
"mutedByList": false
},
"carla": {
"blocking": false,
"blockingByList": false,
"blockedBy": true,
"muted": false,
"mutedByList": false
},
"dan": {
"blocking": false,
"blockingByList": false,
"blockedBy": false,
"muted": true,
"mutedByList": false
},
"elise": {
"blocking": false,
"blockingByList": false,
"blockedBy": false,
"muted": false,
"mutedByList": true
},
"fern": {
"blocking": true,
"blockingByList": false,
"blockedBy": true,
"muted": false,
"mutedByList": false
},
"georgia": {
"blocking": false,
"blockingByList": true,
"blockedBy": false,
"muted": false,
"mutedByList": false
}
},
"configurations": {
"none": {},
"adult-disabled": {
"adultContentEnabled": false
},
"intolerant-hide": {
"settings": { "intolerant": "hide" }
},
"intolerant-warn": {
"settings": { "intolerant": "warn" }
},
"intolerant-ignore": {
"settings": { "intolerant": "ignore" }
},
"porn-hide": {
"adultContentEnabled": true,
"settings": { "porn": "hide" }
},
"porn-warn": {
"adultContentEnabled": true,
"settings": { "porn": "warn" }
},
"porn-ignore": {
"adultContentEnabled": true,
"settings": { "porn": "ignore" }
},
"scam-hide": {
"settings": { "scam": "hide" }
},
"scam-warn": {
"settings": { "scam": "warn" }
},
"scam-ignore": {
"settings": { "scam": "ignore" }
},
"intolerant-hide-scam-warn": {
"settings": { "intolerant": "hide", "scam": "hide" }
},
"logged-out": {
"authed": false
}
},
"scenarios": {
"Imperative label ('!hide') on account": {
"cfg": "none",
"subject": "profile",
"author": "alice",
"labels": { "account": ["!hide"] },
"behaviors": {
"account": {
"cause": "label:!hide",
"filter": true,
"blur": true,
"noOverride": true
},
"avatar": { "blur": true, "noOverride": true }
}
},
"Imperative label ('!hide') on profile": {
"cfg": "none",
"subject": "profile",
"author": "alice",
"labels": { "profile": ["!hide"] },
"behaviors": {
"profile": { "cause": "label:!hide", "blur": true, "noOverride": true },
"avatar": { "blur": true, "noOverride": true }
}
},
"Imperative label ('!no-promote') on account": {
"cfg": "none",
"subject": "profile",
"author": "alice",
"labels": { "account": ["!no-promote"] },
"behaviors": {
"account": { "cause": "label:!no-promote", "filter": true }
}
},
"Imperative label ('!no-promote') on profile": {
"cfg": "none",
"subject": "profile",
"author": "alice",
"labels": { "profile": ["!no-promote"] },
"behaviors": {}
},
"Imperative label ('!warn') on account": {
"cfg": "none",
"subject": "profile",
"author": "alice",
"labels": { "account": ["!warn"] },
"behaviors": {
"account": { "cause": "label:!warn", "blur": true },
"avatar": { "blur": true }
}
},
"Imperative label ('!warn') on profile": {
"cfg": "none",
"subject": "profile",
"author": "alice",
"labels": { "profile": ["!warn"] },
"behaviors": {
"profile": { "cause": "label:!warn", "blur": true },
"avatar": { "blur": true }
}
},
"Imperative label ('!no-unauthenticated') on account when logged out": {
"cfg": "logged-out",
"subject": "profile",
"author": "alice",
"labels": { "account": ["!no-unauthenticated"] },
"behaviors": {
"account": {
"cause": "label:!no-unauthenticated",
"filter": true,
"blur": true,
"noOverride": true
},
"avatar": { "blur": true, "noOverride": true }
}
},
"Imperative label ('!no-unauthenticated') on profile when logged out": {
"cfg": "logged-out",
"subject": "profile",
"author": "alice",
"labels": { "profile": ["!no-unauthenticated"] },
"behaviors": {
"profile": {
"cause": "label:!no-unauthenticated",
"blur": true,
"noOverride": true
},
"avatar": { "blur": true, "noOverride": true }
}
},
"Imperative label ('!no-unauthenticated') on account when logged in": {
"cfg": "none",
"subject": "profile",
"author": "alice",
"labels": { "account": ["!no-unauthenticated"] },
"behaviors": {}
},
"Imperative label ('!no-unauthenticated') on profile when logged in": {
"cfg": "none",
"subject": "profile",
"author": "alice",
"labels": { "profile": ["!no-unauthenticated"] },
"behaviors": {}
},
"Blur label ('intolerant') on account (hide)": {
"cfg": "intolerant-hide",
"subject": "profile",
"author": "alice",
"labels": { "account": ["intolerant"] },
"behaviors": {
"account": {
"cause": "label:intolerant",
"filter": true,
"blur": true
},
"avatar": { "blur": true }
}
},
"Blur label ('intolerant') on profile (hide)": {
"cfg": "intolerant-hide",
"subject": "profile",
"author": "alice",
"labels": { "profile": ["intolerant"] },
"behaviors": {
"profile": { "cause": "label:intolerant", "blur": true },
"avatar": { "blur": true }
}
},
"Blur label ('intolerant') on account (warn)": {
"cfg": "intolerant-warn",
"subject": "profile",
"author": "alice",
"labels": { "account": ["intolerant"] },
"behaviors": {
"account": { "cause": "label:intolerant", "blur": true },
"avatar": { "blur": true }
}
},
"Blur label ('intolerant') on profile (warn)": {
"cfg": "intolerant-warn",
"subject": "profile",
"author": "alice",
"labels": { "profile": ["intolerant"] },
"behaviors": {
"profile": { "cause": "label:intolerant", "blur": true },
"avatar": { "blur": true }
}
},
"Blur label ('intolerant') on account (ignore)": {
"cfg": "intolerant-ignore",
"subject": "profile",
"author": "alice",
"labels": { "account": ["intolerant"] },
"behaviors": {}
},
"Blur label ('intolerant') on profile (ignore)": {
"cfg": "intolerant-ignore",
"subject": "profile",
"author": "alice",
"labels": { "profile": ["intolerant"] },
"behaviors": {}
},
"Blur-media label ('porn') on account (hide)": {
"cfg": "porn-hide",
"subject": "profile",
"author": "alice",
"labels": { "account": ["porn"] },
"behaviors": {
"account": { "cause": "label:porn", "filter": true, "blur": true },
"avatar": { "blur": true }
}
},
"Blur-media label ('porn') on profile (hide)": {
"cfg": "porn-hide",
"subject": "profile",
"author": "alice",
"labels": { "profile": ["porn"] },
"behaviors": {
"avatar": { "blur": true }
}
},
"Blur-media label ('porn') on account (warn)": {
"cfg": "porn-warn",
"subject": "profile",
"author": "alice",
"labels": { "account": ["porn"] },
"behaviors": {
"account": { "cause": "label:porn", "blur": true },
"avatar": { "blur": true }
}
},
"Blur-media label ('porn') on profile (warn)": {
"cfg": "porn-warn",
"subject": "profile",
"author": "alice",
"labels": { "profile": ["porn"] },
"behaviors": {
"avatar": { "blur": true }
}
},
"Blur-media label ('porn') on account (ignore)": {
"cfg": "porn-ignore",
"subject": "profile",
"author": "alice",
"labels": { "account": ["porn"] },
"behaviors": {}
},
"Blur-media label ('porn') on profile (ignore)": {
"cfg": "porn-ignore",
"subject": "profile",
"author": "alice",
"labels": { "profile": ["porn"] },
"behaviors": {}
},
"Notice label ('scam') on account (hide)": {
"cfg": "scam-hide",
"subject": "profile",
"author": "alice",
"labels": { "account": ["scam"] },
"behaviors": {
"account": { "cause": "label:scam", "filter": true, "alert": true },
"avatar": { "alert": true }
}
},
"Notice label ('scam') on profile (hide)": {
"cfg": "scam-hide",
"subject": "profile",
"author": "alice",
"labels": { "profile": ["scam"] },
"behaviors": {
"profile": { "cause": "label:scam", "alert": true },
"avatar": { "alert": true }
}
},
"Notice label ('scam') on account (warn)": {
"cfg": "scam-warn",
"subject": "profile",
"author": "alice",
"labels": { "account": ["scam"] },
"behaviors": {
"account": { "cause": "label:scam", "alert": true },
"avatar": { "alert": true }
}
},
"Notice label ('scam') on profile (warn)": {
"cfg": "scam-warn",
"subject": "profile",
"author": "alice",
"labels": { "profile": ["scam"] },
"behaviors": {
"profile": { "cause": "label:scam", "alert": true },
"avatar": { "alert": true }
}
},
"Notice label ('scam') on account (ignore)": {
"cfg": "scam-ignore",
"subject": "profile",
"author": "alice",
"labels": { "account": ["scam"] },
"behaviors": {}
},
"Notice label ('scam') on profile (ignore)": {
"cfg": "scam-ignore",
"subject": "profile",
"author": "alice",
"labels": { "profile": ["scam"] },
"behaviors": {}
},
"Adult-only label on account when adult content is disabled": {
"cfg": "adult-disabled",
"subject": "profile",
"author": "alice",
"labels": { "account": ["porn"] },
"behaviors": {
"account": {
"cause": "label:porn",
"filter": true,
"blur": true,
"noOverride": true
},
"avatar": { "blur": true, "noOverride": true }
}
},
"Adult-only label on profile when adult content is disabled": {
"cfg": "adult-disabled",
"subject": "profile",
"author": "alice",
"labels": { "profile": ["porn"] },
"behaviors": {
"avatar": { "blur": true, "noOverride": true }
}
},
"Self-profile: !hide on account": {
"cfg": "none",
"subject": "profile",
"author": "self",
"labels": { "account": ["!hide"] },
"behaviors": {
"account": { "cause": "label:!hide", "alert": true },
"avatar": { "alert": true }
}
},
"Self-profile: !hide on profile": {
"cfg": "none",
"subject": "profile",
"author": "self",
"labels": { "profile": ["!hide"] },
"behaviors": {
"profile": { "cause": "label:!hide", "alert": true },
"avatar": { "alert": true }
}
},
"Mute/block: Blocking user": {
"cfg": "none",
"subject": "profile",
"author": "bob",
"labels": {},
"behaviors": {
"account": { "cause": "blocking", "filter": true },
"avatar": { "blur": true, "noOverride": true }
}
},
"Mute/block: Blocking-by-list user": {
"cfg": "none",
"subject": "profile",
"author": "georgia",
"labels": {},
"behaviors": {
"account": { "cause": "blocking-by-list", "filter": true },
"avatar": { "blur": true, "noOverride": true }
}
},
"Mute/block: Blocked by user": {
"cfg": "none",
"subject": "profile",
"author": "carla",
"labels": {},
"behaviors": {
"account": { "cause": "blocked-by", "filter": true },
"avatar": { "blur": true, "noOverride": true }
}
},
"Mute/block: Muted user": {
"cfg": "none",
"subject": "profile",
"author": "dan",
"labels": {},
"behaviors": {
"account": { "cause": "muted", "filter": true }
}
},
"Mute/block: Muted-by-list user": {
"cfg": "none",
"subject": "profile",
"author": "elise",
"labels": {},
"behaviors": {
"account": { "cause": "muted-by-list", "filter": true }
}
},
"Prioritization: blocking & blocked-by user": {
"cfg": "none",
"subject": "profile",
"author": "fern",
"labels": {},
"behaviors": {
"account": { "cause": "blocking", "filter": true, "blur": false },
"avatar": { "blur": true, "noOverride": true }
}
},
"Prioritization: '!hide' label on account of blocked user": {
"cfg": "none",
"subject": "profile",
"author": "bob",
"labels": { "account": ["!hide"] },
"behaviors": {
"account": {
"cause": "label:!hide",
"filter": true,
"blur": true,
"noOverride": true
},
"avatar": { "blur": true, "noOverride": true }
}
},
"Prioritization: '!hide' and 'intolerant' labels on account (hide)": {
"cfg": "intolerant-hide",
"subject": "profile",
"author": "alice",
"labels": { "account": ["!hide", "intolerant"] },
"behaviors": {
"account": {
"cause": "label:!hide",
"filter": true,
"blur": true,
"noOverride": true
},
"avatar": { "blur": true, "noOverride": true }
}
},
"Prioritization: '!warn' and 'intolerant' labels on account (hide)": {
"cfg": "intolerant-hide",
"subject": "profile",
"author": "alice",
"labels": { "account": ["!warn", "intolerant"] },
"behaviors": {
"account": {
"cause": "label:intolerant",
"filter": true,
"blur": true
},
"avatar": { "blur": true }
}
},
"Prioritization: '!warn' and 'porn' labels on account (hide)": {
"cfg": "porn-hide",
"subject": "profile",
"author": "alice",
"labels": { "account": ["!warn", "porn"] },
"behaviors": {
"account": { "cause": "label:porn", "filter": true, "blur": true },
"avatar": { "blur": true }
}
},
"Prioritization: intolerant label on account (hide) and scam label on profile (warn)": {
"cfg": "intolerant-hide-scam-warn",
"subject": "profile",
"author": "alice",
"labels": { "account": ["intolerant"], "profile": ["scam"] },
"behaviors": {
"account": {
"cause": "label:intolerant",
"filter": true,
"blur": true
},
"profile": { "cause": "label:scam", "alert": true },
"avatar": { "blur": true, "alert": true }
}
},
"Prioritization: !hide on account, !warn on profile": {
"cfg": "none",
"subject": "profile",
"author": "alice",
"labels": { "account": ["!hide"], "profile": ["!warn"] },
"behaviors": {
"account": {
"cause": "label:!hide",
"filter": true,
"blur": true,
"noOverride": true
},
"profile": { "cause": "label:!warn", "blur": true },
"avatar": { "blur": true, "noOverride": true }
}
},
"Prioritization: !warn on account, !hide on profile": {
"cfg": "none",
"subject": "profile",
"author": "alice",
"labels": { "account": ["!warn"], "profile": ["!hide"] },
"behaviors": {
"account": { "cause": "label:!warn", "blur": true },
"profile": { "cause": "label:!hide", "blur": true, "noOverride": true },
"avatar": { "blur": true, "noOverride": true }
}
}
}
}