Skip to content
Download OpenAPI description
Languages
Servers
Mock server
https://docs.wellesley.social/_mock/openapi/
Simple setup, all in one. Digital Ocean
https://dust.allroads.social/
Simple setup, db is separate. Digital Ocean
https://meteor.allroads.social/

AI Agents

Assign and list group AI agent assignments

Operations

Accounts

Account management and authentication endpoints. Handles user registration, login flows (email/phone), profile management, and account lifecycle operations. Supports multi-step signup with email/SMS verification, CAPTCHA, and optional admin approval.

Operations

ActivityPub

WebFinger endpoint for ActivityPub user discovery and federation

Addresses

Endpoints for suggesting and validating physical addresses

Operations

Admin

Development and testing endpoints for populating the database with test data

Admin Accounts

Administrative endpoints for account and user management. Provides comprehensive tools for managing user accounts, including creation, deletion, role assignment, password management, state changes, and user impersonation for bot accounts.

Operations

Admin ActivityPub

Administrative endpoints for ActivityPub

Operations

Admin Audit

Administrative endpoints for viewing and managing audit logs. Provides comprehensive logging of all security-relevant actions performed in the system.

Operations

Admin Domain Blocks

Administrative APIs for managing domain blocks. Provides endpoints to block specific domains with different severity levels (SUSPEND, LIMIT, NOOP), update existing blocks, unblock domains, and list currently blocked domains. Domain blocks prevent or limit federation with specified domains.

Operations

Admin Domains Allow List

Administrative endpoints for managing domain allowlists. When domain allowlisting is enabled, only domains in this list can federate with the instance.

Operations

Admin Email Allow List

Administrative endpoints for managing email domain allowlist used for registrations.

Operations

Admin Email Blocks

Administrative APIs for managing email blocks to prevent unwanted signups. Supports blocking specific email addresses and entire domains. Email blocks are automatically normalized and checked during user registration.

Operations

Admin Federation Metrics

Administrative endpoints for monitoring and managing federation with other ActivityPub instances. Provides metrics on connected domains, user counts, post statistics, and federation health monitoring.

Operations

Admin Feeds

Administrative endpoints for managing user feeds and cache

Operations

Admin Groups

Administrative endpoints for Groups management

Operations

Admin Init

Administration endpoints for system initialization and updates

Admin Posts

Administrative endpoints for managing posts. Provides moderation capabilities to delete posts that violate community guidelines or are part of reported content.

Operations

Admin Reports

Administrative endpoints for managing user reports and moderation. Provides tools for reviewing, assigning, resolving, and annotating reports about users, posts, and groups. Supports workflow management with assignment, notes, and resolution tracking.

Operations

Admin Signup Requests

Administrative endpoints for managing user signup requests. Provides tools for reviewing, approving, rejecting, and managing signup requests in moderation queue. Supports workflow for manual account approval when enabled.

Operations

Admin Uploads

Administrative endpoints for managing file uploads and media storage. Provides tools for monitoring user storage usage, searching uploaded files, and managing upload processing jobs. Supports queue management for async upload processing workflows.

Operations

Aliases

Endpoints for managing previous usernames and username aliases

Operations

Application Data

Endpoints for managing application-specific data storage. Provides a flexible key-value storage system for applications to store custom data associated with users, groups, or the platform. Supports tagging, filtering, and ownership-based access control.

Operations

Applications

Endpoints for serving and routing platform applications to users

Operations

Blocks

User blocking functionality for preventing interaction with specific users. Blocking a user prevents them from following you, seeing your posts, or interacting with your content. Block operations are federated to remote servers when blocking remote users.

Operations

Categories

Endpoints for managing forum-specific categories

Operations

Domain Blocks

Public API for listing domains blocked by this instance. Visibility and reason details are controlled by platform settings.

Operations

Domain-blocks

Endpoints for managing user-level domain blocks to filter content from specific servers

Operations

Drafts

Endpoints for creating, reading, updating, and deleting drafts, as well as publishing them to posts

Operations

Email

Email address management for user accounts. Provides secure email change workflow with verification codes, password confirmation, and notification system. All email changes require authentication and are logged for security.

Operations

Emoji

Custom emoji management system for the platform. Supports creating, uploading, importing/exporting, searching, and deleting custom emojis. Emojis are automatically resized and optimized. Admin-only operations require Emojis.Manage permission.

Operations

Events

Endpoints for creating, retrieving, and managing events and attendees

Operations

Events ActivityPub

ActivityPub-compatible endpoint for events

Follow

User follow relationship management. Handles following/unfollowing users, managing follow requests, and querying follower/followee relationships. Supports both local and remote (federated) users with ActivityPub protocol integration.

Operations

Forums

Endpoints for managing discussion forums, including creation, retrieval, and deletion

Operations

Geo

Endpoints for geographic location lookup and timezone services

Operations

Group Applications

Endpoints for managing applications available to groups, including listing, adding, and removing group-specific applications

Operations

Group Channels

API endpoints for managing channels within groups. Channels are specialized accounts that enable organized content distribution within groups. They support hierarchical organization with main and default channels, privacy controls inherited from parent groups, and both scoped (group-specific) and global usernames for discovery. Group administrators manage channels while members can follow them.

Operations

Group Member Settings

Endpoints for managing member-specific settings within groups. These settings are personal to each group member and affect their individual experience within the group. Members can only access and modify their own settings within groups they belong to.

Operations

Group Members

API endpoints for managing group membership. Provides functionality to add, update, and remove members from groups, as well as retrieve membership information. Supports both local and federated groups through ActivityPub protocol. Access control is enforced based on group privacy settings and user permissions.

Operations

Group Questions

API endpoints for managing group entry questions. Groups can require prospective members to answer questions before joining. Questions support multiple types (text, single choice, multiple choice) and are used to screen members when the group's join mode is set to QUESTIONS. Answers are validated and generate a token that can be used during the join process.

Operations

Group Reports

Group-scoped moderation reports. Allows group admins to review and resolve reports targeting their channels, forums, and events without global moderator access.

Operations

Group Rules

API endpoints for managing community rules within groups. Rules define the expected conduct and content policies that members must follow. Each rule consists of text (the rule itself), a hint (explanation or context), and an ordering value for display sequence. Rules are scoped to specific groups and can be managed by users with appropriate permissions.

Operations

Group Settings

Endpoints for managing group-specific settings and configuration options. These endpoints allow authorized group members to view, update, and delete settings that control group behavior, features, and customization options.

Operations

Groups

API endpoints for managing groups within the Wellesley platform. Groups are community spaces that can be public or private, support forums, and have their own membership and permission systems. Groups can be federated via ActivityPub for cross-instance communication.

