Download OpenAPI specification:
A javascript / typescript client for Lemmy
{- "image_upload_disabled": true,
- "blocked_urls": [
- {
- "updated": "string",
- "published": "string",
- "url": "string",
- "id": 0.1
}
], - "admin_oauth_providers": [
- {
- "use_pkce": true,
- "updated": "string",
- "published": "string",
- "enabled": true,
- "account_linking_enabled": true,
- "auto_verify_email": true,
- "scopes": "string",
- "client_id": "string",
- "id_claim": "string",
- "userinfo_endpoint": "string",
- "token_endpoint": "string",
- "authorization_endpoint": "string",
- "issuer": "string",
- "display_name": "string",
- "id": 0.1
}
], - "oauth_providers": [
- {
- "use_pkce": true,
- "updated": "string",
- "published": "string",
- "enabled": true,
- "account_linking_enabled": true,
- "auto_verify_email": true,
- "scopes": "string",
- "client_id": "string",
- "id_claim": "string",
- "userinfo_endpoint": "string",
- "token_endpoint": "string",
- "authorization_endpoint": "string",
- "issuer": "string",
- "display_name": "string",
- "id": 0.1
}
], - "tagline": {
- "updated": "string",
- "published": "string",
- "content": "string",
- "id": 0.1
}, - "discussion_languages": [
- 0.1
], - "all_languages": [
- {
- "name": "string",
- "code": "string",
- "id": 0.1
}
], - "version": "string",
- "admins": [
- {
- "is_admin": true,
- "counts": {
- "published": "string",
- "comment_count": 0.1,
- "post_count": 0.1,
- "person_id": 0.1
}, - "person": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}
}
], - "site_view": {
- "counts": {
- "users_active_half_year": 0.1,
- "users_active_month": 0.1,
- "users_active_week": 0.1,
- "users_active_day": 0.1,
- "communities": 0.1,
- "comments": 0.1,
- "posts": 0.1,
- "users": 0.1,
- "site_id": 0.1
}, - "local_site_rate_limit": {
- "import_user_settings_per_second": 0.1,
- "import_user_settings": 0.1,
- "updated": "string",
- "published": "string",
- "search_per_second": 0.1,
- "search": 0.1,
- "comment_per_second": 0.1,
- "comment": 0.1,
- "image_per_second": 0.1,
- "image": 0.1,
- "register_per_second": 0.1,
- "register": 0.1,
- "post_per_second": 0.1,
- "post": 0.1,
- "message_per_second": 0.1,
- "message": 0.1,
- "local_site_id": 0.1
}, - "local_site": {
- "default_post_time_range_seconds": 0.1,
- "disable_donation_dialog": true,
- "comment_downvotes": "All",
- "comment_upvotes": "All",
- "post_downvotes": "All",
- "post_upvotes": "All",
- "oauth_registration": true,
- "default_comment_sort_type": "Hot",
- "default_post_sort_type": "Active",
- "default_post_listing_mode": "List",
- "federation_signed_fetch": true,
- "reports_email_admins": true,
- "registration_mode": "Closed",
- "updated": "string",
- "published": "string",
- "captcha_difficulty": "string",
- "captcha_enabled": true,
- "federation_enabled": true,
- "actor_name_max_length": 0.1,
- "slur_filter_regex": "string",
- "application_email_admins": true,
- "hide_modlog_mod_names": true,
- "legal_information": "string",
- "default_post_listing_type": "All",
- "default_theme": "string",
- "private_instance": true,
- "application_question": "string",
- "require_email_verification": true,
- "community_creation_admin_only": true,
- "site_setup": true,
- "site_id": 0.1,
- "id": 0.1
}, - "site": {
- "content_warning": "string",
- "instance_id": 0.1,
- "public_key": "string",
- "inbox_url": "string",
- "last_refreshed_at": "string",
- "ap_id": "string",
- "description": "string",
- "banner": "string",
- "icon": "string",
- "updated": "string",
- "published": "string",
- "sidebar": "string",
- "name": "string",
- "id": 0.1
}
}
}
disable_donation_dialog | boolean |
comment_downvotes | string (FederationMode) Enum: "All" "Local" "Disable" The federation mode for an item |
comment_upvotes | string (FederationMode) Enum: "All" "Local" "Disable" The federation mode for an item |
post_downvotes | string (FederationMode) Enum: "All" "Local" "Disable" The federation mode for an item |
post_upvotes | string (FederationMode) Enum: "All" "Local" "Disable" The federation mode for an item |
content_warning | string |
oauth_registration | boolean |
registration_mode | string (RegistrationMode) Enum: "Closed" "RequireApplication" "Open" The registration mode for your site. Determines what happens after a user signs up. |
captcha_difficulty | string |
captcha_enabled | boolean |
federation_enabled | boolean |
rate_limit_search_per_second | number <double> |
rate_limit_search | number <double> |
rate_limit_comment_per_second | number <double> |
rate_limit_comment | number <double> |
rate_limit_image_per_second | number <double> |
rate_limit_image | number <double> |
rate_limit_register_per_second | number <double> |
rate_limit_register | number <double> |
rate_limit_post_per_second | number <double> |
rate_limit_post | number <double> |
rate_limit_message_per_second | number <double> |
rate_limit_message | number <double> |
actor_name_max_length | number <double> |
slur_filter_regex | string |
discussion_languages | Array of numbers <double> (LanguageId) [ items <double > ] |
hide_modlog_mod_names | boolean |
application_email_admins | boolean |
legal_information | string |
default_comment_sort_type | string (CommentSortType) Enum: "Hot" "Top" "New" "Old" "Controversial" The comment sort types. See here for descriptions: https://join-lemmy.org/docs/en/users/03-votes-and-ranking.html |
default_post_time_range_seconds | number <double> |
default_post_sort_type | string (PostSortType) Enum: "Active" "Hot" "New" "Old" "Top" "MostComments" "NewComments" "Controversial" "Scaled" The post sort types. See here for descriptions: https://join-lemmy.org/docs/en/users/03-votes-and-ranking.html |
default_post_listing_mode | string (PostListingMode) Enum: "List" "Card" "SmallCard" A post-view mode that changes how multiple post listings look. |
default_post_listing_type | string (ListingType) Enum: "All" "Local" "Subscribed" "ModeratorView" A listing type for post and comment list fetches. |
default_theme | string |
private_instance | boolean |
application_question | string |
require_email_verification | boolean |
community_creation_admin_only | boolean |
description | string |
sidebar | string |
name required | string |
{- "disable_donation_dialog": true,
- "comment_downvotes": "All",
- "comment_upvotes": "All",
- "post_downvotes": "All",
- "post_upvotes": "All",
- "content_warning": "string",
- "oauth_registration": true,
- "registration_mode": "Closed",
- "captcha_difficulty": "string",
- "captcha_enabled": true,
- "federation_enabled": true,
- "rate_limit_search_per_second": 0.1,
- "rate_limit_search": 0.1,
- "rate_limit_comment_per_second": 0.1,
- "rate_limit_comment": 0.1,
- "rate_limit_image_per_second": 0.1,
- "rate_limit_image": 0.1,
- "rate_limit_register_per_second": 0.1,
- "rate_limit_register": 0.1,
- "rate_limit_post_per_second": 0.1,
- "rate_limit_post": 0.1,
- "rate_limit_message_per_second": 0.1,
- "rate_limit_message": 0.1,
- "actor_name_max_length": 0.1,
- "slur_filter_regex": "string",
- "discussion_languages": [
- 0.1
], - "hide_modlog_mod_names": true,
- "application_email_admins": true,
- "legal_information": "string",
- "default_comment_sort_type": "Hot",
- "default_post_time_range_seconds": 0.1,
- "default_post_sort_type": "Active",
- "default_post_listing_mode": "List",
- "default_post_listing_type": "All",
- "default_theme": "string",
- "private_instance": true,
- "application_question": "string",
- "require_email_verification": true,
- "community_creation_admin_only": true,
- "description": "string",
- "sidebar": "string",
- "name": "string"
}
{- "taglines": [
- null
], - "site_view": {
- "counts": {
- "users_active_half_year": 0.1,
- "users_active_month": 0.1,
- "users_active_week": 0.1,
- "users_active_day": 0.1,
- "communities": 0.1,
- "comments": 0.1,
- "posts": 0.1,
- "users": 0.1,
- "site_id": 0.1
}, - "local_site_rate_limit": {
- "import_user_settings_per_second": 0.1,
- "import_user_settings": 0.1,
- "updated": "string",
- "published": "string",
- "search_per_second": 0.1,
- "search": 0.1,
- "comment_per_second": 0.1,
- "comment": 0.1,
- "image_per_second": 0.1,
- "image": 0.1,
- "register_per_second": 0.1,
- "register": 0.1,
- "post_per_second": 0.1,
- "post": 0.1,
- "message_per_second": 0.1,
- "message": 0.1,
- "local_site_id": 0.1
}, - "local_site": {
- "default_post_time_range_seconds": 0.1,
- "disable_donation_dialog": true,
- "comment_downvotes": "All",
- "comment_upvotes": "All",
- "post_downvotes": "All",
- "post_upvotes": "All",
- "oauth_registration": true,
- "default_comment_sort_type": "Hot",
- "default_post_sort_type": "Active",
- "default_post_listing_mode": "List",
- "federation_signed_fetch": true,
- "reports_email_admins": true,
- "registration_mode": "Closed",
- "updated": "string",
- "published": "string",
- "captcha_difficulty": "string",
- "captcha_enabled": true,
- "federation_enabled": true,
- "actor_name_max_length": 0.1,
- "slur_filter_regex": "string",
- "application_email_admins": true,
- "hide_modlog_mod_names": true,
- "legal_information": "string",
- "default_post_listing_type": "All",
- "default_theme": "string",
- "private_instance": true,
- "application_question": "string",
- "require_email_verification": true,
- "community_creation_admin_only": true,
- "site_setup": true,
- "site_id": 0.1,
- "id": 0.1
}, - "site": {
- "content_warning": "string",
- "instance_id": 0.1,
- "public_key": "string",
- "inbox_url": "string",
- "last_refreshed_at": "string",
- "ap_id": "string",
- "description": "string",
- "banner": "string",
- "icon": "string",
- "updated": "string",
- "published": "string",
- "sidebar": "string",
- "name": "string",
- "id": 0.1
}
}
}
disable_donation_dialog | boolean If this is true, users will never see the dialog asking to support Lemmy development with donations. |
comment_downvotes | string (FederationMode) Enum: "All" "Local" "Disable" The federation mode for an item |
comment_upvotes | string (FederationMode) Enum: "All" "Local" "Disable" The federation mode for an item |
post_downvotes | string (FederationMode) Enum: "All" "Local" "Disable" The federation mode for an item |
post_upvotes | string (FederationMode) Enum: "All" "Local" "Disable" The federation mode for an item |
oauth_registration | boolean Whether or not external auth methods can auto-register users. |
content_warning | string If present, nsfw content is visible by default. Should be displayed by frontends/clients when the site is first opened by a user. |
reports_email_admins | boolean Whether to email admins for new reports. |
registration_mode | string (RegistrationMode) Enum: "Closed" "RequireApplication" "Open" The registration mode for your site. Determines what happens after a user signs up. |
blocked_urls | Array of strings A list of blocked URLs |
captcha_difficulty | string The captcha difficulty. Can be easy, medium, or hard |
captcha_enabled | boolean Whether to enable captchas for signups. |
federation_enabled | boolean Whether to enable federation. |
rate_limit_search_per_second | number <double> |
rate_limit_search | number <double> The number of searches allowed in a given time frame. |
rate_limit_comment_per_second | number <double> |
rate_limit_comment | number <double> The number of comments allowed in a given time frame. |
rate_limit_image_per_second | number <double> |
rate_limit_image | number <double> The number of image uploads allowed in a given time frame. |
rate_limit_register_per_second | number <double> |
rate_limit_register | number <double> The number of registrations allowed in a given time frame. |
rate_limit_post_per_second | number <double> |
rate_limit_post | number <double> The number of posts allowed in a given time frame. |
rate_limit_message_per_second | number <double> |
rate_limit_message | number <double> The number of messages allowed in a given time frame. |
actor_name_max_length | number <double> The max length of actor names. |
slur_filter_regex | string A regex string of items to filter. |
discussion_languages | Array of numbers <double> (LanguageId) [ items <double > ] A list of allowed discussion languages. |
hide_modlog_mod_names | boolean Whether to hide moderator names from the modlog. |
application_email_admins | boolean Whether to email admins when receiving a new application. |
legal_information | string An optional page of legal information |
default_comment_sort_type | string (CommentSortType) Enum: "Hot" "Top" "New" "Old" "Controversial" The comment sort types. See here for descriptions: https://join-lemmy.org/docs/en/users/03-votes-and-ranking.html |
default_post_time_range_seconds | number <double> A default time range limit to apply to post sorts, in seconds. 0 means none. |
default_post_sort_type | string (PostSortType) Enum: "Active" "Hot" "New" "Old" "Top" "MostComments" "NewComments" "Controversial" "Scaled" The post sort types. See here for descriptions: https://join-lemmy.org/docs/en/users/03-votes-and-ranking.html |
default_post_listing_mode | string (PostListingMode) Enum: "List" "Card" "SmallCard" A post-view mode that changes how multiple post listings look. |
default_post_listing_type | string (ListingType) Enum: "All" "Local" "Subscribed" "ModeratorView" A listing type for post and comment list fetches. |
default_theme | string The default theme. Usually "browser" |
private_instance | boolean Whether your instance is public, or private. |
application_question | string Your application question form. This is in markdown, and can be many questions. |
require_email_verification | boolean Whether to require email verification. |
community_creation_admin_only | boolean Limits community creation to admins only. |
description | string A shorter, one line description of your site. |
sidebar | string A sidebar for the site, in markdown. |
name | string |
{- "disable_donation_dialog": true,
- "comment_downvotes": "All",
- "comment_upvotes": "All",
- "post_downvotes": "All",
- "post_upvotes": "All",
- "oauth_registration": true,
- "content_warning": "string",
- "reports_email_admins": true,
- "registration_mode": "Closed",
- "blocked_urls": [
- "string"
], - "captcha_difficulty": "string",
- "captcha_enabled": true,
- "federation_enabled": true,
- "rate_limit_search_per_second": 0.1,
- "rate_limit_search": 0.1,
- "rate_limit_comment_per_second": 0.1,
- "rate_limit_comment": 0.1,
- "rate_limit_image_per_second": 0.1,
- "rate_limit_image": 0.1,
- "rate_limit_register_per_second": 0.1,
- "rate_limit_register": 0.1,
- "rate_limit_post_per_second": 0.1,
- "rate_limit_post": 0.1,
- "rate_limit_message_per_second": 0.1,
- "rate_limit_message": 0.1,
- "actor_name_max_length": 0.1,
- "slur_filter_regex": "string",
- "discussion_languages": [
- 0.1
], - "hide_modlog_mod_names": true,
- "application_email_admins": true,
- "legal_information": "string",
- "default_comment_sort_type": "Hot",
- "default_post_time_range_seconds": 0.1,
- "default_post_sort_type": "Active",
- "default_post_listing_mode": "List",
- "default_post_listing_type": "All",
- "default_theme": "string",
- "private_instance": true,
- "application_question": "string",
- "require_email_verification": true,
- "community_creation_admin_only": true,
- "description": "string",
- "sidebar": "string",
- "name": "string"
}
{- "taglines": [
- null
], - "site_view": {
- "counts": {
- "users_active_half_year": 0.1,
- "users_active_month": 0.1,
- "users_active_week": 0.1,
- "users_active_day": 0.1,
- "communities": 0.1,
- "comments": 0.1,
- "posts": 0.1,
- "users": 0.1,
- "site_id": 0.1
}, - "local_site_rate_limit": {
- "import_user_settings_per_second": 0.1,
- "import_user_settings": 0.1,
- "updated": "string",
- "published": "string",
- "search_per_second": 0.1,
- "search": 0.1,
- "comment_per_second": 0.1,
- "comment": 0.1,
- "image_per_second": 0.1,
- "image": 0.1,
- "register_per_second": 0.1,
- "register": 0.1,
- "post_per_second": 0.1,
- "post": 0.1,
- "message_per_second": 0.1,
- "message": 0.1,
- "local_site_id": 0.1
}, - "local_site": {
- "default_post_time_range_seconds": 0.1,
- "disable_donation_dialog": true,
- "comment_downvotes": "All",
- "comment_upvotes": "All",
- "post_downvotes": "All",
- "post_upvotes": "All",
- "oauth_registration": true,
- "default_comment_sort_type": "Hot",
- "default_post_sort_type": "Active",
- "default_post_listing_mode": "List",
- "federation_signed_fetch": true,
- "reports_email_admins": true,
- "registration_mode": "Closed",
- "updated": "string",
- "published": "string",
- "captcha_difficulty": "string",
- "captcha_enabled": true,
- "federation_enabled": true,
- "actor_name_max_length": 0.1,
- "slur_filter_regex": "string",
- "application_email_admins": true,
- "hide_modlog_mod_names": true,
- "legal_information": "string",
- "default_post_listing_type": "All",
- "default_theme": "string",
- "private_instance": true,
- "application_question": "string",
- "require_email_verification": true,
- "community_creation_admin_only": true,
- "site_setup": true,
- "site_id": 0.1,
- "id": 0.1
}, - "site": {
- "content_warning": "string",
- "instance_id": 0.1,
- "public_key": "string",
- "inbox_url": "string",
- "last_refreshed_at": "string",
- "ap_id": "string",
- "description": "string",
- "banner": "string",
- "icon": "string",
- "updated": "string",
- "published": "string",
- "sidebar": "string",
- "name": "string",
- "id": 0.1
}
}
}
{- "image_upload_disabled": true,
- "blocked_urls": [
- {
- "updated": "string",
- "published": "string",
- "url": "string",
- "id": 0.1
}
], - "admin_oauth_providers": [
- {
- "use_pkce": true,
- "updated": "string",
- "published": "string",
- "enabled": true,
- "account_linking_enabled": true,
- "auto_verify_email": true,
- "scopes": "string",
- "client_id": "string",
- "id_claim": "string",
- "userinfo_endpoint": "string",
- "token_endpoint": "string",
- "authorization_endpoint": "string",
- "issuer": "string",
- "display_name": "string",
- "id": 0.1
}
], - "oauth_providers": [
- {
- "use_pkce": true,
- "updated": "string",
- "published": "string",
- "enabled": true,
- "account_linking_enabled": true,
- "auto_verify_email": true,
- "scopes": "string",
- "client_id": "string",
- "id_claim": "string",
- "userinfo_endpoint": "string",
- "token_endpoint": "string",
- "authorization_endpoint": "string",
- "issuer": "string",
- "display_name": "string",
- "id": 0.1
}
], - "tagline": {
- "updated": "string",
- "published": "string",
- "content": "string",
- "id": 0.1
}, - "discussion_languages": [
- 0.1
], - "all_languages": [
- {
- "name": "string",
- "code": "string",
- "id": 0.1
}
], - "version": "string",
- "admins": [
- {
- "is_admin": true,
- "counts": {
- "published": "string",
- "comment_count": 0.1,
- "post_count": 0.1,
- "person_id": 0.1
}, - "person": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}
}
], - "site_view": {
- "counts": {
- "users_active_half_year": 0.1,
- "users_active_month": 0.1,
- "users_active_week": 0.1,
- "users_active_day": 0.1,
- "communities": 0.1,
- "comments": 0.1,
- "posts": 0.1,
- "users": 0.1,
- "site_id": 0.1
}, - "local_site_rate_limit": {
- "import_user_settings_per_second": 0.1,
- "import_user_settings": 0.1,
- "updated": "string",
- "published": "string",
- "search_per_second": 0.1,
- "search": 0.1,
- "comment_per_second": 0.1,
- "comment": 0.1,
- "image_per_second": 0.1,
- "image": 0.1,
- "register_per_second": 0.1,
- "register": 0.1,
- "post_per_second": 0.1,
- "post": 0.1,
- "message_per_second": 0.1,
- "message": 0.1,
- "local_site_id": 0.1
}, - "local_site": {
- "default_post_time_range_seconds": 0.1,
- "disable_donation_dialog": true,
- "comment_downvotes": "All",
- "comment_upvotes": "All",
- "post_downvotes": "All",
- "post_upvotes": "All",
- "oauth_registration": true,
- "default_comment_sort_type": "Hot",
- "default_post_sort_type": "Active",
- "default_post_listing_mode": "List",
- "federation_signed_fetch": true,
- "reports_email_admins": true,
- "registration_mode": "Closed",
- "updated": "string",
- "published": "string",
- "captcha_difficulty": "string",
- "captcha_enabled": true,
- "federation_enabled": true,
- "actor_name_max_length": 0.1,
- "slur_filter_regex": "string",
- "application_email_admins": true,
- "hide_modlog_mod_names": true,
- "legal_information": "string",
- "default_post_listing_type": "All",
- "default_theme": "string",
- "private_instance": true,
- "application_question": "string",
- "require_email_verification": true,
- "community_creation_admin_only": true,
- "site_setup": true,
- "site_id": 0.1,
- "id": 0.1
}, - "site": {
- "content_warning": "string",
- "instance_id": 0.1,
- "public_key": "string",
- "inbox_url": "string",
- "last_refreshed_at": "string",
- "ap_id": "string",
- "description": "string",
- "banner": "string",
- "icon": "string",
- "updated": "string",
- "published": "string",
- "sidebar": "string",
- "name": "string",
- "id": 0.1
}
}
}
limit | number <double> |
page | number <double> |
{- "images": [
- {
- "person": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "local_image": {
- "published": "string",
- "pictrs_alias": "string",
- "local_user_id": 0.1
}
}
]
}
reason | string |
hidden required | boolean |
community_id required | number <double> (CommunityId) The community id. |
{- "reason": "string",
- "hidden": true,
- "community_id": 0.1
}
{- "success": true
}
limit | number <double> |
page | number <double> |
post_id required | number <double> (PostId) The post id. |
{- "post_likes": [
- {
- "score": 0.1,
- "creator_banned_from_community": true,
- "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}
}
]
}
limit | number <double> |
page | number <double> |
comment_id required | number <double> (CommentId) The comment id. |
{- "comment_likes": [
- {
- "score": 0.1,
- "creator_banned_from_community": true,
- "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}
}
]
}
resolved required | boolean |
report_id required | number <double> (PrivateMessageReportId) The private message report id. |
{- "resolved": true,
- "report_id": 0.1
}
{- "private_message_report_view": {
- "resolver": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "private_message_creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "private_message": {
- "removed": true,
- "local": true,
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "read": true,
- "deleted": true,
- "content": "string",
- "recipient_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}, - "private_message_report": {
- "updated": "string",
- "published": "string",
- "resolver_id": 0.1,
- "resolved": true,
- "reason": "string",
- "original_pm_text": "string",
- "private_message_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}
}
}
expires | number <double> A time that the ban will expire, in unix epoch seconds. An i64 unix timestamp is used for a simpler API client implementation. |
reason | string |
remove_or_restore_data | boolean Optionally remove or restore all their data. Useful for new troll accounts. If ban is true, then this means remove. If ban is false, it means restore. |
ban required | boolean |
person_id required | number <double> (PersonId) The person id. |
{- "expires": 0.1,
- "reason": "string",
- "remove_or_restore_data": true,
- "ban": true,
- "person_id": 0.1
}
{- "banned": true,
- "person_view": {
- "is_admin": true,
- "counts": {
- "published": "string",
- "comment_count": 0.1,
- "post_count": 0.1,
- "person_id": 0.1
}, - "person": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}
}
}
{- "banned": [
- {
- "is_admin": true,
- "counts": {
- "published": "string",
- "comment_count": 0.1,
- "post_count": 0.1,
- "person_id": 0.1
}, - "person": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}
}
]
}
added required | boolean |
person_id required | number <double> (PersonId) The person id. |
{- "added": true,
- "person_id": 0.1
}
{- "admins": [
- {
- "is_admin": true,
- "counts": {
- "published": "string",
- "comment_count": 0.1,
- "post_count": 0.1,
- "person_id": 0.1
}, - "person": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}
}
]
}
limit | number <double> |
page | number <double> |
unread_only | boolean Only shows the unread applications (IE those without an admin actor) |
{- "registration_applications": [
- {
- "admin": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "creator_local_user": {
- "default_post_time_range_seconds": 0.1,
- "hide_media": true,
- "last_donation_notification": "string",
- "auto_mark_fetched_posts_as_read": true,
- "default_comment_sort_type": "Hot",
- "collapse_bot_comments": true,
- "enable_private_messages": true,
- "enable_animated_images": true,
- "enable_keyboard_navigation": true,
- "totp_2fa_enabled": true,
- "post_listing_mode": "List",
- "admin": true,
- "infinite_scroll_enabled": true,
- "blur_nsfw": true,
- "open_links_in_new_tab": true,
- "accepted_application": true,
- "email_verified": true,
- "show_read_posts": true,
- "show_bot_accounts": true,
- "send_notifications_to_email": true,
- "show_avatars": true,
- "interface_language": "string",
- "default_listing_type": "All",
- "default_post_sort_type": "Active",
- "theme": "string",
- "show_nsfw": true,
- "email": "string",
- "person_id": 0.1,
- "id": 0.1
}, - "registration_application": {
- "published": "string",
- "deny_reason": "string",
- "admin_id": 0.1,
- "answer": "string",
- "local_user_id": 0.1,
- "id": 0.1
}
}
]
}
deny_reason | string |
approve required | boolean |
id required | number <double> (RegistrationApplicationId) The registration application id. |
{- "deny_reason": "string",
- "approve": true,
- "id": 0.1
}
{- "registration_application": {
- "admin": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "creator_local_user": {
- "default_post_time_range_seconds": 0.1,
- "hide_media": true,
- "last_donation_notification": "string",
- "auto_mark_fetched_posts_as_read": true,
- "default_comment_sort_type": "Hot",
- "collapse_bot_comments": true,
- "enable_private_messages": true,
- "enable_animated_images": true,
- "enable_keyboard_navigation": true,
- "totp_2fa_enabled": true,
- "post_listing_mode": "List",
- "admin": true,
- "infinite_scroll_enabled": true,
- "blur_nsfw": true,
- "open_links_in_new_tab": true,
- "accepted_application": true,
- "email_verified": true,
- "show_read_posts": true,
- "show_bot_accounts": true,
- "send_notifications_to_email": true,
- "show_avatars": true,
- "interface_language": "string",
- "default_listing_type": "All",
- "default_post_sort_type": "Active",
- "theme": "string",
- "show_nsfw": true,
- "email": "string",
- "person_id": 0.1,
- "id": 0.1
}, - "registration_application": {
- "published": "string",
- "deny_reason": "string",
- "admin_id": 0.1,
- "answer": "string",
- "local_user_id": 0.1,
- "id": 0.1
}
}
}
person_id required | number <double> (PersonId) The person id. |
{- "registration_application": {
- "admin": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "creator_local_user": {
- "default_post_time_range_seconds": 0.1,
- "hide_media": true,
- "last_donation_notification": "string",
- "auto_mark_fetched_posts_as_read": true,
- "default_comment_sort_type": "Hot",
- "collapse_bot_comments": true,
- "enable_private_messages": true,
- "enable_animated_images": true,
- "enable_keyboard_navigation": true,
- "totp_2fa_enabled": true,
- "post_listing_mode": "List",
- "admin": true,
- "infinite_scroll_enabled": true,
- "blur_nsfw": true,
- "open_links_in_new_tab": true,
- "accepted_application": true,
- "email_verified": true,
- "show_read_posts": true,
- "show_bot_accounts": true,
- "send_notifications_to_email": true,
- "show_avatars": true,
- "interface_language": "string",
- "default_listing_type": "All",
- "default_post_sort_type": "Active",
- "theme": "string",
- "show_nsfw": true,
- "email": "string",
- "person_id": 0.1,
- "id": 0.1
}, - "registration_application": {
- "published": "string",
- "deny_reason": "string",
- "admin_id": 0.1,
- "answer": "string",
- "local_user_id": 0.1,
- "id": 0.1
}
}
}
reason | string |
person_id required | number <double> (PersonId) The person id. |
{- "reason": "string",
- "person_id": 0.1
}
{- "success": true
}
reason | string |
community_id required | number <double> (CommunityId) The community id. |
{- "reason": "string",
- "community_id": 0.1
}
{- "success": true
}
reason | string |
post_id required | number <double> (PostId) The post id. |
{- "reason": "string",
- "post_id": 0.1
}
{- "success": true
}
reason | string |
comment_id required | number <double> (CommentId) The comment id. |
{- "reason": "string",
- "comment_id": 0.1
}
{- "success": true
}
content required | string |
{- "content": "string"
}
{- "tagline": {
- "updated": "string",
- "published": "string",
- "content": "string",
- "id": 0.1
}
}
content required | string |
id required | number <double> (TaglineId) The tagline id. |
{- "content": "string",
- "id": 0.1
}
{- "tagline": {
- "updated": "string",
- "published": "string",
- "content": "string",
- "id": 0.1
}
}
my_reports_only | boolean If true, view all your created reports. Works for non-admins/mods also. |
show_community_rule_violations | boolean Only for admins: also show reports with |
page_back | boolean |
page_cursor | string (ReportCombinedPaginationCursor) like PaginationCursor but for the report_combined table |
community_id | number <double> (CommunityId) if no community is given, it returns reports for all communities moderated by the auth user |
post_id | number <double> (PostId) Filter by the post id. Can return either comment or post reports. |
type_ | string (ReportType) Enum: "All" "Posts" "Comments" "PrivateMessages" "Communities" Filter the type of report. |
unresolved_only | boolean Only shows the unresolved reports |
{- "reports": [
- {
- "type_": "Post",
- "resolver": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "newest_comment_time": "string",
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comments": 0.1,
- "post_id": 0.1
}, - "unread_comments": 0.1,
- "my_vote": 0.1,
- "creator_blocked": true,
- "hidden": true,
- "read": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "creator_is_admin": true,
- "creator_is_moderator": true,
- "creator_banned_from_community": true,
- "post_creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}, - "post_report": {
- "violates_instance_rules": true,
- "updated": "string",
- "published": "string",
- "resolver_id": 0.1,
- "resolved": true,
- "reason": "string",
- "original_post_body": "string",
- "original_post_url": "string",
- "original_post_name": "string",
- "post_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}
}
]
}
expires | string |
reason | string |
block required | boolean |
instance required | string |
{- "expires": "string",
- "reason": "string",
- "block": true,
- "instance": "string"
}
{- "success": true
}
reason | string |
allow required | boolean |
instance required | string |
{- "reason": "string",
- "allow": true,
- "instance": "string"
}
{- "success": true
}
{- "discussion_languages": [
- 0.1
], - "person_blocks": [
- {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}
], - "instance_blocks": [
- {
- "version": "string",
- "software": "string",
- "updated": "string",
- "published": "string",
- "domain": "string",
- "id": 0.1
}
], - "community_blocks": [
- {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}
], - "moderates": [
- {
- "moderator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}
}
], - "follows": [
- {
- "follower": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}
}
], - "local_user_view": {
- "counts": {
- "published": "string",
- "comment_count": 0.1,
- "post_count": 0.1,
- "person_id": 0.1
}, - "person": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "local_user_vote_display_mode": {
- "upvote_percentage": true,
- "downvotes": true,
- "upvotes": true,
- "score": true
}, - "local_user": {
- "default_post_time_range_seconds": 0.1,
- "hide_media": true,
- "last_donation_notification": "string",
- "auto_mark_fetched_posts_as_read": true,
- "default_comment_sort_type": "Hot",
- "collapse_bot_comments": true,
- "enable_private_messages": true,
- "enable_animated_images": true,
- "enable_keyboard_navigation": true,
- "totp_2fa_enabled": true,
- "post_listing_mode": "List",
- "admin": true,
- "infinite_scroll_enabled": true,
- "blur_nsfw": true,
- "open_links_in_new_tab": true,
- "accepted_application": true,
- "email_verified": true,
- "show_read_posts": true,
- "show_bot_accounts": true,
- "send_notifications_to_email": true,
- "show_avatars": true,
- "interface_language": "string",
- "default_listing_type": "All",
- "default_post_sort_type": "Active",
- "theme": "string",
- "show_nsfw": true,
- "email": "string",
- "person_id": 0.1,
- "id": 0.1
}
}
}
limit | number <double> |
page | number <double> |
{- "images": [
- {
- "person": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "local_image": {
- "published": "string",
- "pictrs_alias": "string",
- "local_user_id": 0.1
}
}
]
}
enabled required | boolean |
totp_token required | string |
{- "enabled": true,
- "totp_token": "string"
}
{- "enabled": true
}
block required | boolean |
community_id required | number <double> (CommunityId) The community id. |
{- "block": true,
- "community_id": 0.1
}
{- "blocked": true,
- "community_view": {
- "can_mod": true,
- "banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "subscribers_local": 0.1,
- "users_active_half_year": 0.1,
- "users_active_month": 0.1,
- "users_active_week": 0.1,
- "users_active_day": 0.1,
- "published": "string",
- "comments": 0.1,
- "posts": 0.1,
- "subscribers": 0.1,
- "community_id": 0.1
}, - "blocked": true,
- "subscribed": "Subscribed",
- "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}
}
}
answer | string An answer is mandatory if require application is enabled on the server |
honeypot | string A form field to trick signup bots. Should be None. |
captcha_answer | string Your captcha answer. |
captcha_uuid | string The UUID of the captcha item. |
string (SensitiveString) | |
show_nsfw | boolean |
password_verify required | string (SensitiveString) |
password required | string (SensitiveString) |
username required | string |
{- "answer": "string",
- "honeypot": "string",
- "captcha_answer": "string",
- "captcha_uuid": "string",
- "email": "string",
- "show_nsfw": true,
- "password_verify": "string",
- "password": "string",
- "username": "string"
}
{- "verify_email_sent": true,
- "registration_created": true,
- "jwt": "string"
}
totp_2fa_token | string May be required, if totp is enabled for their account. |
password required | string (SensitiveString) |
username_or_email required | string (SensitiveString) |
{- "totp_2fa_token": "string",
- "password": "string",
- "username_or_email": "string"
}
{- "verify_email_sent": true,
- "registration_created": true,
- "jwt": "string"
}
read required | boolean |
person_comment_mention_id required | number <double> (PersonCommentMentionId) The person comment mention id. |
{- "read": true,
- "person_comment_mention_id": 0.1
}
{- "success": true
}
read required | boolean |
person_post_mention_id required | number <double> (PersonPostMentionId) The person post mention id. |
{- "read": true,
- "person_post_mention_id": 0.1
}
{- "success": true
}
block required | boolean |
person_id required | number <double> (PersonId) The person id. |
{- "block": true,
- "person_id": 0.1
}
{- "blocked": true,
- "person_view": {
- "is_admin": true,
- "counts": {
- "published": "string",
- "comment_count": 0.1,
- "post_count": 0.1,
- "person_id": 0.1
}, - "person": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}
}
}
delete_content required | boolean |
password required | string (SensitiveString) |
{- "delete_content": true,
- "password": "string"
}
{- "success": true
}
password_verify required | string (SensitiveString) |
password required | string (SensitiveString) |
token required | string (SensitiveString) |
{- "password_verify": "string",
- "password": "string",
- "token": "string"
}
{- "success": true
}
hide_media | boolean Whether to hide posts containing images/videos. |
auto_mark_fetched_posts_as_read | boolean Whether to automatically mark fetched posts as read. |
show_upvote_percentage | boolean |
show_downvotes | boolean |
show_upvotes | boolean |
show_scores | boolean Some vote display mode settings |
collapse_bot_comments | boolean Whether to auto-collapse bot comments. |
enable_private_messages | boolean Whether a user can send / receive private messages |
enable_animated_images | boolean Whether user avatars or inline images in the UI that are gifs should be allowed to play or should be paused |
enable_keyboard_navigation | boolean Whether to allow keyboard navigation (for browsing and interacting with posts and comments). |
infinite_scroll_enabled | boolean Enable infinite scroll |
open_links_in_new_tab | boolean Open links in a new tab |
discussion_languages | Array of numbers <double> (LanguageId) [ items <double > ] A list of languages you are able to see discussion in. |
show_read_posts | boolean Whether to show read posts. |
show_bot_accounts | boolean Whether to show bot accounts. |
bot_account | boolean Whether this account is a bot account. Users can hide these accounts easily if they wish. |
send_notifications_to_email | boolean Sends notifications to your email. |
show_avatars | boolean Whether to show or hide avatars. |
matrix_user_id | string Your matrix user id. Ex: |
bio | string Your bio / info, in markdown. |
string (SensitiveString) | |
display_name | string Your display name, which can contain strange characters, and does not need to be unique. |
interface_language | string The language of the lemmy interface |
default_comment_sort_type | string (CommentSortType) Enum: "Hot" "Top" "New" "Old" "Controversial" The comment sort types. See here for descriptions: https://join-lemmy.org/docs/en/users/03-votes-and-ranking.html |
default_post_time_range_seconds | number <double> A default time range limit to apply to post sorts, in seconds. 0 means none. |
default_post_sort_type | string (PostSortType) Enum: "Active" "Hot" "New" "Old" "Top" "MostComments" "NewComments" "Controversial" "Scaled" The post sort types. See here for descriptions: https://join-lemmy.org/docs/en/users/03-votes-and-ranking.html |
post_listing_mode | string (PostListingMode) Enum: "List" "Card" "SmallCard" A post-view mode that changes how multiple post listings look. |
default_listing_type | string (ListingType) Enum: "All" "Local" "Subscribed" "ModeratorView" A listing type for post and comment list fetches. |
theme | string Your user's theme. |
blur_nsfw | boolean Blur nsfw posts. |
show_nsfw | boolean Show nsfw posts. |
{- "hide_media": true,
- "auto_mark_fetched_posts_as_read": true,
- "show_upvote_percentage": true,
- "show_downvotes": true,
- "show_upvotes": true,
- "show_scores": true,
- "collapse_bot_comments": true,
- "enable_private_messages": true,
- "enable_animated_images": true,
- "enable_keyboard_navigation": true,
- "infinite_scroll_enabled": true,
- "open_links_in_new_tab": true,
- "discussion_languages": [
- 0.1
], - "show_read_posts": true,
- "show_bot_accounts": true,
- "bot_account": true,
- "send_notifications_to_email": true,
- "show_avatars": true,
- "matrix_user_id": "string",
- "bio": "string",
- "email": "string",
- "display_name": "string",
- "interface_language": "string",
- "default_comment_sort_type": "Hot",
- "default_post_time_range_seconds": 0.1,
- "default_post_sort_type": "Active",
- "post_listing_mode": "List",
- "default_listing_type": "All",
- "theme": "string",
- "blur_nsfw": true,
- "show_nsfw": true
}
{- "success": true
}
old_password required | string (SensitiveString) |
new_password_verify required | string (SensitiveString) |
new_password required | string (SensitiveString) |
{- "old_password": "string",
- "new_password_verify": "string",
- "new_password": "string"
}
{- "verify_email_sent": true,
- "registration_created": true,
- "jwt": "string"
}
page_back | boolean |
page_cursor | string (InboxCombinedPaginationCursor) like PaginationCursor but for the report_combined table |
unread_only | boolean |
type_ | string (InboxDataType) Enum: "All" "CommentReply" "CommentMention" "PostMention" "PrivateMessage" A list of possible types for the inbox. |
{- "inbox": [
- {
- "type_": "CommentReply",
- "can_mod": true,
- "my_vote": 0.1,
- "creator_blocked": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "child_count": 0.1,
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comment_id": 0.1
}, - "recipient": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "comment": {
- "language_id": 0.1,
- "distinguished": true,
- "path": "string",
- "local": true,
- "ap_id": "string",
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "content": "string",
- "post_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}, - "comment_reply": {
- "published": "string",
- "read": true,
- "comment_id": 0.1,
- "recipient_id": 0.1,
- "id": 0.1
}
}
]
}
page_back | boolean |
page_cursor | string (PersonSavedCombinedPaginationCursor) like PaginationCursor but for the person_saved_combined table |
type_ | string (PersonContentType) Enum: "All" "Comments" "Posts" A list of possible types for a person's content. |
{- "saved": [
- {
- "type_": "Post",
- "can_mod": true,
- "tags": {
- "tags": [
- {
- "deleted": true,
- "updated": "string",
- "published": "string",
- "community_id": 0.1,
- "name": "string",
- "ap_id": "string",
- "id": 0.1
}
]
}, - "unread_comments": 0.1,
- "my_vote": 0.1,
- "creator_blocked": true,
- "hidden": true,
- "read": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "newest_comment_time": "string",
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comments": 0.1,
- "post_id": 0.1
}, - "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "image_details": {
- "blurhash": "string",
- "content_type": "string",
- "height": 0.1,
- "width": 0.1,
- "link": "string"
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}
}
]
}
block required | boolean |
instance_id required | number <double> (InstanceId) The instance id. |
{- "block": true,
- "instance_id": 0.1
}
{- "success": true
}
limit | number <double> |
page | number <double> |
{- "images": [
- {
- "person": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "local_image": {
- "published": "string",
- "pictrs_alias": "string",
- "local_user_id": 0.1
}
}
]
}
limit | number <double> |
page | number <double> |
{- "images": [
- {
- "person": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "local_image": {
- "published": "string",
- "pictrs_alias": "string",
- "local_user_id": 0.1
}
}
]
}
page_back | boolean |
page_cursor | string (ModlogCombinedPaginationCursor) like PaginationCursor but for the modlog_combined |
comment_id | number <double> (CommentId) Filter by comment. |
post_id | number <double> (PostId) Filter by post. Will include comments of that post. |
other_person_id | number <double> (PersonId) Filter by the other / modded person. |
listing_type | string (ListingType) Enum: "All" "Local" "Subscribed" "ModeratorView" Filter by listing type. When not using All, it will remove the non-community modlog entries, such as site bans, instance blocks, adding an admin, etc. |
type_ | string (ModlogActionType) Enum: "All" "ModRemovePost" "ModLockPost" "ModFeaturePost" "ModRemoveComment" "ModRemoveCommunity" "ModBanFromCommunity" "ModAddCommunity" "ModTransferCommunity" "ModAdd" "ModBan" "ModHideCommunity" "AdminPurgePerson" "AdminPurgeCommunity" "AdminPurgePost" "AdminPurgeComment" "AdminBlockInstance" "AdminAllowInstance" Filter by the modlog action type. |
community_id | number <double> (CommunityId) Filter by the community. |
mod_person_id | number <double> (PersonId) Filter by the moderator. |
{- "modlog": [
- {
- "type_": "AdminAllowInstance",
- "admin": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "instance": {
- "version": "string",
- "software": "string",
- "updated": "string",
- "published": "string",
- "domain": "string",
- "id": 0.1
}, - "admin_allow_instance": {
- "published": "string",
- "reason": "string",
- "allowed": true,
- "admin_person_id": 0.1,
- "instance_id": 0.1,
- "id": 0.1
}
}
]
}
page_back | boolean |
page_cursor | string (SearchCombinedPaginationCursor) like PaginationCursor but for the modlog_combined |
disliked_only | boolean |
liked_only | boolean |
post_url_only | boolean |
title_only | boolean |
listing_type | string (ListingType) Enum: "All" "Local" "Subscribed" "ModeratorView" A listing type for post and comment list fetches. |
time_range_seconds | number <double> Filter to within a given time range, in seconds. IE 60 would give results for the past minute. |
sort | string (SearchSortType) Enum: "New" "Top" "Old" The search sort types. |
type_ | string (SearchType) Enum: "All" "Comments" "Posts" "Communities" "Users" The type of content returned from a search. |
creator_id | number <double> (PersonId) The person id. |
community_name | string |
community_id | number <double> (CommunityId) The community id. |
search_term | string |
{- "results": [
- {
- "type_": "Post",
- "can_mod": true,
- "tags": {
- "tags": [
- {
- "deleted": true,
- "updated": "string",
- "published": "string",
- "community_id": 0.1,
- "name": "string",
- "ap_id": "string",
- "id": 0.1
}
]
}, - "unread_comments": 0.1,
- "my_vote": 0.1,
- "creator_blocked": true,
- "hidden": true,
- "read": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "newest_comment_time": "string",
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comments": 0.1,
- "post_id": 0.1
}, - "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "image_details": {
- "blurhash": "string",
- "content_type": "string",
- "height": 0.1,
- "width": 0.1,
- "link": "string"
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}
}
]
}
q required | string Can be the full url, or a shortened version like: !fediverse@lemmy.ml |
{- "person": {
- "is_admin": true,
- "counts": {
- "published": "string",
- "comment_count": 0.1,
- "post_count": 0.1,
- "person_id": 0.1
}, - "person": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}
}, - "community": {
- "can_mod": true,
- "banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "subscribers_local": 0.1,
- "users_active_half_year": 0.1,
- "users_active_month": 0.1,
- "users_active_week": 0.1,
- "users_active_day": 0.1,
- "published": "string",
- "comments": 0.1,
- "posts": 0.1,
- "subscribers": 0.1,
- "community_id": 0.1
}, - "blocked": true,
- "subscribed": "Subscribed",
- "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}
}, - "post": {
- "can_mod": true,
- "tags": {
- "tags": [
- {
- "deleted": true,
- "updated": "string",
- "published": "string",
- "community_id": 0.1,
- "name": "string",
- "ap_id": "string",
- "id": 0.1
}
]
}, - "unread_comments": 0.1,
- "my_vote": 0.1,
- "creator_blocked": true,
- "hidden": true,
- "read": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "newest_comment_time": "string",
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comments": 0.1,
- "post_id": 0.1
}, - "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "image_details": {
- "blurhash": "string",
- "content_type": "string",
- "height": 0.1,
- "width": 0.1,
- "link": "string"
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}
}, - "comment": {
- "can_mod": true,
- "my_vote": 0.1,
- "creator_blocked": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "child_count": 0.1,
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comment_id": 0.1
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "comment": {
- "language_id": 0.1,
- "distinguished": true,
- "path": "string",
- "local": true,
- "ap_id": "string",
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "content": "string",
- "post_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}
}
}
{- "banned": [
- {
- "is_admin": true,
- "counts": {
- "published": "string",
- "comment_count": 0.1,
- "post_count": 0.1,
- "person_id": 0.1
}, - "person": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}
}
]
}
enabled | boolean |
use_pkce | boolean |
account_linking_enabled | boolean |
auto_verify_email | boolean |
scopes required | string |
client_secret required | string |
client_id required | string |
id_claim required | string |
userinfo_endpoint required | string |
token_endpoint required | string |
authorization_endpoint required | string |
issuer required | string |
display_name required | string |
{- "enabled": true,
- "use_pkce": true,
- "account_linking_enabled": true,
- "auto_verify_email": true,
- "scopes": "string",
- "client_secret": "string",
- "client_id": "string",
- "id_claim": "string",
- "userinfo_endpoint": "string",
- "token_endpoint": "string",
- "authorization_endpoint": "string",
- "issuer": "string",
- "display_name": "string"
}
{- "use_pkce": true,
- "updated": "string",
- "published": "string",
- "enabled": true,
- "account_linking_enabled": true,
- "auto_verify_email": true,
- "scopes": "string",
- "client_id": "string",
- "id_claim": "string",
- "userinfo_endpoint": "string",
- "token_endpoint": "string",
- "authorization_endpoint": "string",
- "issuer": "string",
- "display_name": "string",
- "id": 0.1
}
enabled | boolean |
use_pkce | boolean |
account_linking_enabled | boolean |
auto_verify_email | boolean |
scopes | string |
client_secret | string |
id_claim | string |
userinfo_endpoint | string |
token_endpoint | string |
authorization_endpoint | string |
display_name | string |
id required | number <double> (OAuthProviderId) The oauth provider id. |
{- "enabled": true,
- "use_pkce": true,
- "account_linking_enabled": true,
- "auto_verify_email": true,
- "scopes": "string",
- "client_secret": "string",
- "id_claim": "string",
- "userinfo_endpoint": "string",
- "token_endpoint": "string",
- "authorization_endpoint": "string",
- "display_name": "string",
- "id": 0.1
}
{- "use_pkce": true,
- "updated": "string",
- "published": "string",
- "enabled": true,
- "account_linking_enabled": true,
- "auto_verify_email": true,
- "scopes": "string",
- "client_id": "string",
- "id_claim": "string",
- "userinfo_endpoint": "string",
- "token_endpoint": "string",
- "authorization_endpoint": "string",
- "issuer": "string",
- "display_name": "string",
- "id": 0.1
}
id required | number <double> (OAuthProviderId) The oauth provider id. |
{- "id": 0.1
}
{- "success": true
}
pkce_code_verifier | string |
answer | string An answer is mandatory if require application is enabled on the server |
username | string Username is mandatory at registration time |
show_nsfw | boolean |
redirect_uri required | string |
oauth_provider_id required | number <double> (OAuthProviderId) The oauth provider id. |
code required | string |
{- "pkce_code_verifier": "string",
- "answer": "string",
- "username": "string",
- "show_nsfw": true,
- "redirect_uri": "string",
- "oauth_provider_id": 0.1,
- "code": "string"
}
{- "verify_email_sent": true,
- "registration_created": true,
- "jwt": "string"
}
{- "federated_instances": {
- "blocked": [
- {
- "version": "string",
- "software": "string",
- "updated": "string",
- "published": "string",
- "domain": "string",
- "id": 0.1,
- "federation_state": {
- "last_retry": "string",
- "fail_count": 0.1,
- "last_successful_published_time": "string",
- "last_successful_id": 0.1,
- "instance_id": 0.1,
- "next_retry": "string"
}
}
], - "allowed": [
- {
- "version": "string",
- "software": "string",
- "updated": "string",
- "published": "string",
- "domain": "string",
- "id": 0.1,
- "federation_state": {
- "last_retry": "string",
- "fail_count": 0.1,
- "last_successful_published_time": "string",
- "last_successful_id": 0.1,
- "instance_id": 0.1,
- "next_retry": "string"
}
}
], - "linked": [
- {
- "version": "string",
- "software": "string",
- "updated": "string",
- "published": "string",
- "domain": "string",
- "id": 0.1,
- "federation_state": {
- "last_retry": "string",
- "fail_count": 0.1,
- "last_successful_published_time": "string",
- "last_successful_id": 0.1,
- "instance_id": 0.1,
- "next_retry": "string"
}
}
]
}
}
visibility | string (CommunityVisibility) Enum: "Public" "LocalOnly" "Private" Defines who can browse and interact with content in a community. |
discussion_languages | Array of numbers <double> (LanguageId) [ items <double > ] |
posting_restricted_to_mods | boolean Whether to restrict posting only to moderators. |
nsfw | boolean Whether its an NSFW community. |
banner | string A banner URL. |
icon | string An icon URL. |
description | string A shorter, one line description of your community. |
sidebar | string A sidebar for the community in markdown. |
title required | string A longer title. |
name required | string The unique name. |
{- "visibility": "Public",
- "discussion_languages": [
- 0.1
], - "posting_restricted_to_mods": true,
- "nsfw": true,
- "banner": "string",
- "icon": "string",
- "description": "string",
- "sidebar": "string",
- "title": "string",
- "name": "string"
}
{- "discussion_languages": [
- 0.1
], - "community_view": {
- "can_mod": true,
- "banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "subscribers_local": 0.1,
- "users_active_half_year": 0.1,
- "users_active_month": 0.1,
- "users_active_week": 0.1,
- "users_active_day": 0.1,
- "published": "string",
- "comments": 0.1,
- "posts": 0.1,
- "subscribers": 0.1,
- "community_id": 0.1
}, - "blocked": true,
- "subscribed": "Subscribed",
- "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}
}
}
name | string Example: star_trek , or star_trek@xyz.tld |
id | number <double> (CommunityId) The community id. |
{- "discussion_languages": [
- 0.1
], - "moderators": [
- {
- "moderator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}
}
], - "site": {
- "content_warning": "string",
- "instance_id": 0.1,
- "public_key": "string",
- "inbox_url": "string",
- "last_refreshed_at": "string",
- "ap_id": "string",
- "description": "string",
- "banner": "string",
- "icon": "string",
- "updated": "string",
- "published": "string",
- "sidebar": "string",
- "name": "string",
- "id": 0.1
}, - "community_view": {
- "can_mod": true,
- "banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "subscribers_local": 0.1,
- "users_active_half_year": 0.1,
- "users_active_month": 0.1,
- "users_active_week": 0.1,
- "users_active_day": 0.1,
- "published": "string",
- "comments": 0.1,
- "posts": 0.1,
- "subscribers": 0.1,
- "community_id": 0.1
}, - "blocked": true,
- "subscribed": "Subscribed",
- "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}
}
}
visibility | string (CommunityVisibility) Enum: "Public" "LocalOnly" "Private" Defines who can browse and interact with content in a community. |
discussion_languages | Array of numbers <double> (LanguageId) [ items <double > ] |
posting_restricted_to_mods | boolean Whether to restrict posting only to moderators. |
nsfw | boolean Whether its an NSFW community. |
description | string A shorter, one line description of your community. |
sidebar | string A sidebar for the community in markdown. |
title | string A longer title. |
community_id required | number <double> (CommunityId) The community id. |
{- "visibility": "Public",
- "discussion_languages": [
- 0.1
], - "posting_restricted_to_mods": true,
- "nsfw": true,
- "description": "string",
- "sidebar": "string",
- "title": "string",
- "community_id": 0.1
}
{- "discussion_languages": [
- 0.1
], - "community_view": {
- "can_mod": true,
- "banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "subscribers_local": 0.1,
- "users_active_half_year": 0.1,
- "users_active_month": 0.1,
- "users_active_week": 0.1,
- "users_active_day": 0.1,
- "published": "string",
- "comments": 0.1,
- "posts": 0.1,
- "subscribers": 0.1,
- "community_id": 0.1
}, - "blocked": true,
- "subscribed": "Subscribed",
- "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}
}
}
limit | number <double> |
page | number <double> |
show_nsfw | boolean |
time_range_seconds | number <double> Filter to within a given time range, in seconds. IE 60 would give results for the past minute. |
sort | string (CommunitySortType) Enum: "ActiveSixMonths" "ActiveMonthly" "ActiveWeekly" "ActiveDaily" "Hot" "New" "Old" "NameAsc" "NameDesc" "Comments" "Posts" "Subscribers" "SubscribersLocal" The community sort types. See here for descriptions: https://join-lemmy.org/docs/en/users/03-votes-and-ranking.html |
type_ | string (ListingType) Enum: "All" "Local" "Subscribed" "ModeratorView" A listing type for post and comment list fetches. |
{- "communities": [
- {
- "can_mod": true,
- "banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "subscribers_local": 0.1,
- "users_active_half_year": 0.1,
- "users_active_month": 0.1,
- "users_active_week": 0.1,
- "users_active_day": 0.1,
- "published": "string",
- "comments": 0.1,
- "posts": 0.1,
- "subscribers": 0.1,
- "community_id": 0.1
}, - "blocked": true,
- "subscribed": "Subscribed",
- "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}
}
]
}
follow required | boolean |
community_id required | number <double> (CommunityId) The community id. |
{- "follow": true,
- "community_id": 0.1
}
{- "discussion_languages": [
- 0.1
], - "community_view": {
- "can_mod": true,
- "banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "subscribers_local": 0.1,
- "users_active_half_year": 0.1,
- "users_active_month": 0.1,
- "users_active_week": 0.1,
- "users_active_day": 0.1,
- "published": "string",
- "comments": 0.1,
- "posts": 0.1,
- "subscribers": 0.1,
- "community_id": 0.1
}, - "blocked": true,
- "subscribed": "Subscribed",
- "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}
}
}
limit | number <double> |
page | number <double> |
all_communities | boolean |
pending_only | boolean Only shows the unapproved applications |
{- "items": [
- {
- "subscribed": "Subscribed",
- "is_new_instance": true,
- "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "person": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}
}
]
}
approve required | boolean |
follower_id required | number <double> (PersonId) The person id. |
community_id required | number <double> (CommunityId) The community id. |
{- "approve": true,
- "follower_id": 0.1,
- "community_id": 0.1
}
{- "success": true
}
block required | boolean |
community_id required | number <double> (CommunityId) The community id. |
{- "block": true,
- "community_id": 0.1
}
{- "blocked": true,
- "community_view": {
- "can_mod": true,
- "banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "subscribers_local": 0.1,
- "users_active_half_year": 0.1,
- "users_active_month": 0.1,
- "users_active_week": 0.1,
- "users_active_day": 0.1,
- "published": "string",
- "comments": 0.1,
- "posts": 0.1,
- "subscribers": 0.1,
- "community_id": 0.1
}, - "blocked": true,
- "subscribed": "Subscribed",
- "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}
}
}
deleted required | boolean |
community_id required | number <double> (CommunityId) The community id. |
{- "deleted": true,
- "community_id": 0.1
}
{- "discussion_languages": [
- 0.1
], - "community_view": {
- "can_mod": true,
- "banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "subscribers_local": 0.1,
- "users_active_half_year": 0.1,
- "users_active_month": 0.1,
- "users_active_week": 0.1,
- "users_active_day": 0.1,
- "published": "string",
- "comments": 0.1,
- "posts": 0.1,
- "subscribers": 0.1,
- "community_id": 0.1
}, - "blocked": true,
- "subscribed": "Subscribed",
- "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}
}
}
reason | string |
hidden required | boolean |
community_id required | number <double> (CommunityId) The community id. |
{- "reason": "string",
- "hidden": true,
- "community_id": 0.1
}
{- "success": true
}
reason | string |
removed required | boolean |
community_id required | number <double> (CommunityId) The community id. |
{- "reason": "string",
- "removed": true,
- "community_id": 0.1
}
{- "discussion_languages": [
- 0.1
], - "community_view": {
- "can_mod": true,
- "banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "subscribers_local": 0.1,
- "users_active_half_year": 0.1,
- "users_active_month": 0.1,
- "users_active_week": 0.1,
- "users_active_day": 0.1,
- "published": "string",
- "comments": 0.1,
- "posts": 0.1,
- "subscribers": 0.1,
- "community_id": 0.1
}, - "blocked": true,
- "subscribed": "Subscribed",
- "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}
}
}
person_id required | number <double> (PersonId) The person id. |
community_id required | number <double> (CommunityId) The community id. |
{- "person_id": 0.1,
- "community_id": 0.1
}
{- "discussion_languages": [
- 0.1
], - "moderators": [
- {
- "moderator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}
}
], - "site": {
- "content_warning": "string",
- "instance_id": 0.1,
- "public_key": "string",
- "inbox_url": "string",
- "last_refreshed_at": "string",
- "ap_id": "string",
- "description": "string",
- "banner": "string",
- "icon": "string",
- "updated": "string",
- "published": "string",
- "sidebar": "string",
- "name": "string",
- "id": 0.1
}, - "community_view": {
- "can_mod": true,
- "banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "subscribers_local": 0.1,
- "users_active_half_year": 0.1,
- "users_active_month": 0.1,
- "users_active_week": 0.1,
- "users_active_day": 0.1,
- "published": "string",
- "comments": 0.1,
- "posts": 0.1,
- "subscribers": 0.1,
- "community_id": 0.1
}, - "blocked": true,
- "subscribed": "Subscribed",
- "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}
}
}
expires | number <double> A time that the ban will expire, in unix epoch seconds. An i64 unix timestamp is used for a simpler API client implementation. |
reason | string |
remove_or_restore_data | boolean Optionally remove or restore all their data. Useful for new troll accounts. If ban is true, then this means remove. If ban is false, it means restore. |
ban required | boolean |
person_id required | number <double> (PersonId) The person id. |
community_id required | number <double> (CommunityId) The community id. |
{- "expires": 0.1,
- "reason": "string",
- "remove_or_restore_data": true,
- "ban": true,
- "person_id": 0.1,
- "community_id": 0.1
}
{- "banned": true,
- "person_view": {
- "is_admin": true,
- "counts": {
- "published": "string",
- "comment_count": 0.1,
- "post_count": 0.1,
- "person_id": 0.1
}, - "person": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}
}
}
added required | boolean |
person_id required | number <double> (PersonId) The person id. |
community_id required | number <double> (CommunityId) The community id. |
{- "added": true,
- "person_id": 0.1,
- "community_id": 0.1
}
{- "moderators": [
- {
- "moderator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}
}
]
}
show_nsfw | boolean |
type_ | string (ListingType) Enum: "All" "Local" "Subscribed" "ModeratorView" A listing type for post and comment list fetches. |
{- "discussion_languages": [
- 0.1
], - "community_view": {
- "can_mod": true,
- "banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "subscribers_local": 0.1,
- "users_active_half_year": 0.1,
- "users_active_month": 0.1,
- "users_active_week": 0.1,
- "users_active_day": 0.1,
- "published": "string",
- "comments": 0.1,
- "posts": 0.1,
- "subscribers": 0.1,
- "community_id": 0.1
}, - "blocked": true,
- "subscribed": "Subscribed",
- "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}
}
}
reason | string |
removed required | boolean |
community_id required | number <double> (CommunityId) The community id. |
{- "reason": "string",
- "removed": true,
- "community_id": 0.1
}
{- "discussion_languages": [
- 0.1
], - "community_view": {
- "can_mod": true,
- "banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "subscribers_local": 0.1,
- "users_active_half_year": 0.1,
- "users_active_month": 0.1,
- "users_active_week": 0.1,
- "users_active_day": 0.1,
- "published": "string",
- "comments": 0.1,
- "posts": 0.1,
- "subscribers": 0.1,
- "community_id": 0.1
}, - "blocked": true,
- "subscribed": "Subscribed",
- "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}
}
}
person_id required | number <double> (PersonId) The person id. |
community_id required | number <double> (CommunityId) The community id. |
{- "person_id": 0.1,
- "community_id": 0.1
}
{- "discussion_languages": [
- 0.1
], - "moderators": [
- {
- "moderator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}
}
], - "site": {
- "content_warning": "string",
- "instance_id": 0.1,
- "public_key": "string",
- "inbox_url": "string",
- "last_refreshed_at": "string",
- "ap_id": "string",
- "description": "string",
- "banner": "string",
- "icon": "string",
- "updated": "string",
- "published": "string",
- "sidebar": "string",
- "name": "string",
- "id": 0.1
}, - "community_view": {
- "can_mod": true,
- "banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "subscribers_local": 0.1,
- "users_active_half_year": 0.1,
- "users_active_month": 0.1,
- "users_active_week": 0.1,
- "users_active_day": 0.1,
- "published": "string",
- "comments": 0.1,
- "posts": 0.1,
- "subscribers": 0.1,
- "community_id": 0.1
}, - "blocked": true,
- "subscribed": "Subscribed",
- "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}
}
}
expires | number <double> A time that the ban will expire, in unix epoch seconds. An i64 unix timestamp is used for a simpler API client implementation. |
reason | string |
remove_or_restore_data | boolean Optionally remove or restore all their data. Useful for new troll accounts. If ban is true, then this means remove. If ban is false, it means restore. |
ban required | boolean |
person_id required | number <double> (PersonId) The person id. |
community_id required | number <double> (CommunityId) The community id. |
{- "expires": 0.1,
- "reason": "string",
- "remove_or_restore_data": true,
- "ban": true,
- "person_id": 0.1,
- "community_id": 0.1
}
{- "banned": true,
- "person_view": {
- "is_admin": true,
- "counts": {
- "published": "string",
- "comment_count": 0.1,
- "post_count": 0.1,
- "person_id": 0.1
}, - "person": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}
}
}
added required | boolean |
person_id required | number <double> (PersonId) The person id. |
community_id required | number <double> (CommunityId) The community id. |
{- "added": true,
- "person_id": 0.1,
- "community_id": 0.1
}
{- "moderators": [
- {
- "moderator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}
}
]
}
reason | string |
removed required | boolean |
post_id required | number <double> (PostId) The post id. |
{- "reason": "string",
- "removed": true,
- "post_id": 0.1
}
{- "post_view": {
- "can_mod": true,
- "tags": {
- "tags": [
- {
- "deleted": true,
- "updated": "string",
- "published": "string",
- "community_id": 0.1,
- "name": "string",
- "ap_id": "string",
- "id": 0.1
}
]
}, - "unread_comments": 0.1,
- "my_vote": 0.1,
- "creator_blocked": true,
- "hidden": true,
- "read": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "newest_comment_time": "string",
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comments": 0.1,
- "post_id": 0.1
}, - "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "image_details": {
- "blurhash": "string",
- "content_type": "string",
- "height": 0.1,
- "width": 0.1,
- "link": "string"
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}
}
}
feature_type required | string (PostFeatureType) Enum: "Local" "Community" The feature type for a post. |
featured required | boolean |
post_id required | number <double> (PostId) The post id. |
{- "feature_type": "Local",
- "featured": true,
- "post_id": 0.1
}
{- "post_view": {
- "can_mod": true,
- "tags": {
- "tags": [
- {
- "deleted": true,
- "updated": "string",
- "published": "string",
- "community_id": 0.1,
- "name": "string",
- "ap_id": "string",
- "id": 0.1
}
]
}, - "unread_comments": 0.1,
- "my_vote": 0.1,
- "creator_blocked": true,
- "hidden": true,
- "read": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "newest_comment_time": "string",
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comments": 0.1,
- "post_id": 0.1
}, - "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "image_details": {
- "blurhash": "string",
- "content_type": "string",
- "height": 0.1,
- "width": 0.1,
- "link": "string"
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}
}
}
resolved required | boolean |
report_id required | number <double> (PostReportId) The post report id. |
{- "resolved": true,
- "report_id": 0.1
}
{- "post_report_view": {
- "resolver": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "newest_comment_time": "string",
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comments": 0.1,
- "post_id": 0.1
}, - "unread_comments": 0.1,
- "my_vote": 0.1,
- "creator_blocked": true,
- "hidden": true,
- "read": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "creator_is_admin": true,
- "creator_is_moderator": true,
- "creator_banned_from_community": true,
- "post_creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}, - "post_report": {
- "violates_instance_rules": true,
- "updated": "string",
- "published": "string",
- "resolver_id": 0.1,
- "resolved": true,
- "reason": "string",
- "original_post_body": "string",
- "original_post_url": "string",
- "original_post_name": "string",
- "post_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}
}
}
reason | string |
removed required | boolean |
comment_id required | number <double> (CommentId) The comment id. |
{- "reason": "string",
- "removed": true,
- "comment_id": 0.1
}
{- "recipient_ids": [
- 0.1
], - "comment_view": {
- "can_mod": true,
- "my_vote": 0.1,
- "creator_blocked": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "child_count": 0.1,
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comment_id": 0.1
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "comment": {
- "language_id": 0.1,
- "distinguished": true,
- "path": "string",
- "local": true,
- "ap_id": "string",
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "content": "string",
- "post_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}
}
}
distinguished required | boolean |
comment_id required | number <double> (CommentId) The comment id. |
{- "distinguished": true,
- "comment_id": 0.1
}
{- "recipient_ids": [
- 0.1
], - "comment_view": {
- "can_mod": true,
- "my_vote": 0.1,
- "creator_blocked": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "child_count": 0.1,
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comment_id": 0.1
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "comment": {
- "language_id": 0.1,
- "distinguished": true,
- "path": "string",
- "local": true,
- "ap_id": "string",
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "content": "string",
- "post_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}
}
}
resolved required | boolean |
report_id required | number <double> (CommentReportId) The comment report id. |
{- "resolved": true,
- "report_id": 0.1
}
{- "comment_report_view": {
- "resolver": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "my_vote": 0.1,
- "saved": "string",
- "subscribed": "Subscribed",
- "creator_blocked": true,
- "creator_is_admin": true,
- "creator_is_moderator": true,
- "creator_banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "child_count": 0.1,
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comment_id": 0.1
}, - "comment_creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}, - "comment": {
- "language_id": 0.1,
- "distinguished": true,
- "path": "string",
- "local": true,
- "ap_id": "string",
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "content": "string",
- "post_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}, - "comment_report": {
- "violates_instance_rules": true,
- "updated": "string",
- "published": "string",
- "resolver_id": 0.1,
- "resolved": true,
- "reason": "string",
- "original_comment_text": "string",
- "comment_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}
}
}
scheduled_publish_time | number <double> Time when this post should be scheduled. Null means publish immediately. |
tags | Array of numbers <double> (TagId) [ items <double > ] |
custom_thumbnail | string Instead of fetching a thumbnail, use a custom one. |
language_id | number <double> (LanguageId) The language id. |
nsfw | boolean |
honeypot | string A honeypot to catch bots. Should be None. |
alt_text | string An optional alt_text, usable for image posts. |
body | string An optional body for the post in markdown. |
url | string |
community_id required | number <double> (CommunityId) The community id. |
name required | string |
{- "scheduled_publish_time": 0.1,
- "tags": [
- 0.1
], - "custom_thumbnail": "string",
- "language_id": 0.1,
- "nsfw": true,
- "honeypot": "string",
- "alt_text": "string",
- "body": "string",
- "url": "string",
- "community_id": 0.1,
- "name": "string"
}
{- "post_view": {
- "can_mod": true,
- "tags": {
- "tags": [
- {
- "deleted": true,
- "updated": "string",
- "published": "string",
- "community_id": 0.1,
- "name": "string",
- "ap_id": "string",
- "id": 0.1
}
]
}, - "unread_comments": 0.1,
- "my_vote": 0.1,
- "creator_blocked": true,
- "hidden": true,
- "read": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "newest_comment_time": "string",
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comments": 0.1,
- "post_id": 0.1
}, - "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "image_details": {
- "blurhash": "string",
- "content_type": "string",
- "height": 0.1,
- "width": 0.1,
- "link": "string"
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}
}
}
comment_id | number <double> (CommentId) The comment id. |
id | number <double> (PostId) The post id. |
{- "cross_posts": [
- {
- "can_mod": true,
- "tags": {
- "tags": [
- {
- "deleted": true,
- "updated": "string",
- "published": "string",
- "community_id": 0.1,
- "name": "string",
- "ap_id": "string",
- "id": 0.1
}
]
}, - "unread_comments": 0.1,
- "my_vote": 0.1,
- "creator_blocked": true,
- "hidden": true,
- "read": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "newest_comment_time": "string",
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comments": 0.1,
- "post_id": 0.1
}, - "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "image_details": {
- "blurhash": "string",
- "content_type": "string",
- "height": 0.1,
- "width": 0.1,
- "link": "string"
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}
}
], - "community_view": {
- "can_mod": true,
- "banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "subscribers_local": 0.1,
- "users_active_half_year": 0.1,
- "users_active_month": 0.1,
- "users_active_week": 0.1,
- "users_active_day": 0.1,
- "published": "string",
- "comments": 0.1,
- "posts": 0.1,
- "subscribers": 0.1,
- "community_id": 0.1
}, - "blocked": true,
- "subscribed": "Subscribed",
- "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}
}, - "post_view": {
- "can_mod": true,
- "tags": {
- "tags": [
- {
- "deleted": true,
- "updated": "string",
- "published": "string",
- "community_id": 0.1,
- "name": "string",
- "ap_id": "string",
- "id": 0.1
}
]
}, - "unread_comments": 0.1,
- "my_vote": 0.1,
- "creator_blocked": true,
- "hidden": true,
- "read": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "newest_comment_time": "string",
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comments": 0.1,
- "post_id": 0.1
}, - "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "image_details": {
- "blurhash": "string",
- "content_type": "string",
- "height": 0.1,
- "width": 0.1,
- "link": "string"
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}
}
}
scheduled_publish_time | number <double> Time when this post should be scheduled. Null means publish immediately. |
tags | Array of numbers <double> (TagId) [ items <double > ] |
custom_thumbnail | string Instead of fetching a thumbnail, use a custom one. |
language_id | number <double> (LanguageId) The language id. |
nsfw | boolean |
alt_text | string An optional alt_text, usable for image posts. |
body | string An optional body for the post in markdown. |
url | string |
name | string |
post_id required | number <double> (PostId) The post id. |
{- "scheduled_publish_time": 0.1,
- "tags": [
- 0.1
], - "custom_thumbnail": "string",
- "language_id": 0.1,
- "nsfw": true,
- "alt_text": "string",
- "body": "string",
- "url": "string",
- "name": "string",
- "post_id": 0.1
}
{- "post_view": {
- "can_mod": true,
- "tags": {
- "tags": [
- {
- "deleted": true,
- "updated": "string",
- "published": "string",
- "community_id": 0.1,
- "name": "string",
- "ap_id": "string",
- "id": 0.1
}
]
}, - "unread_comments": 0.1,
- "my_vote": 0.1,
- "creator_blocked": true,
- "hidden": true,
- "read": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "newest_comment_time": "string",
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comments": 0.1,
- "post_id": 0.1
}, - "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "image_details": {
- "blurhash": "string",
- "content_type": "string",
- "height": 0.1,
- "width": 0.1,
- "link": "string"
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}
}
}
deleted required | boolean |
post_id required | number <double> (PostId) The post id. |
{- "deleted": true,
- "post_id": 0.1
}
{- "post_view": {
- "can_mod": true,
- "tags": {
- "tags": [
- {
- "deleted": true,
- "updated": "string",
- "published": "string",
- "community_id": 0.1,
- "name": "string",
- "ap_id": "string",
- "id": 0.1
}
]
}, - "unread_comments": 0.1,
- "my_vote": 0.1,
- "creator_blocked": true,
- "hidden": true,
- "read": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "newest_comment_time": "string",
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comments": 0.1,
- "post_id": 0.1
}, - "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "image_details": {
- "blurhash": "string",
- "content_type": "string",
- "height": 0.1,
- "width": 0.1,
- "link": "string"
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}
}
}
reason | string |
removed required | boolean |
post_id required | number <double> (PostId) The post id. |
{- "reason": "string",
- "removed": true,
- "post_id": 0.1
}
{- "post_view": {
- "can_mod": true,
- "tags": {
- "tags": [
- {
- "deleted": true,
- "updated": "string",
- "published": "string",
- "community_id": 0.1,
- "name": "string",
- "ap_id": "string",
- "id": 0.1
}
]
}, - "unread_comments": 0.1,
- "my_vote": 0.1,
- "creator_blocked": true,
- "hidden": true,
- "read": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "newest_comment_time": "string",
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comments": 0.1,
- "post_id": 0.1
}, - "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "image_details": {
- "blurhash": "string",
- "content_type": "string",
- "height": 0.1,
- "width": 0.1,
- "link": "string"
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}
}
}
read required | boolean |
post_id required | number <double> (PostId) The post id. |
{- "read": true,
- "post_id": 0.1
}
{- "success": true
}
post_ids required | Array of numbers <double> (PostId) [ items <double > ] |
{- "post_ids": [
- 0.1
]
}
{- "success": true
}
hide required | boolean |
post_id required | number <double> (PostId) The post id. |
{- "hide": true,
- "post_id": 0.1
}
{- "success": true
}
locked required | boolean |
post_id required | number <double> (PostId) The post id. |
{- "locked": true,
- "post_id": 0.1
}
{- "post_view": {
- "can_mod": true,
- "tags": {
- "tags": [
- {
- "deleted": true,
- "updated": "string",
- "published": "string",
- "community_id": 0.1,
- "name": "string",
- "ap_id": "string",
- "id": 0.1
}
]
}, - "unread_comments": 0.1,
- "my_vote": 0.1,
- "creator_blocked": true,
- "hidden": true,
- "read": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "newest_comment_time": "string",
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comments": 0.1,
- "post_id": 0.1
}, - "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "image_details": {
- "blurhash": "string",
- "content_type": "string",
- "height": 0.1,
- "width": 0.1,
- "link": "string"
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}
}
}
feature_type required | string (PostFeatureType) Enum: "Local" "Community" The feature type for a post. |
featured required | boolean |
post_id required | number <double> (PostId) The post id. |
{- "feature_type": "Local",
- "featured": true,
- "post_id": 0.1
}
{- "post_view": {
- "can_mod": true,
- "tags": {
- "tags": [
- {
- "deleted": true,
- "updated": "string",
- "published": "string",
- "community_id": 0.1,
- "name": "string",
- "ap_id": "string",
- "id": 0.1
}
]
}, - "unread_comments": 0.1,
- "my_vote": 0.1,
- "creator_blocked": true,
- "hidden": true,
- "read": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "newest_comment_time": "string",
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comments": 0.1,
- "post_id": 0.1
}, - "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "image_details": {
- "blurhash": "string",
- "content_type": "string",
- "height": 0.1,
- "width": 0.1,
- "link": "string"
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}
}
}
page_back | boolean |
page_cursor | string (PaginationCursor) currently this is just a wrapper around post id, but should be seen as opaque from the client's perspective. stringified since we might want to use arbitrary info later, with a P prepended to prevent ossification (api users love to make assumptions (e.g. parse stuff that looks like numbers as numbers) about apis that aren't part of the spec |
no_comments_only | boolean If true, then only show posts with no comments |
mark_as_read | boolean Whether to automatically mark fetched posts as read. |
hide_media | boolean If false, then show posts with media attached (even if your user setting is to hide them) |
show_nsfw | boolean If true, then show the nsfw posts (even if your user setting is to hide them) |
show_read | boolean If true, then show the read posts (even if your user setting is to hide them) |
show_hidden | boolean |
disliked_only | boolean |
liked_only | boolean |
read_only | boolean |
saved_only | boolean |
community_name | string |
community_id | number <double> (CommunityId) The community id. |
limit | number <double> |
page | number <double> DEPRECATED, use page_cursor |
time_range_seconds | number <double> Filter to within a given time range, in seconds. IE 60 would give results for the past minute. Use Zero to override the local_site and local_user time_range. |
sort | string (PostSortType) Enum: "Active" "Hot" "New" "Old" "Top" "MostComments" "NewComments" "Controversial" "Scaled" The post sort types. See here for descriptions: https://join-lemmy.org/docs/en/users/03-votes-and-ranking.html |
type_ | string (ListingType) Enum: "All" "Local" "Subscribed" "ModeratorView" A listing type for post and comment list fetches. |
{- "next_page": "string",
- "posts": [
- {
- "can_mod": true,
- "tags": {
- "tags": [
- {
- "deleted": true,
- "updated": "string",
- "published": "string",
- "community_id": 0.1,
- "name": "string",
- "ap_id": "string",
- "id": 0.1
}
]
}, - "unread_comments": 0.1,
- "my_vote": 0.1,
- "creator_blocked": true,
- "hidden": true,
- "read": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "newest_comment_time": "string",
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comments": 0.1,
- "post_id": 0.1
}, - "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "image_details": {
- "blurhash": "string",
- "content_type": "string",
- "height": 0.1,
- "width": 0.1,
- "link": "string"
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}
}
]
}
score required | number <double> Score must be -1, 0, or 1. |
post_id required | number <double> (PostId) The post id. |
{- "score": 0.1,
- "post_id": 0.1
}
{- "post_view": {
- "can_mod": true,
- "tags": {
- "tags": [
- {
- "deleted": true,
- "updated": "string",
- "published": "string",
- "community_id": 0.1,
- "name": "string",
- "ap_id": "string",
- "id": 0.1
}
]
}, - "unread_comments": 0.1,
- "my_vote": 0.1,
- "creator_blocked": true,
- "hidden": true,
- "read": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "newest_comment_time": "string",
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comments": 0.1,
- "post_id": 0.1
}, - "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "image_details": {
- "blurhash": "string",
- "content_type": "string",
- "height": 0.1,
- "width": 0.1,
- "link": "string"
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}
}
}
limit | number <double> |
page | number <double> |
post_id required | number <double> (PostId) The post id. |
{- "post_likes": [
- {
- "score": 0.1,
- "creator_banned_from_community": true,
- "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}
}
]
}
save required | boolean |
post_id required | number <double> (PostId) The post id. |
{- "save": true,
- "post_id": 0.1
}
{- "post_view": {
- "can_mod": true,
- "tags": {
- "tags": [
- {
- "deleted": true,
- "updated": "string",
- "published": "string",
- "community_id": 0.1,
- "name": "string",
- "ap_id": "string",
- "id": 0.1
}
]
}, - "unread_comments": 0.1,
- "my_vote": 0.1,
- "creator_blocked": true,
- "hidden": true,
- "read": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "newest_comment_time": "string",
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comments": 0.1,
- "post_id": 0.1
}, - "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "image_details": {
- "blurhash": "string",
- "content_type": "string",
- "height": 0.1,
- "width": 0.1,
- "link": "string"
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}
}
}
violates_instance_rules | boolean |
reason required | string |
post_id required | number <double> (PostId) The post id. |
{- "violates_instance_rules": true,
- "reason": "string",
- "post_id": 0.1
}
{- "post_report_view": {
- "resolver": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "newest_comment_time": "string",
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comments": 0.1,
- "post_id": 0.1
}, - "unread_comments": 0.1,
- "my_vote": 0.1,
- "creator_blocked": true,
- "hidden": true,
- "read": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "creator_is_admin": true,
- "creator_is_moderator": true,
- "creator_banned_from_community": true,
- "post_creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}, - "post_report": {
- "violates_instance_rules": true,
- "updated": "string",
- "published": "string",
- "resolver_id": 0.1,
- "resolved": true,
- "reason": "string",
- "original_post_body": "string",
- "original_post_url": "string",
- "original_post_name": "string",
- "post_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}
}
}
resolved required | boolean |
report_id required | number <double> (PostReportId) The post report id. |
{- "resolved": true,
- "report_id": 0.1
}
{- "post_report_view": {
- "resolver": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "newest_comment_time": "string",
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comments": 0.1,
- "post_id": 0.1
}, - "unread_comments": 0.1,
- "my_vote": 0.1,
- "creator_blocked": true,
- "hidden": true,
- "read": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "creator_is_admin": true,
- "creator_is_moderator": true,
- "creator_banned_from_community": true,
- "post_creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}, - "post_report": {
- "violates_instance_rules": true,
- "updated": "string",
- "published": "string",
- "resolver_id": 0.1,
- "resolved": true,
- "reason": "string",
- "original_post_body": "string",
- "original_post_url": "string",
- "original_post_name": "string",
- "post_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}
}
}
read required | boolean |
person_post_mention_id required | number <double> (PersonPostMentionId) The person post mention id. |
{- "read": true,
- "person_post_mention_id": 0.1
}
{- "success": true
}
language_id | number <double> (LanguageId) The language id. |
parent_id | number <double> (CommentId) The comment id. |
post_id required | number <double> (PostId) The post id. |
content required | string |
{- "language_id": 0.1,
- "parent_id": 0.1,
- "post_id": 0.1,
- "content": "string"
}
{- "recipient_ids": [
- 0.1
], - "comment_view": {
- "can_mod": true,
- "my_vote": 0.1,
- "creator_blocked": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "child_count": 0.1,
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comment_id": 0.1
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "comment": {
- "language_id": 0.1,
- "distinguished": true,
- "path": "string",
- "local": true,
- "ap_id": "string",
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "content": "string",
- "post_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}
}
}
language_id | number <double> (LanguageId) The language id. |
content | string |
comment_id required | number <double> (CommentId) The comment id. |
{- "language_id": 0.1,
- "content": "string",
- "comment_id": 0.1
}
{- "recipient_ids": [
- 0.1
], - "comment_view": {
- "can_mod": true,
- "my_vote": 0.1,
- "creator_blocked": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "child_count": 0.1,
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comment_id": 0.1
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "comment": {
- "language_id": 0.1,
- "distinguished": true,
- "path": "string",
- "local": true,
- "ap_id": "string",
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "content": "string",
- "post_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}
}
}
id required | number <double> (CommentId) The comment id. |
{- "recipient_ids": [
- 0.1
], - "comment_view": {
- "can_mod": true,
- "my_vote": 0.1,
- "creator_blocked": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "child_count": 0.1,
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comment_id": 0.1
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "comment": {
- "language_id": 0.1,
- "distinguished": true,
- "path": "string",
- "local": true,
- "ap_id": "string",
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "content": "string",
- "post_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}
}
}
deleted required | boolean |
comment_id required | number <double> (CommentId) The comment id. |
{- "deleted": true,
- "comment_id": 0.1
}
{- "recipient_ids": [
- 0.1
], - "comment_view": {
- "can_mod": true,
- "my_vote": 0.1,
- "creator_blocked": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "child_count": 0.1,
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comment_id": 0.1
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "comment": {
- "language_id": 0.1,
- "distinguished": true,
- "path": "string",
- "local": true,
- "ap_id": "string",
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "content": "string",
- "post_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}
}
}
reason | string |
removed required | boolean |
comment_id required | number <double> (CommentId) The comment id. |
{- "reason": "string",
- "removed": true,
- "comment_id": 0.1
}
{- "recipient_ids": [
- 0.1
], - "comment_view": {
- "can_mod": true,
- "my_vote": 0.1,
- "creator_blocked": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "child_count": 0.1,
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comment_id": 0.1
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "comment": {
- "language_id": 0.1,
- "distinguished": true,
- "path": "string",
- "local": true,
- "ap_id": "string",
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "content": "string",
- "post_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}
}
}
read required | boolean |
comment_reply_id required | number <double> (CommentReplyId) The comment reply id. |
{- "read": true,
- "comment_reply_id": 0.1
}
{- "success": true
}
score required | number <double> Must be -1, 0, or 1 . |
comment_id required | number <double> (CommentId) The comment id. |
{- "score": 0.1,
- "comment_id": 0.1
}
{- "recipient_ids": [
- 0.1
], - "comment_view": {
- "can_mod": true,
- "my_vote": 0.1,
- "creator_blocked": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "child_count": 0.1,
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comment_id": 0.1
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "comment": {
- "language_id": 0.1,
- "distinguished": true,
- "path": "string",
- "local": true,
- "ap_id": "string",
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "content": "string",
- "post_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}
}
}
limit | number <double> |
page | number <double> |
comment_id required | number <double> (CommentId) The comment id. |
{- "comment_likes": [
- {
- "score": 0.1,
- "creator_banned_from_community": true,
- "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}
}
]
}
save required | boolean |
comment_id required | number <double> (CommentId) The comment id. |
{- "save": true,
- "comment_id": 0.1
}
{- "recipient_ids": [
- 0.1
], - "comment_view": {
- "can_mod": true,
- "my_vote": 0.1,
- "creator_blocked": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "child_count": 0.1,
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comment_id": 0.1
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "comment": {
- "language_id": 0.1,
- "distinguished": true,
- "path": "string",
- "local": true,
- "ap_id": "string",
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "content": "string",
- "post_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}
}
}
distinguished required | boolean |
comment_id required | number <double> (CommentId) The comment id. |
{- "distinguished": true,
- "comment_id": 0.1
}
{- "recipient_ids": [
- 0.1
], - "comment_view": {
- "can_mod": true,
- "my_vote": 0.1,
- "creator_blocked": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "child_count": 0.1,
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comment_id": 0.1
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "comment": {
- "language_id": 0.1,
- "distinguished": true,
- "path": "string",
- "local": true,
- "ap_id": "string",
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "content": "string",
- "post_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}
}
}
disliked_only | boolean |
liked_only | boolean |
parent_id | number <double> (CommentId) The comment id. |
post_id | number <double> (PostId) The post id. |
community_name | string |
community_id | number <double> (CommunityId) The community id. |
limit | number <double> |
page | number <double> |
max_depth | number <double> |
time_range_seconds | number <double> Filter to within a given time range, in seconds. IE 60 would give results for the past minute. |
sort | string (CommentSortType) Enum: "Hot" "Top" "New" "Old" "Controversial" The comment sort types. See here for descriptions: https://join-lemmy.org/docs/en/users/03-votes-and-ranking.html |
type_ | string (ListingType) Enum: "All" "Local" "Subscribed" "ModeratorView" A listing type for post and comment list fetches. |
{- "comments": [
- {
- "can_mod": true,
- "my_vote": 0.1,
- "creator_blocked": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "child_count": 0.1,
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comment_id": 0.1
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "comment": {
- "language_id": 0.1,
- "distinguished": true,
- "path": "string",
- "local": true,
- "ap_id": "string",
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "content": "string",
- "post_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}
}
]
}
disliked_only | boolean |
liked_only | boolean |
parent_id | number <double> (CommentId) The comment id. |
post_id | number <double> (PostId) The post id. |
community_name | string |
community_id | number <double> (CommunityId) The community id. |
limit | number <double> |
page | number <double> |
max_depth | number <double> |
time_range_seconds | number <double> Filter to within a given time range, in seconds. IE 60 would give results for the past minute. |
sort | string (CommentSortType) Enum: "Hot" "Top" "New" "Old" "Controversial" The comment sort types. See here for descriptions: https://join-lemmy.org/docs/en/users/03-votes-and-ranking.html |
type_ | string (ListingType) Enum: "All" "Local" "Subscribed" "ModeratorView" A listing type for post and comment list fetches. |
{- "comments": [
- {
- "can_mod": true,
- "my_vote": 0.1,
- "creator_blocked": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "child_count": 0.1,
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comment_id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "comment": {
- "language_id": 0.1,
- "distinguished": true,
- "path": "string",
- "local": true,
- "ap_id": "string",
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "content": "string",
- "post_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}
}
]
}
violates_instance_rules | boolean |
reason required | string |
comment_id required | number <double> (CommentId) The comment id. |
{- "violates_instance_rules": true,
- "reason": "string",
- "comment_id": 0.1
}
{- "comment_report_view": {
- "resolver": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "my_vote": 0.1,
- "saved": "string",
- "subscribed": "Subscribed",
- "creator_blocked": true,
- "creator_is_admin": true,
- "creator_is_moderator": true,
- "creator_banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "child_count": 0.1,
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comment_id": 0.1
}, - "comment_creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}, - "comment": {
- "language_id": 0.1,
- "distinguished": true,
- "path": "string",
- "local": true,
- "ap_id": "string",
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "content": "string",
- "post_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}, - "comment_report": {
- "violates_instance_rules": true,
- "updated": "string",
- "published": "string",
- "resolver_id": 0.1,
- "resolved": true,
- "reason": "string",
- "original_comment_text": "string",
- "comment_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}
}
}
resolved required | boolean |
report_id required | number <double> (CommentReportId) The comment report id. |
{- "resolved": true,
- "report_id": 0.1
}
{- "comment_report_view": {
- "resolver": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "my_vote": 0.1,
- "saved": "string",
- "subscribed": "Subscribed",
- "creator_blocked": true,
- "creator_is_admin": true,
- "creator_is_moderator": true,
- "creator_banned_from_community": true,
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "child_count": 0.1,
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comment_id": 0.1
}, - "comment_creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}, - "comment": {
- "language_id": 0.1,
- "distinguished": true,
- "path": "string",
- "local": true,
- "ap_id": "string",
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "content": "string",
- "post_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}, - "comment_report": {
- "violates_instance_rules": true,
- "updated": "string",
- "published": "string",
- "resolver_id": 0.1,
- "resolved": true,
- "reason": "string",
- "original_comment_text": "string",
- "comment_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}
}
}
recipient_id required | number <double> (PersonId) The person id. |
content required | string |
{- "recipient_id": 0.1,
- "content": "string"
}
{- "private_message_view": {
- "recipient": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "private_message": {
- "removed": true,
- "local": true,
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "read": true,
- "deleted": true,
- "content": "string",
- "recipient_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}
}
}
content required | string |
private_message_id required | number <double> (PrivateMessageId) The private message id. |
{- "content": "string",
- "private_message_id": 0.1
}
{- "private_message_view": {
- "recipient": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "private_message": {
- "removed": true,
- "local": true,
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "read": true,
- "deleted": true,
- "content": "string",
- "recipient_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}
}
}
deleted required | boolean |
private_message_id required | number <double> (PrivateMessageId) The private message id. |
{- "deleted": true,
- "private_message_id": 0.1
}
{- "private_message_view": {
- "recipient": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "private_message": {
- "removed": true,
- "local": true,
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "read": true,
- "deleted": true,
- "content": "string",
- "recipient_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}
}
}
read required | boolean |
private_message_id required | number <double> (PrivateMessageId) The private message id. |
{- "read": true,
- "private_message_id": 0.1
}
{- "private_message_view": {
- "recipient": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "private_message": {
- "removed": true,
- "local": true,
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "read": true,
- "deleted": true,
- "content": "string",
- "recipient_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}
}
}
reason required | string |
private_message_id required | number <double> (PrivateMessageId) The private message id. |
{- "reason": "string",
- "private_message_id": 0.1
}
{- "private_message_report_view": {
- "resolver": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "private_message_creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "private_message": {
- "removed": true,
- "local": true,
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "read": true,
- "deleted": true,
- "content": "string",
- "recipient_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}, - "private_message_report": {
- "updated": "string",
- "published": "string",
- "resolver_id": 0.1,
- "resolved": true,
- "reason": "string",
- "original_pm_text": "string",
- "private_message_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}
}
}
resolved required | boolean |
report_id required | number <double> (PrivateMessageReportId) The private message report id. |
{- "resolved": true,
- "report_id": 0.1
}
{- "private_message_report_view": {
- "resolver": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "private_message_creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "private_message": {
- "removed": true,
- "local": true,
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "read": true,
- "deleted": true,
- "content": "string",
- "recipient_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}, - "private_message_report": {
- "updated": "string",
- "published": "string",
- "resolver_id": 0.1,
- "resolved": true,
- "reason": "string",
- "original_pm_text": "string",
- "private_message_id": 0.1,
- "creator_id": 0.1,
- "id": 0.1
}
}
}
username | string Example: dessalines , or dessalines@xyz.tld |
person_id | number <double> (PersonId) The person id. |
{- "moderates": [
- {
- "moderator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}
}
], - "site": {
- "content_warning": "string",
- "instance_id": 0.1,
- "public_key": "string",
- "inbox_url": "string",
- "last_refreshed_at": "string",
- "ap_id": "string",
- "description": "string",
- "banner": "string",
- "icon": "string",
- "updated": "string",
- "published": "string",
- "sidebar": "string",
- "name": "string",
- "id": 0.1
}, - "person_view": {
- "is_admin": true,
- "counts": {
- "published": "string",
- "comment_count": 0.1,
- "post_count": 0.1,
- "person_id": 0.1
}, - "person": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}
}
}
page_back | boolean |
page_cursor | string (PersonContentCombinedPaginationCursor) like PaginationCursor but for the person_content_combined table |
username | string Example: dessalines , or dessalines@xyz.tld |
person_id | number <double> (PersonId) The person id. |
type_ | string (PersonContentType) Enum: "All" "Comments" "Posts" A list of possible types for a person's content. |
{- "content": [
- {
- "type_": "Post",
- "can_mod": true,
- "tags": {
- "tags": [
- {
- "deleted": true,
- "updated": "string",
- "published": "string",
- "community_id": 0.1,
- "name": "string",
- "ap_id": "string",
- "id": 0.1
}
]
}, - "unread_comments": 0.1,
- "my_vote": 0.1,
- "creator_blocked": true,
- "hidden": true,
- "read": true,
- "saved": "string",
- "subscribed": "Subscribed",
- "counts": {
- "unresolved_report_count": 0.1,
- "report_count": 0.1,
- "newest_comment_time": "string",
- "published": "string",
- "downvotes": 0.1,
- "upvotes": 0.1,
- "score": 0.1,
- "comments": 0.1,
- "post_id": 0.1
}, - "creator_is_admin": true,
- "creator_is_moderator": true,
- "banned_from_community": true,
- "creator_banned_from_community": true,
- "image_details": {
- "blurhash": "string",
- "content_type": "string",
- "height": 0.1,
- "width": 0.1,
- "link": "string"
}, - "community": {
- "description": "string",
- "visibility": "Public",
- "instance_id": 0.1,
- "posting_restricted_to_mods": true,
- "hidden": true,
- "banner": "string",
- "icon": "string",
- "local": true,
- "ap_id": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "removed": true,
- "sidebar": "string",
- "title": "string",
- "name": "string",
- "id": 0.1
}, - "creator": {
- "instance_id": 0.1,
- "ban_expires": "string",
- "bot_account": true,
- "matrix_user_id": "string",
- "deleted": true,
- "banner": "string",
- "local": true,
- "bio": "string",
- "ap_id": "string",
- "updated": "string",
- "published": "string",
- "banned": true,
- "avatar": "string",
- "display_name": "string",
- "name": "string",
- "id": 0.1
}, - "post": {
- "scheduled_publish_time": "string",
- "alt_text": "string",
- "url_content_type": "string",
- "featured_local": true,
- "featured_community": true,
- "language_id": 0.1,
- "embed_video_url": "string",
- "local": true,
- "ap_id": "string",
- "thumbnail_url": "string",
- "embed_description": "string",
- "embed_title": "string",
- "nsfw": true,
- "deleted": true,
- "updated": "string",
- "published": "string",
- "locked": true,
- "removed": true,
- "community_id": 0.1,
- "creator_id": 0.1,
- "body": "string",
- "url": "string",
- "name": "string",
- "id": 0.1
}
}
]
}
read required | boolean |
person_comment_mention_id required | number <double> (PersonCommentMentionId) The person comment mention id. |
{- "read": true,
- "person_comment_mention_id": 0.1
}
{- "success": true
}
keywords required | Array of strings |
alt_text required | string |
image_url required | string |
shortcode required | string |
category required | string |
{- "keywords": [
- "string"
], - "alt_text": "string",
- "image_url": "string",
- "shortcode": "string",
- "category": "string"
}
{- "custom_emoji": {
- "keywords": [
- {
- "keyword": "string",
- "custom_emoji_id": 0.1
}
], - "custom_emoji": {
- "updated": "string",
- "published": "string",
- "category": "string",
- "alt_text": "string",
- "image_url": "string",
- "shortcode": "string",
- "id": 0.1
}
}
}
keywords required | Array of strings |
alt_text required | string |
image_url required | string |
category required | string |
id required | number <double> (CustomEmojiId) The custom emoji id. |
{- "keywords": [
- "string"
], - "alt_text": "string",
- "image_url": "string",
- "category": "string",
- "id": 0.1
}
{- "custom_emoji": {
- "keywords": [
- {
- "keyword": "string",
- "custom_emoji_id": 0.1
}
], - "custom_emoji": {
- "updated": "string",
- "published": "string",
- "category": "string",
- "alt_text": "string",
- "image_url": "string",
- "shortcode": "string",
- "id": 0.1
}
}
}
ignore_page_limits | boolean |
category | string |
limit | number <double> |
page | number <double> |
{- "custom_emojis": [
- {
- "keywords": [
- {
- "keyword": "string",
- "custom_emoji_id": 0.1
}
], - "custom_emoji": {
- "updated": "string",
- "published": "string",
- "category": "string",
- "alt_text": "string",
- "image_url": "string",
- "shortcode": "string",
- "id": 0.1
}
}
]
}
content required | string |
{- "content": "string"
}
{- "tagline": {
- "updated": "string",
- "published": "string",
- "content": "string",
- "id": 0.1
}
}
content required | string |
id required | number <double> (TaglineId) The tagline id. |
{- "content": "string",
- "id": 0.1
}
{- "tagline": {
- "updated": "string",
- "published": "string",
- "content": "string",
- "id": 0.1
}
}
enabled | boolean |
use_pkce | boolean |
account_linking_enabled | boolean |
auto_verify_email | boolean |
scopes required | string |
client_secret required | string |
client_id required | string |
id_claim required | string |
userinfo_endpoint required | string |
token_endpoint required | string |
authorization_endpoint required | string |
issuer required | string |
display_name required | string |
{- "enabled": true,
- "use_pkce": true,
- "account_linking_enabled": true,
- "auto_verify_email": true,
- "scopes": "string",
- "client_secret": "string",
- "client_id": "string",
- "id_claim": "string",
- "userinfo_endpoint": "string",
- "token_endpoint": "string",
- "authorization_endpoint": "string",
- "issuer": "string",
- "display_name": "string"
}
{- "use_pkce": true,
- "updated": "string",
- "published": "string",
- "enabled": true,
- "account_linking_enabled": true,
- "auto_verify_email": true,
- "scopes": "string",
- "client_id": "string",
- "id_claim": "string",
- "userinfo_endpoint": "string",
- "token_endpoint": "string",
- "authorization_endpoint": "string",
- "issuer": "string",
- "display_name": "string",
- "id": 0.1
}
enabled | boolean |
use_pkce | boolean |
account_linking_enabled | boolean |
auto_verify_email | boolean |
scopes | string |
client_secret | string |
id_claim | string |
userinfo_endpoint | string |
token_endpoint | string |
authorization_endpoint | string |
display_name | string |
id required | number <double> (OAuthProviderId) The oauth provider id. |
{- "enabled": true,
- "use_pkce": true,
- "account_linking_enabled": true,
- "auto_verify_email": true,
- "scopes": "string",
- "client_secret": "string",
- "id_claim": "string",
- "userinfo_endpoint": "string",
- "token_endpoint": "string",
- "authorization_endpoint": "string",
- "display_name": "string",
- "id": 0.1
}
{- "use_pkce": true,
- "updated": "string",
- "published": "string",
- "enabled": true,
- "account_linking_enabled": true,
- "auto_verify_email": true,
- "scopes": "string",
- "client_id": "string",
- "id_claim": "string",
- "userinfo_endpoint": "string",
- "token_endpoint": "string",
- "authorization_endpoint": "string",
- "issuer": "string",
- "display_name": "string",
- "id": 0.1
}
id required | number <double> (OAuthProviderId) The oauth provider id. |
{- "id": 0.1
}
{- "success": true
}
pkce_code_verifier | string |
answer | string An answer is mandatory if require application is enabled on the server |
username | string Username is mandatory at registration time |
show_nsfw | boolean |
redirect_uri required | string |
oauth_provider_id required | number <double> (OAuthProviderId) The oauth provider id. |
code required | string |
{- "pkce_code_verifier": "string",
- "answer": "string",
- "username": "string",
- "show_nsfw": true,
- "redirect_uri": "string",
- "oauth_provider_id": 0.1,
- "code": "string"
}
{- "verify_email_sent": true,
- "registration_created": true,
- "jwt": "string"
}