Operations

Import

Endpoints for importing data from other platforms including followers, blocks, and mutes

Operations

Instance

Server instance information and configuration. Provides metadata about the server, compatible domains, supported languages, timezones, and countries. All endpoints are publicly accessible without authentication.

Operations

Invites

Endpoints for sending and managing user invitations

Operations

Jobs

Endpoints for monitoring and managing background job queues, including statistics, job listings, and queue monitoring

Operations

Lists

Endpoints for managing user lists for organizing and grouping followed accounts

Operations

Logins

Endpoints for managing user login methods including email, password, and phone authentication

Operations

Metrics

Endpoints for retrieving metrics and analytics data from the events stream

Operations

Mutes

Endpoints for managing user mutes to hide content from specific users

Operations

Notes

Endpoints for managing personal notes about other users

Operations

Notifications

Endpoints for managing user notifications including retrieving, counting, and marking notifications as read or unread

Operations

Passkeys

Passkey (WebAuthn) registration and authentication

Operations

Password

Endpoints for password management including changing, resetting, and recovering passwords

Operations

Pins

Endpoints for pinning posts to profiles and retrieving pinned posts

Operations

Platform Data

Endpoints for managing platform-wide and group-specific data storage. Unlike application data, this provides direct data management not tied to specific applications. Supports flexible ownership models including platform-level, group-level, and user-level data with appropriate access controls.

Operations

Platform Settings

Endpoints for managing platform-wide settings and configuration options. These endpoints control server-level settings that affect the entire platform, including features, limits, security policies, and default behaviors for all users and groups.

Operations

Polls

Endpoints for interacting with polls, including voting and retrieving results

Operations

Posts

Endpoints for creating, reading, updating, and deleting posts, as well as managing comments, likes, bookmarks, and reposts

Operations

Request

Returns posts based on various filters. For authenticated users, shows their personalized feed. For unauthenticated users, shows public posts only. Supports filtering by user, owner, tags, lists, bookmarks, and more. Can include comments, translations, and various metadata.

Security
header
Query
allboolean or null

Return results across all scopes when using bookmarkedOnly

bookmarkedOnlyboolean or null

Return bookmarked only

forumTagsArray of strings or null

Filter posts by forum tags (comma-separated, AND logic - posts must have ALL tags)

includeBookmarkStatusboolean or null

Include bookmark field

includeCommentsboolean or null

Include comments

includeFollowStatusboolean or null

Include follow status

includePinnedStatusboolean or null

Include pinned status

includeReplyboolean or null

Include direct reply if present

lastIdstring or null

Get older records (records with IDs less than this value) Alias maxId/max_id

Example: lastId=?lastId=${data.last().id}
limitinteger or null(int32)
limitFirstLevelCommentsinteger or null(int32)

Limit first level comment paging count

limitSecondLevelCommentsinteger or null(int32)

Limit second level comment paging count

listIdstring or null

List posts by a user list

Example: listId=us_01hxcvk1hjexere4pvtrj0ymqq
maxLevelinteger or null(int32)

Max comment level depth

minLevelinteger or null(int32)

Min comment level depth

offsetinteger or null(int32)
ownerIdstring or null

List specific owner's posts

Example: ownerId=us_01hxcvk1hjexere4pvtrj0ymqq
ownerTypestring or null

Filter posts by ownerType

Enum"USER""EVENT""CATEGORY"
pinnedstring or null

Filter by pinned status. Applied only if ?userId is present

Enum"ONLY""SKIP""ALL"
repostKindstring or null

Filter by repost kind

Enum"REPOST""QUOTE""ALL"
repostOfstring or null

List only reposts of specified post

Example: repostOf=us_01hxcvk1hjexere4pvtrj0ymqq
repostsOnlyboolean or null

Return reposts only

searchstring or null

Search posts by text

skipRepostsboolean or null

If false - force showing reposts non-aggregated

sortBystring or null
sortOrderstring or null
tagstring or null

Search posts by a tag

untilIdstring or null

Get newer records (records with IDs greater than this value) Alias minId/min_id

Example: untilId=?untilId=${data.first().id}
userIdstring or null

List specific user's posts. Used for User/Profile feed

Example: userId=us_01hxcvk1hjexere4pvtrj0ymqq
usernamestring or null

List specific user's posts

withRepostedByboolean or null

Include repostedBy. Default true

withTranslationboolean or null

Include translation

withTrendsboolean or null

Include trends

htmlContentany

Returns text as html if true or original text if false. Applicable only to local posts and users. Default is true.

curl -i -X GET \
  'https://docs.wellesley.social/_mock/openapi/api/v1/posts?all=true&bookmarkedOnly=true&forumTags=string&includeBookmarkStatus=true&includeComments=true&includeFollowStatus=true&includePinnedStatus=true&includeReply=true&lastId=%3FlastId%3D%24{data.last%28%29.id}&limit=0&limitFirstLevelComments=0&limitSecondLevelComments=0&listId=us_01hxcvk1hjexere4pvtrj0ymqq&maxLevel=0&minLevel=0&offset=0&ownerId=us_01hxcvk1hjexere4pvtrj0ymqq&ownerType=USER&pinned=ONLY&repostKind=REPOST&repostOf=us_01hxcvk1hjexere4pvtrj0ymqq&repostsOnly=true&search=string&skipReposts=true&sortBy=string&sortOrder=string&tag=string&untilId=%3FuntilId%3D%24{data.first%28%29.id}&userId=us_01hxcvk1hjexere4pvtrj0ymqq&username=string&withRepostedBy=true&withTranslation=true&withTrends=true' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/jsonArray [
idstringrequired

internal post id

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
uristring(uri)required

unique post uri

textstringrequired

post text, raw or html depending on how it was requested

pathArray of strings(TypeId)required

replies path

Example: ["us_01hxcvk1hjexere4pvtrj0ymqq"]
privacystringrequired

Privacy levels for posts:

  • PUBLIC - post is visible to anyone, including people who are not logged in and those who do not follow the user. It appears in the public timelines (home, local, and federated).
  • UNLISTED - post is visible to anyone who visits the user's profile, but it does not appear in public timelines. Only followers and those who visit the user's profile directly can see it.
  • PRIVATE - post is only visible to the user's followers. It does not appear in public timelines or on the user's profile for non-followers.
  • DIRECT - post is visible only to the mentioned users. It functions like a direct message and is not visible on public timelines, the user's profile, or to followers.
  • FOLLOW_POST - comment only. Follow parent post visibility
Enum"PUBLIC""UNLISTED""PRIVATE""DIRECT""FOLLOW_POST"
Example: "PUBLIC"
kindstringrequired

Article or Note

Enum"Note""Article"
Example: "Note"
softwarestringrequired

post software

Example: "wellesley"
repostOfstring or null

id of a post this one was reposted from

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
ownerIdstring(TypeId)required

UUID with type prefix

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
ownerTypestring(PostOwnerType)required

Owner types for posts:

  • USER - user’s channel (personal or group channel)
  • EVENT - event (personal or group)
  • CATEGORY - forum category

** POST OWNER: **

  • Personal channel
    • userId = author
    • ownerId = userId (Type.USER)
    • ownerType = USER
    • groupId = null
  • Forum post
    • userId = author
    • ownerId = categoryId (Type.CATEGORY)
    • ownerType = CATEGORY
    • groupId = forum’s groupId
  • Personal event
    • userId = author
    • ownerId = eventId (Type.EVENT)
    • ownerType = EVENT
    • groupId = null
  • Group channel
    • userId = author
    • ownerId = channel userId (Type.USER)
    • ownerType = USER
    • groupId = groupId
  • Group event
    • userId = author
    • ownerId = eventId (Type.EVENT)
    • ownerType = EVENT
    • groupId = groupId
Enum"USER""EVENT""CATEGORY"
groupIdstring or null

UUID with type prefix

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
titlestring or null
summarystring or nullrequired

Subject or summary line, below which post content is collapsed until expanded.

tagsArray of stringsrequired

List of tags

mentionsArray of strings(uri)required

List of mentions

statsobjectrequired

Stats

stats.​likesinteger(int32)
stats.​repostsinteger(int32)
stats.​quotesinteger(int32)
stats.​commentsinteger(int32)
stats.​viewsinteger(int32)
stats.​bookmarksinteger(int32)
stats.​reactionsobjectrequired
stats.​reactions.​property name*integer(int32)additional property
stats.​watchTimeinteger or null(int64)
stats.​secondsToFirstAnswerinteger or null(int32)
stats.​secondsToAcceptedinteger or null(int32)
stats.​lastActivitystring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
stats.​lastViewTimestampstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
settingsobjectrequired

Settings

settings.​commentsEnabledboolean
settings.​sensitiveboolean
langstring or null
Enum"BG""CS""DA""DE""EL""EN""ES""ET""FI""FR"
pollobject or null
cardobject or null

Preview card for any links in the post

mediaTypestringrequired

Post media type. Default for Note is text/plain, for Article text/markdown

Enum"TEXT_PLAIN""MARKDOWN"
translationsobject or null
createdAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
updatedAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
authorobject(User)required

One of account's users. Can be multiple per account

author.​groupUserNamestring or null

Name of the channel inside a group

author.​idstringrequired

internal id of this user

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
author.​usernamestringrequired

unique user name

Example: "john_smith"
author.​domainstringrequired

user's domain, remote only, empty for local

Example: "wlsly1.net"
author.​displayNamestringrequired

full name of the user

Example: "John Smith"
author.​uristring(uri)required

URI of this user

Example: "https://wlsly1.net/users/john_smith"
author.​avatarobject or null

User's avatar

author.​createdAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
author.​deletedboolean or null
author.​statestringrequired

Registration mode:

  • REGULAR - just regular state
  • SENSITIVE - all media attachments are flagged as sensitive, i.e. all user's posts should be marked as sensitive, old posts and all future ones.
  • LIMITED - all user's old and future posts should be set maximum to followers only unless user set it to direct himself. non-followers should not be notified, i.e. if user mentions non-follower we do not create notification.
  • SUSPENDED - User can login, but cannot do anything in his account except to read, cannot change anything, cannot create new posts or comments etc. All his posts are marked as deleted, but we do not delete them just yet. User is scheduled to be deleted in one month. During this month it is possible to restore it via admin.
Enum"REGULAR""SENSITIVE""LIMITED""SUSPENDED"
author.​relationshipobject or null

Relationship with this user

author.​channelboolean

Whether this is a channel or a user

author.​groupIdstring or null

UUID with type prefix

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
author.​groupPrivacystring or null
  • PUBLIC - Channel is visible to everyone and can be followed by anyone.
  • PRIVATE - Channel is visible only to group members and can only be followed by group members.
Enum"PUBLIC""PRIVATE"
author.​groupMainboolean or null
author.​groupDefaultboolean or null
author.​actorTypestring or null

Types that an Actor can be assigned. Coincide with ActivityPub Actor types:

  • APPLICATION: Apps will have this type
  • GROUP: Interest Groups and Generic Groups wil have this type
  • ORGANIZATION: Formal Organizations such as Companies, Institutions, etc. will have this type
  • PERSON: Individual people will have this type
  • SERVICE: Bots, Services, and other automated tools which are not also Apps will have this type
Enum"Application""Group""Organization""Person""Service"
uploadsArray of objects(Upload)required
uploads[].​uploadIdstringrequired

Internal id

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
uploads[].​userIdstringrequired

User id this upload belongs to

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
uploads[].​uploadTypestringrequired

Type of the upload

Enum"VIDEO""IMAGE""AUDIO""DOCUMENT""OTHER"
Example: "video"
uploads[].​metaobjectrequired

Meta data

uploads[].​meta.​blurhashstring or null
uploads[].​meta.​namestring or null
uploads[].​meta.​altTextstring or null
uploads[].​sizeinteger(int64)required

Size in bytes of all the files in this upload

uploads[].​filesArray of objects(FileDesc)required

List of all the files this upload has

uploads[].​files[].​uristring or nullrequired

Full url of the file

uploads[].​files[].​fileIdstringrequired

File id

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
uploads[].​files[].​extensionstringrequired

File extension

Example: "mp4"
uploads[].​files[].​originalbooleanrequired

true if this file is original, false if it is a derivative

uploads[].​files[].​metaobjectrequired

File metadata. Contains optional values for width, height etc.

uploads[].​files[].​meta.​durationnumber or null(double)

Video duration in seconds

uploads[].​files[].​meta.​widthinteger or null(int32)

Media width

uploads[].​files[].​meta.​heightinteger or null(int32)

Media height

uploads[].​files[].​meta.​codecstring or null

Video codec

uploads[].​files[].​meta.​rotateinteger or null(int32)

Rotation in degrees

uploads[].​files[].​sizeinteger(int64)required

File size in bytes

uploads[].​files[].​createdAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
uploads[].​files[].​updatedAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
uploads[].​files[].​typestringrequired

File type

Enum"VIDEO""IMAGE""AUDIO""DOCUMENT""OTHER"
Example: "video"
uploads[].​tagsArray of strings(UploadsTags)uniquerequired

List of tags attached to upload

Items Enum"Post""Avatar""Header""Album""Emoji""Event"
Example: ["$post"]
uploads[].​errorstring or null

Upload processing error

uploads[].​cachedboolean

true if cached

uploads[].​logsstring or null

Logs

uploads[].​remoteboolean

true if this upload is remote

uploads[].​createdAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
uploads[].​updatedAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
likedboolean or null

Whether the current user liked it or not

repostedboolean or null

Whether the current user reposted it or not

quotedboolean or null

Whether the current user quoted it or not

mutedboolean or null

Whether the current user muted the author of the post

blockedboolean or null

Whether the current user blocked the author of the post

visibleboolean or null

Whether the current user can see it or not (e.g. FOLLOWERS_ONLY

pinnedboolean or null

Whether the current user pinned it or not

bookmarkedboolean or null

Whether the current user bookmarked it or not

editedboolean or null

Whether the post was edited

deletedboolean or null
emojisArray of objects or null(Emoji)
repliesArray of objects or null(Post)
repostedByArray of objects or null(UserLite)

List of users who reposted this post

originalPostobject or nullRecursive

Original of repost/quote. In WS context or /replies API could also be parent of a comment

votesobject or null

Votes summary

remoteboolean
repostAnyboolean
repostboolean
quoteboolean
ownboolean
replyTostring or null

UUID with type prefix

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
conversationIdstring(TypeId)required

UUID with type prefix

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
]
Response
application/json
[ { "id": "us_01hxcvk1hjexere4pvtrj0ymqq", "uri": "http://example.com", "text": "string", "path": [ … ], "privacy": "PUBLIC", "kind": "Note", "software": "wellesley", "repostOf": "us_01hxcvk1hjexere4pvtrj0ymqq", "ownerId": "us_01hxcvk1hjexere4pvtrj0ymqq", "ownerType": "USER", "groupId": "us_01hxcvk1hjexere4pvtrj0ymqq", "title": "string", "summary": "string", "tags": [ … ], "mentions": [ … ], "stats": { … }, "settings": { … }, "lang": "BG", "poll": { … }, "card": { … }, "mediaType": "TEXT_PLAIN", "translations": { … }, "createdAt": "2022-03-10T16:15:50Z", "updatedAt": "2022-03-10T16:15:50Z", "author": { … }, "uploads": [ … ], "liked": true, "reposted": true, "quoted": true, "muted": true, "blocked": true, "visible": true, "pinned": true, "bookmarked": true, "edited": true, "deleted": true, "emojis": [ … ], "replies": [ … ], "repostedBy": [ … ], "originalPost": {}, "votes": { … }, "remote": true, "repostAny": true, "repost": true, "quote": true, "own": true, "replyTo": "us_01hxcvk1hjexere4pvtrj0ymqq", "conversationId": "us_01hxcvk1hjexere4pvtrj0ymqq" } ]

Request

Creates a new post with text content. Can be a regular post, article, or other post type. Posts can be public, unlisted, followers-only, or direct messages. Sensitive content requires a content warning. The post is automatically distributed to followers and federated instances.

Security
header
Query
ownerIdstring or null

Scope owner to resolve the post context

Example: ownerId=us_01hxcvk1hjexere4pvtrj0ymqq
htmlContentany

Returns text as html if true or original text if false. Applicable only to local posts and users. Default is true.

Bodyapplication/jsonrequired
textstringrequired

Post text

Example: "Hello World"
privacystringrequired

Privacy levels for posts:

  • PUBLIC - post is visible to anyone, including people who are not logged in and those who do not follow the user. It appears in the public timelines (home, local, and federated).
  • UNLISTED - post is visible to anyone who visits the user's profile, but it does not appear in public timelines. Only followers and those who visit the user's profile directly can see it.
  • PRIVATE - post is only visible to the user's followers. It does not appear in public timelines or on the user's profile for non-followers.
  • DIRECT - post is visible only to the mentioned users. It functions like a direct message and is not visible on public timelines, the user's profile, or to followers.
  • FOLLOW_POST - comment only. Follow parent post visibility
Enum"PUBLIC""UNLISTED""PRIVATE""DIRECT""FOLLOW_POST"
Example: "PUBLIC"
kindstringrequired

Note or Article

Enum"Note""Article"
Example: "Note"
attachmentsArray of strings or null(TypeId)<= 256 items

List with upload ids of attachments

Example: ["us_01hxcvk1hjexere4pvtrj0ymqq"]
pollobject or null

Poll parameters

commentsEnabledboolean

Enable/disable comments for the post

sensitiveboolean

Mark status and attached media as sensitive. contentWarning should be provided when this flag is true. Defaults to false.

contentWarningstring or null

Content warning. The post content and media will be hidden under the warning.

ownerIdstring or null

Null if regular post. category_id for Categories (Forum) and event_id for events

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
titlestring or null

Title of a post in forum

tagsArray of strings or null

List of tags. The other way to add tags is using '#' hashtags in text

withPreviewboolean

Create Preview Card for for link in the post

mediaTypestring or null

Post media type. Default for Note is text/plain, for Article text/markdown

Enum"TEXT_PLAIN""MARKDOWN"
imageUploadIdstring or null

Upload ID for the article image (will also be included in attachments)

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
postAsOwnerboolean

When true, the post is attributed to the group channel specified by ownerId. Only available to channel moderators/admins and only for top-level posts.

curl -i -X POST \
  'https://docs.wellesley.social/_mock/openapi/api/v1/posts?ownerId=us_01hxcvk1hjexere4pvtrj0ymqq' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "text": "Hello World",
    "privacy": "PUBLIC",
    "kind": "Note",
    "attachments": [
      "us_01hxcvk1hjexere4pvtrj0ymqq"
    ],
    "poll": {
      "options": [
        "string",
        "string"
      ],
      "expiresIn": "3600",
      "multiple": true,
      "hideTotals": true
    },
    "commentsEnabled": true,
    "sensitive": true,
    "contentWarning": "string",
    "ownerId": "us_01hxcvk1hjexere4pvtrj0ymqq",
    "title": "string",
    "tags": [
      "string"
    ],
    "withPreview": true,
    "mediaType": "TEXT_PLAIN",
    "imageUploadId": "us_01hxcvk1hjexere4pvtrj0ymqq",
    "postAsOwner": true
  }'

Responses

Post object just created

Bodyapplication/json
idstringrequired

internal post id

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
uristring(uri)required

unique post uri

textstringrequired

post text, raw or html depending on how it was requested

pathArray of strings(TypeId)required

replies path

Example: ["us_01hxcvk1hjexere4pvtrj0ymqq"]
privacystringrequired

Privacy levels for posts:

  • PUBLIC - post is visible to anyone, including people who are not logged in and those who do not follow the user. It appears in the public timelines (home, local, and federated).
  • UNLISTED - post is visible to anyone who visits the user's profile, but it does not appear in public timelines. Only followers and those who visit the user's profile directly can see it.
  • PRIVATE - post is only visible to the user's followers. It does not appear in public timelines or on the user's profile for non-followers.
  • DIRECT - post is visible only to the mentioned users. It functions like a direct message and is not visible on public timelines, the user's profile, or to followers.
  • FOLLOW_POST - comment only. Follow parent post visibility
Enum"PUBLIC""UNLISTED""PRIVATE""DIRECT""FOLLOW_POST"
Example: "PUBLIC"
kindstringrequired

Article or Note

Enum"Note""Article"
Example: "Note"
softwarestringrequired

post software

Example: "wellesley"
repostOfstring or null

id of a post this one was reposted from

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
ownerIdstring(TypeId)required

UUID with type prefix

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
ownerTypestring(PostOwnerType)required

Owner types for posts:

  • USER - user’s channel (personal or group channel)
  • EVENT - event (personal or group)
  • CATEGORY - forum category

** POST OWNER: **

  • Personal channel
    • userId = author
    • ownerId = userId (Type.USER)
    • ownerType = USER
    • groupId = null
  • Forum post
    • userId = author
    • ownerId = categoryId (Type.CATEGORY)
    • ownerType = CATEGORY
    • groupId = forum’s groupId
  • Personal event
    • userId = author
    • ownerId = eventId (Type.EVENT)
    • ownerType = EVENT
    • groupId = null
  • Group channel
    • userId = author
    • ownerId = channel userId (Type.USER)
    • ownerType = USER
    • groupId = groupId
  • Group event
    • userId = author
    • ownerId = eventId (Type.EVENT)
    • ownerType = EVENT
    • groupId = groupId
Enum"USER""EVENT""CATEGORY"
groupIdstring or null

UUID with type prefix

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
titlestring or null
summarystring or nullrequired

Subject or summary line, below which post content is collapsed until expanded.

tagsArray of stringsrequired

List of tags

mentionsArray of strings(uri)required

List of mentions

statsobjectrequired

Stats

stats.​likesinteger(int32)
stats.​repostsinteger(int32)
stats.​quotesinteger(int32)
stats.​commentsinteger(int32)
stats.​viewsinteger(int32)
stats.​bookmarksinteger(int32)
stats.​reactionsobjectrequired
stats.​reactions.​property name*integer(int32)additional property
stats.​watchTimeinteger or null(int64)
stats.​secondsToFirstAnswerinteger or null(int32)
stats.​secondsToAcceptedinteger or null(int32)
stats.​lastActivitystring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
stats.​lastViewTimestampstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
settingsobjectrequired

Settings

settings.​commentsEnabledboolean
settings.​sensitiveboolean
langstring or null
Enum"BG""CS""DA""DE""EL""EN""ES""ET""FI""FR"
pollobject or null
cardobject or null

Preview card for any links in the post

mediaTypestringrequired

Post media type. Default for Note is text/plain, for Article text/markdown

Enum"TEXT_PLAIN""MARKDOWN"
translationsobject or null
createdAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
updatedAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
authorobject(User)required

One of account's users. Can be multiple per account

author.​groupUserNamestring or null

Name of the channel inside a group

author.​idstringrequired

internal id of this user

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
author.​usernamestringrequired

unique user name

Example: "john_smith"
author.​domainstringrequired

user's domain, remote only, empty for local

Example: "wlsly1.net"
author.​displayNamestringrequired

full name of the user

Example: "John Smith"
author.​uristring(uri)required

URI of this user

Example: "https://wlsly1.net/users/john_smith"
author.​avatarobject or null

User's avatar

author.​createdAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
author.​deletedboolean or null
author.​statestringrequired

Registration mode:

  • REGULAR - just regular state
  • SENSITIVE - all media attachments are flagged as sensitive, i.e. all user's posts should be marked as sensitive, old posts and all future ones.
  • LIMITED - all user's old and future posts should be set maximum to followers only unless user set it to direct himself. non-followers should not be notified, i.e. if user mentions non-follower we do not create notification.
  • SUSPENDED - User can login, but cannot do anything in his account except to read, cannot change anything, cannot create new posts or comments etc. All his posts are marked as deleted, but we do not delete them just yet. User is scheduled to be deleted in one month. During this month it is possible to restore it via admin.
Enum"REGULAR""SENSITIVE""LIMITED""SUSPENDED"
author.​relationshipobject or null

Relationship with this user

author.​channelboolean

Whether this is a channel or a user

author.​groupIdstring or null

UUID with type prefix

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
author.​groupPrivacystring or null
  • PUBLIC - Channel is visible to everyone and can be followed by anyone.
  • PRIVATE - Channel is visible only to group members and can only be followed by group members.
Enum"PUBLIC""PRIVATE"
author.​groupMainboolean or null
author.​groupDefaultboolean or null
author.​actorTypestring or null

Types that an Actor can be assigned. Coincide with ActivityPub Actor types:

  • APPLICATION: Apps will have this type
  • GROUP: Interest Groups and Generic Groups wil have this type
  • ORGANIZATION: Formal Organizations such as Companies, Institutions, etc. will have this type
  • PERSON: Individual people will have this type
  • SERVICE: Bots, Services, and other automated tools which are not also Apps will have this type
Enum"Application""Group""Organization""Person""Service"
uploadsArray of objects(Upload)required
uploads[].​uploadIdstringrequired

Internal id

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
uploads[].​userIdstringrequired

User id this upload belongs to

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
uploads[].​uploadTypestringrequired

Type of the upload

Enum"VIDEO""IMAGE""AUDIO""DOCUMENT""OTHER"
Example: "video"
uploads[].​metaobjectrequired

Meta data

uploads[].​meta.​blurhashstring or null
uploads[].​meta.​namestring or null
uploads[].​meta.​altTextstring or null
uploads[].​sizeinteger(int64)required

Size in bytes of all the files in this upload

uploads[].​filesArray of objects(FileDesc)required

List of all the files this upload has

uploads[].​files[].​uristring or nullrequired

Full url of the file

uploads[].​files[].​fileIdstringrequired

File id

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
uploads[].​files[].​extensionstringrequired

File extension

Example: "mp4"
uploads[].​files[].​originalbooleanrequired

true if this file is original, false if it is a derivative

uploads[].​files[].​metaobjectrequired

File metadata. Contains optional values for width, height etc.

uploads[].​files[].​meta.​durationnumber or null(double)

Video duration in seconds

uploads[].​files[].​meta.​widthinteger or null(int32)

Media width

uploads[].​files[].​meta.​heightinteger or null(int32)

Media height

uploads[].​files[].​meta.​codecstring or null

Video codec

uploads[].​files[].​meta.​rotateinteger or null(int32)

Rotation in degrees

uploads[].​files[].​sizeinteger(int64)required

File size in bytes

uploads[].​files[].​createdAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
uploads[].​files[].​updatedAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
uploads[].​files[].​typestringrequired

File type

Enum"VIDEO""IMAGE""AUDIO""DOCUMENT""OTHER"
Example: "video"
uploads[].​tagsArray of strings(UploadsTags)uniquerequired

List of tags attached to upload

Items Enum"Post""Avatar""Header""Album""Emoji""Event"
Example: ["$post"]
uploads[].​errorstring or null

Upload processing error

uploads[].​cachedboolean

true if cached

uploads[].​logsstring or null

Logs

uploads[].​remoteboolean

true if this upload is remote

uploads[].​createdAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
uploads[].​updatedAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
likedboolean or null

Whether the current user liked it or not

repostedboolean or null

Whether the current user reposted it or not

quotedboolean or null

Whether the current user quoted it or not

mutedboolean or null

Whether the current user muted the author of the post

blockedboolean or null

Whether the current user blocked the author of the post

visibleboolean or null

Whether the current user can see it or not (e.g. FOLLOWERS_ONLY

pinnedboolean or null

Whether the current user pinned it or not

bookmarkedboolean or null

Whether the current user bookmarked it or not

editedboolean or null

Whether the post was edited

deletedboolean or null
emojisArray of objects or null(Emoji)
repliesArray of objects or null(Post)
repostedByArray of objects or null(UserLite)

List of users who reposted this post

originalPostobject or nullRecursive

Original of repost/quote. In WS context or /replies API could also be parent of a comment

votesobject or null

Votes summary

remoteboolean
repostAnyboolean
repostboolean
quoteboolean
ownboolean
replyTostring or null

UUID with type prefix

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
conversationIdstring(TypeId)required

UUID with type prefix

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
Response
application/json
{ "id": "us_01hxcvk1hjexere4pvtrj0ymqq", "uri": "http://example.com", "text": "string", "path": [ "us_01hxcvk1hjexere4pvtrj0ymqq" ], "privacy": "PUBLIC", "kind": "Note", "software": "wellesley", "repostOf": "us_01hxcvk1hjexere4pvtrj0ymqq", "ownerId": "us_01hxcvk1hjexere4pvtrj0ymqq", "ownerType": "USER", "groupId": "us_01hxcvk1hjexere4pvtrj0ymqq", "title": "string", "summary": "string", "tags": [ "string" ], "mentions": [ "http://example.com" ], "stats": { "likes": 0, "reposts": 0, "quotes": 0, "comments": 0, "views": 0, "bookmarks": 0, "reactions": { … }, "watchTime": 0, "secondsToFirstAnswer": 0, "secondsToAccepted": 0, "lastActivity": "2022-03-10T16:15:50Z", "lastViewTimestamp": "2022-03-10T16:15:50Z" }, "settings": { "commentsEnabled": true, "sensitive": true }, "lang": "BG", "poll": { "id": "pl_01hz1f0jnm2f87w2mzpc4s92kt", "expiresAt": "2022-03-10T16:15:50Z", "multiple": true, "votersCount": 0, "options": [ … ], "hideTotals": true, "ownVotes": [ … ], "emojis": [ … ] }, "card": { "url": "string", "title": "string", "description": "string", "icon": "string", "image": "string", "imageAlt": "string", "publisher": { … }, "oembedHtml": "string", "createdAt": "2022-03-10T16:15:50Z", "expiresAt": "2022-03-10T16:15:50Z" }, "mediaType": "TEXT_PLAIN", "translations": { "property1": "string", "property2": "string" }, "createdAt": "2022-03-10T16:15:50Z", "updatedAt": "2022-03-10T16:15:50Z", "author": { "groupUserName": "string", "id": "us_01hxcvk1hjexere4pvtrj0ymqq", "username": "john_smith", "domain": "wlsly1.net", "displayName": "John Smith", "uri": "https://wlsly1.net/users/john_smith", "avatar": { … }, "createdAt": "2022-03-10T16:15:50Z", "deleted": true, "state": "REGULAR", "relationship": { … }, "channel": true, "groupId": "us_01hxcvk1hjexere4pvtrj0ymqq", "groupPrivacy": "PUBLIC", "groupMain": true, "groupDefault": true, "actorType": "Application" }, "uploads": [ { … } ], "liked": true, "reposted": true, "quoted": true, "muted": true, "blocked": true, "visible": true, "pinned": true, "bookmarked": true, "edited": true, "deleted": true, "emojis": [ { … } ], "replies": [ {} ], "repostedBy": [ { … } ], "originalPost": {}, "votes": { "upvotes": 0, "downvotes": 0, "ownVote": 0 }, "remote": true, "repostAny": true, "repost": true, "quote": true, "own": true, "replyTo": "us_01hxcvk1hjexere4pvtrj0ymqq", "conversationId": "us_01hxcvk1hjexere4pvtrj0ymqq" }

Request

Returns the home feed showing posts from accounts the current user follows. This is the main timeline feed. Supports caching for performance, with fallback to database if cache is empty or regenerating. Can include follow status, bookmarks, and translations.

Security
header
Query
ignoreCacheboolean or null

Load from database

includeBookmarkStatusboolean or null

Include bookmark field

includeFollowStatusboolean or null

Include follow status

lastIdstring or null

Get older records (records with IDs less than this value) Alias maxId/max_id

Example: lastId=?lastId=${data.last().id}
limitinteger or null(int32)
offsetinteger or null(int32)
ownerTypestring(PostOwnerType)

Filter posts by ownerType

Enum"USER""EVENT""CATEGORY"
sortBystring or null
sortOrderstring or null
untilIdstring or null

Get newer records (records with IDs greater than this value) Alias minId/min_id

Example: untilId=?untilId=${data.first().id}
withRepostedByboolean or null

Include repostedBy. Default true

withTranslationboolean or null

Include translation

htmlContentany

Returns text as html if true or original text if false. Applicable only to local posts and users. Default is true.

curl -i -X GET \
  'https://docs.wellesley.social/_mock/openapi/api/v1/posts/feeds/following?ignoreCache=true&includeBookmarkStatus=true&includeFollowStatus=true&lastId=%3FlastId%3D%24{data.last%28%29.id}&limit=0&offset=0&ownerType=USER&sortBy=string&sortOrder=string&untilId=%3FuntilId%3D%24{data.first%28%29.id}&withRepostedBy=true&withTranslation=true' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/jsonArray [
idstringrequired

internal post id

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
uristring(uri)required

unique post uri

textstringrequired

post text, raw or html depending on how it was requested

pathArray of strings(TypeId)required

replies path

Example: ["us_01hxcvk1hjexere4pvtrj0ymqq"]
privacystringrequired

Privacy levels for posts:

  • PUBLIC - post is visible to anyone, including people who are not logged in and those who do not follow the user. It appears in the public timelines (home, local, and federated).
  • UNLISTED - post is visible to anyone who visits the user's profile, but it does not appear in public timelines. Only followers and those who visit the user's profile directly can see it.
  • PRIVATE - post is only visible to the user's followers. It does not appear in public timelines or on the user's profile for non-followers.
  • DIRECT - post is visible only to the mentioned users. It functions like a direct message and is not visible on public timelines, the user's profile, or to followers.
  • FOLLOW_POST - comment only. Follow parent post visibility
Enum"PUBLIC""UNLISTED""PRIVATE""DIRECT""FOLLOW_POST"
Example: "PUBLIC"
kindstringrequired

Article or Note

Enum"Note""Article"
Example: "Note"
softwarestringrequired

post software

Example: "wellesley"
repostOfstring or null

id of a post this one was reposted from

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
ownerIdstring(TypeId)required

UUID with type prefix

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
ownerTypestring(PostOwnerType)required

Owner types for posts:

  • USER - user’s channel (personal or group channel)
  • EVENT - event (personal or group)
  • CATEGORY - forum category

** POST OWNER: **

  • Personal channel
    • userId = author
    • ownerId = userId (Type.USER)
    • ownerType = USER
    • groupId = null
  • Forum post
    • userId = author
    • ownerId = categoryId (Type.CATEGORY)
    • ownerType = CATEGORY
    • groupId = forum’s groupId
  • Personal event
    • userId = author
    • ownerId = eventId (Type.EVENT)
    • ownerType = EVENT
    • groupId = null
  • Group channel
    • userId = author
    • ownerId = channel userId (Type.USER)
    • ownerType = USER
    • groupId = groupId
  • Group event
    • userId = author
    • ownerId = eventId (Type.EVENT)
    • ownerType = EVENT
    • groupId = groupId
Enum"USER""EVENT""CATEGORY"
groupIdstring or null

UUID with type prefix

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
titlestring or null
summarystring or nullrequired

Subject or summary line, below which post content is collapsed until expanded.

tagsArray of stringsrequired

List of tags

mentionsArray of strings(uri)required

List of mentions

statsobjectrequired

Stats

stats.​likesinteger(int32)
stats.​repostsinteger(int32)
stats.​quotesinteger(int32)
stats.​commentsinteger(int32)
stats.​viewsinteger(int32)
stats.​bookmarksinteger(int32)
stats.​reactionsobjectrequired
stats.​reactions.​property name*integer(int32)additional property
stats.​watchTimeinteger or null(int64)
stats.​secondsToFirstAnswerinteger or null(int32)
stats.​secondsToAcceptedinteger or null(int32)
stats.​lastActivitystring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
stats.​lastViewTimestampstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
settingsobjectrequired

Settings

settings.​commentsEnabledboolean
settings.​sensitiveboolean
langstring or null
Enum"BG""CS""DA""DE""EL""EN""ES""ET""FI""FR"
pollobject or null
cardobject or null

Preview card for any links in the post

mediaTypestringrequired

Post media type. Default for Note is text/plain, for Article text/markdown

Enum"TEXT_PLAIN""MARKDOWN"
translationsobject or null
createdAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
updatedAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
authorobject(User)required

One of account's users. Can be multiple per account

author.​groupUserNamestring or null

Name of the channel inside a group

author.​idstringrequired

internal id of this user

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
author.​usernamestringrequired

unique user name

Example: "john_smith"
author.​domainstringrequired

user's domain, remote only, empty for local

Example: "wlsly1.net"
author.​displayNamestringrequired

full name of the user

Example: "John Smith"
author.​uristring(uri)required

URI of this user

Example: "https://wlsly1.net/users/john_smith"
author.​avatarobject or null

User's avatar

author.​createdAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
author.​deletedboolean or null
author.​statestringrequired

Registration mode:

  • REGULAR - just regular state
  • SENSITIVE - all media attachments are flagged as sensitive, i.e. all user's posts should be marked as sensitive, old posts and all future ones.
  • LIMITED - all user's old and future posts should be set maximum to followers only unless user set it to direct himself. non-followers should not be notified, i.e. if user mentions non-follower we do not create notification.
  • SUSPENDED - User can login, but cannot do anything in his account except to read, cannot change anything, cannot create new posts or comments etc. All his posts are marked as deleted, but we do not delete them just yet. User is scheduled to be deleted in one month. During this month it is possible to restore it via admin.
Enum"REGULAR""SENSITIVE""LIMITED""SUSPENDED"
author.​relationshipobject or null

Relationship with this user

author.​channelboolean

Whether this is a channel or a user

author.​groupIdstring or null

UUID with type prefix

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
author.​groupPrivacystring or null
  • PUBLIC - Channel is visible to everyone and can be followed by anyone.
  • PRIVATE - Channel is visible only to group members and can only be followed by group members.
Enum"PUBLIC""PRIVATE"
author.​groupMainboolean or null
author.​groupDefaultboolean or null
author.​actorTypestring or null

Types that an Actor can be assigned. Coincide with ActivityPub Actor types:

  • APPLICATION: Apps will have this type
  • GROUP: Interest Groups and Generic Groups wil have this type
  • ORGANIZATION: Formal Organizations such as Companies, Institutions, etc. will have this type
  • PERSON: Individual people will have this type
  • SERVICE: Bots, Services, and other automated tools which are not also Apps will have this type
Enum"Application""Group""Organization""Person""Service"
uploadsArray of objects(Upload)required
uploads[].​uploadIdstringrequired

Internal id

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
uploads[].​userIdstringrequired

User id this upload belongs to

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
uploads[].​uploadTypestringrequired

Type of the upload

Enum"VIDEO""IMAGE""AUDIO""DOCUMENT""OTHER"
Example: "video"
uploads[].​metaobjectrequired

Meta data

uploads[].​meta.​blurhashstring or null
uploads[].​meta.​namestring or null
uploads[].​meta.​altTextstring or null
uploads[].​sizeinteger(int64)required

Size in bytes of all the files in this upload

uploads[].​filesArray of objects(FileDesc)required

List of all the files this upload has

uploads[].​files[].​uristring or nullrequired

Full url of the file

uploads[].​files[].​fileIdstringrequired

File id

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
uploads[].​files[].​extensionstringrequired

File extension

Example: "mp4"
uploads[].​files[].​originalbooleanrequired

true if this file is original, false if it is a derivative

uploads[].​files[].​metaobjectrequired

File metadata. Contains optional values for width, height etc.

uploads[].​files[].​meta.​durationnumber or null(double)

Video duration in seconds

uploads[].​files[].​meta.​widthinteger or null(int32)

Media width

uploads[].​files[].​meta.​heightinteger or null(int32)

Media height

uploads[].​files[].​meta.​codecstring or null

Video codec

uploads[].​files[].​meta.​rotateinteger or null(int32)

Rotation in degrees

uploads[].​files[].​sizeinteger(int64)required

File size in bytes

uploads[].​files[].​createdAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
uploads[].​files[].​updatedAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
uploads[].​files[].​typestringrequired

File type

Enum"VIDEO""IMAGE""AUDIO""DOCUMENT""OTHER"
Example: "video"
uploads[].​tagsArray of strings(UploadsTags)uniquerequired

List of tags attached to upload

Items Enum"Post""Avatar""Header""Album""Emoji""Event"
Example: ["$post"]
uploads[].​errorstring or null

Upload processing error

uploads[].​cachedboolean

true if cached

uploads[].​logsstring or null

Logs

uploads[].​remoteboolean

true if this upload is remote

uploads[].​createdAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
uploads[].​updatedAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
likedboolean or null

Whether the current user liked it or not

repostedboolean or null

Whether the current user reposted it or not

quotedboolean or null

Whether the current user quoted it or not

mutedboolean or null

Whether the current user muted the author of the post

blockedboolean or null

Whether the current user blocked the author of the post

visibleboolean or null

Whether the current user can see it or not (e.g. FOLLOWERS_ONLY

pinnedboolean or null

Whether the current user pinned it or not

bookmarkedboolean or null

Whether the current user bookmarked it or not

editedboolean or null

Whether the post was edited

deletedboolean or null
emojisArray of objects or null(Emoji)
repliesArray of objects or null(Post)
repostedByArray of objects or null(UserLite)

List of users who reposted this post

originalPostobject or nullRecursive

Original of repost/quote. In WS context or /replies API could also be parent of a comment

votesobject or null

Votes summary

remoteboolean
repostAnyboolean
repostboolean
quoteboolean
ownboolean
replyTostring or null

UUID with type prefix

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
conversationIdstring(TypeId)required

UUID with type prefix

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
]
Response
application/json
[ { "id": "us_01hxcvk1hjexere4pvtrj0ymqq", "uri": "http://example.com", "text": "string", "path": [ … ], "privacy": "PUBLIC", "kind": "Note", "software": "wellesley", "repostOf": "us_01hxcvk1hjexere4pvtrj0ymqq", "ownerId": "us_01hxcvk1hjexere4pvtrj0ymqq", "ownerType": "USER", "groupId": "us_01hxcvk1hjexere4pvtrj0ymqq", "title": "string", "summary": "string", "tags": [ … ], "mentions": [ … ], "stats": { … }, "settings": { … }, "lang": "BG", "poll": { … }, "card": { … }, "mediaType": "TEXT_PLAIN", "translations": { … }, "createdAt": "2022-03-10T16:15:50Z", "updatedAt": "2022-03-10T16:15:50Z", "author": { … }, "uploads": [ … ], "liked": true, "reposted": true, "quoted": true, "muted": true, "blocked": true, "visible": true, "pinned": true, "bookmarked": true, "edited": true, "deleted": true, "emojis": [ … ], "replies": [ … ], "repostedBy": [ … ], "originalPost": {}, "votes": { … }, "remote": true, "repostAny": true, "repost": true, "quote": true, "own": true, "replyTo": "us_01hxcvk1hjexere4pvtrj0ymqq", "conversationId": "us_01hxcvk1hjexere4pvtrj0ymqq" } ]

RBAC

Endpoints for retrieving Role-Based Access Control (RBAC) configurations and managing roles, resources, permissions and role-to-user assignments. Scoped Role Definition (RBACRole):

  • Represents roles within the RBAC system.
  • Each role has a unique roleId, a name, an optional description, and a scope.
  • The scope defines the domain or area in which the role is valid.
  • The scope can be Global (hardcoded), currently the only one is "System"
  • The scope also can be dynamic, currently we use Group Ids, like "gr_05hxcvk1hjexere4pvtrj0hggt"
  • Roles come with assigned permissions (RBACPermissions) that define what actions the role can perform on system resources.
  • Metadata such as createdAt and updatedAt timestamps track the role's lifecycle events.

Permissions** (RBACPermissions):

  • Encapsulates resource-specific access controls.
  • Each permission object specifies the resource (e.g., "user", "document") and an associated list of allowed RBACAccess types.
  • RBACAccess enumerates the supported actions: Read, Add, Modify, Delete.

Role Assignments to Actors (RBACActorRole):

  • Maps actors (e.g., users, services) to specific roles.
  • Tracks the association through actorId (representing the unique entity being assigned) and roleId (specific role ID).
  • Includes timestamps to record when the assignment was created or updated.
Operations

Remote collections

API to retrieve followers and following collections for remote users.

Operations

Reports

Endpoints for reporting content and managing content reports

Operations

Rules

Endpoints for managing platform rules that govern user conduct and content policies

Operations

Sessions

Endpoints for managing user authentication sessions and device logins

Operations

Tags

Endpoints for managing hashtags, including following, featuring, and retrieving tag information

Operations

Tags v2

Scoped tags search, policy lists and reports

Operations

Translation

Endpoints for translating text between languages

Operations

Uploads

Endpoints for uploading, retrieving, and managing media files

Operations

User Devices

APIs for managing user devices for push notifications

Operations

User Settings

Endpoints for managing user-specific settings and preferences. These endpoints allow authenticated users to view, update, and delete their personal settings that control their account behavior, interface preferences, privacy options, and feature customizations.

Operations

Users

Endpoints for managing user profiles, including creation, retrieval, updates, and moderation

Operations

employee

Employee. DO NOT USE, SUBJECT TO CHANGE/REMOVE

employer

Employer. DO NOT USE, SUBJECT TO CHANGE/REMOVE

job-applications

Jobs. DO NOT USE, SUBJECT TO CHANGE/REMOVE

job-postings

Jobs. DO NOT USE, SUBJECT TO CHANGE/REMOVE

Operations
Operations
Operations
Operations
Operations

Test Class Authenticated Controller

Operations
Operations
Operations
Operations

Quarkus Test Resource For Transaction

Operations