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

Remove posts from all reports and auto-close empty reports

Request

Removes specified posts from all reports that reference them. If a report no longer has any posts after removal, it is automatically closed/resolved. This is typically used after deleting reported content. Returns the count of reports that were auto-closed. The current user is recorded as having taken action on auto-closed reports.

RBAC: requires Reports.Manage

Bodyapplication/jsonrequiredArray [
string(TypeId)

UUID with type prefix

]
curl -i -X POST \
  https://docs.wellesley.social/_mock/openapi/api/v1/admin/reports/delete-posts \
  -H 'Content-Type: application/json' \
  -d '[
    "us_01hxcvk1hjexere4pvtrj0ymqq"
  ]'

Responses

Operation successful, returns number of reports that were auto-closed

Bodytext/plain
integer(int32)
Response
No content

List moderation reports with filtering

Request

Retrieves a paginated list of moderation reports. Can filter by reported user, reported post, group context, or resolution status. Supports pagination for large result sets. Reports include details about the reporter, target content, assigned moderator, and any notes.

RBAC: requires Reports.Manage

Query
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)
openboolean or null

Filter by resolution status. true = open reports only, false = resolved reports only, omit = all reports

postIdstring or null

Filter by reported post ID. Returns reports containing this specific post.

Example: postId=us_01hxcvk1hjexere4pvtrj0ymqq
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}
userIdstring or null

Filter by reported user ID. Returns reports targeting this specific user.

Example: userId=us_01hxcvk1hjexere4pvtrj0ymqq
curl -i -X GET \
  'https://docs.wellesley.social/_mock/openapi/api/v1/admin/reports/list?lastId=%3FlastId%3D%24{data.last%28%29.id}&limit=0&offset=0&open=true&postId=us_01hxcvk1hjexere4pvtrj0ymqq&sortBy=string&sortOrder=string&untilId=%3FuntilId%3D%24{data.first%28%29.id}&userId=us_01hxcvk1hjexere4pvtrj0ymqq'

Responses

Paginated list of reports

Bodyapplication/json
listArray of objects(Report)required
list[].​idstringrequired

Internal report id

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
list[].​uristring(uri)required
list[].​commentstringrequired
list[].​fromUserIdstring or null

User who reported the content

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
list[].​targetPostIdsArray of strings or null(TypeId)

Posts that were reported

Example: ["pt_01hz1f0jkdw3h27a2kdr8sn2kt"]
list[].​targetUserIdstring or null

User who was reported

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
list[].​groupIdstring or null

Report scope. If empty the scope is global. If set the scope is group and group admins can take actions

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

Moderator assigned to handle the report

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
list[].​actionTakenAtstring or null(date-time)
Example: "2022-03-10T16:15:50Z"
list[].​actionTakenBystring or null

Moderator who took action on the report

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
list[].​forwardedboolean
list[].​notesArray of objects(ReportNote)required
list[].​notes[].​userIdstringrequired

User who added the note

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
list[].​notes[].​notestringrequired
list[].​notes[].​createdAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
list[].​fromUserobject or null

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

list[].​targetUserobject or null

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

list[].​postsArray of objects or null(Post)
totalinteger(int32)
offsetinteger or null(int32)
Response
application/json
{ "list": [ { … } ], "total": 0, "offset": 0 }

Request

Retrieves complete details of a specific moderation report including the reporter, target content (users/posts), assigned moderator, resolution status, and all associated notes. Use this to review a report before taking action.

RBAC: requires Reports.Manage

Path
reportIdstring(TypeId)required

UUID with type prefix

Example: us_01hxcvk1hjexere4pvtrj0ymqq
curl -i -X GET \
  https://docs.wellesley.social/_mock/openapi/api/v1/admin/reports/us_01hxcvk1hjexere4pvtrj0ymqq

Responses

Report details successfully retrieved

Bodyapplication/json
idstringrequired

Internal report id

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
uristring(uri)required
commentstringrequired
fromUserIdstring or null

User who reported the content

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
targetPostIdsArray of strings or null(TypeId)

Posts that were reported

Example: ["pt_01hz1f0jkdw3h27a2kdr8sn2kt"]
targetUserIdstring or null

User who was reported

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
groupIdstring or null

Report scope. If empty the scope is global. If set the scope is group and group admins can take actions

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
createdAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
updatedAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
assignedUserstring or null

Moderator assigned to handle the report

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
actionTakenAtstring or null(date-time)
Example: "2022-03-10T16:15:50Z"
actionTakenBystring or null

Moderator who took action on the report

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
forwardedboolean
notesArray of objects(ReportNote)required
notes[].​userIdstringrequired

User who added the note

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
notes[].​notestringrequired
notes[].​createdAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
fromUserobject or null

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

targetUserobject or null

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

postsArray of objects or null(Post)
Response
application/json
{ "id": "rp_01hz1f0kw36f82k9s4nzpc4s92n", "uri": "http://example.com", "comment": "string", "fromUserId": "us_01hxcvk1hjexere4pvtrj0ymqq", "targetPostIds": [ "pt_01hz1f0jkdw3h27a2kdr8sn2kt" ], "targetUserId": "us_01hxcvk1hjexere4pvtrj0ymqq", "groupId": "us_01hxcvk1hjexere4pvtrj0ymqq", "createdAt": "2022-03-10T16:15:50Z", "updatedAt": "2022-03-10T16:15:50Z", "assignedUser": "us_01hz1fkfg82hf89s2nzqwer02r", "actionTakenAt": "2022-03-10T16:15:50Z", "actionTakenBy": "us_01hz1fkfg82hf89s2nzqwer02r", "forwarded": true, "notes": [ { … } ], "fromUser": { "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" }, "targetUser": { "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" }, "posts": [ { … } ] }

Request

Adds an internal moderation note to the report. Notes are used to document investigation findings, actions taken, or communication between moderators. Each note is timestamped and attributed to the adding moderator. Notes are visible only to moderators and not to the reporter or reported user.

RBAC: requires Reports.Manage

Path
reportIdstring(TypeId)required

UUID with type prefix

Example: us_01hxcvk1hjexere4pvtrj0ymqq
Bodytext/plainrequired
string
curl -i -X POST \
  https://docs.wellesley.social/_mock/openapi/api/v1/admin/reports/us_01hxcvk1hjexere4pvtrj0ymqq/add-note \
  -H 'Content-Type: text/plain' \
  -d string

Responses

Note successfully added to report

Bodyapplication/json
idstringrequired

Internal report id

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
uristring(uri)required
commentstringrequired
fromUserIdstring or null

User who reported the content

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
targetPostIdsArray of strings or null(TypeId)

Posts that were reported

Example: ["pt_01hz1f0jkdw3h27a2kdr8sn2kt"]
targetUserIdstring or null

User who was reported

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
groupIdstring or null

Report scope. If empty the scope is global. If set the scope is group and group admins can take actions

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
createdAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
updatedAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
assignedUserstring or null

Moderator assigned to handle the report

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
actionTakenAtstring or null(date-time)
Example: "2022-03-10T16:15:50Z"
actionTakenBystring or null

Moderator who took action on the report

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
forwardedboolean
notesArray of objects(ReportNote)required
notes[].​userIdstringrequired

User who added the note

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
notes[].​notestringrequired
notes[].​createdAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
fromUserobject or null

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

targetUserobject or null

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

postsArray of objects or null(Post)
Response
application/json
{ "id": "rp_01hz1f0kw36f82k9s4nzpc4s92n", "uri": "http://example.com", "comment": "string", "fromUserId": "us_01hxcvk1hjexere4pvtrj0ymqq", "targetPostIds": [ "pt_01hz1f0jkdw3h27a2kdr8sn2kt" ], "targetUserId": "us_01hxcvk1hjexere4pvtrj0ymqq", "groupId": "us_01hxcvk1hjexere4pvtrj0ymqq", "createdAt": "2022-03-10T16:15:50Z", "updatedAt": "2022-03-10T16:15:50Z", "assignedUser": "us_01hz1fkfg82hf89s2nzqwer02r", "actionTakenAt": "2022-03-10T16:15:50Z", "actionTakenBy": "us_01hz1fkfg82hf89s2nzqwer02r", "forwarded": true, "notes": [ { … } ], "fromUser": { "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" }, "targetUser": { "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" }, "posts": [ { … } ] }

Request

Assigns the current user as the moderator responsible for handling this report. This helps coordinate moderation efforts by showing other moderators that someone is actively investigating this report. Updates the assignedToUserId field.

RBAC: requires Reports.Manage

Path
reportIdstring(TypeId)required

UUID with type prefix

Example: us_01hxcvk1hjexere4pvtrj0ymqq
curl -i -X POST \
  https://docs.wellesley.social/_mock/openapi/api/v1/admin/reports/us_01hxcvk1hjexere4pvtrj0ymqq/assign-to-self

Responses

Report successfully assigned to current user

Bodyapplication/json
idstringrequired

Internal report id

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
uristring(uri)required
commentstringrequired
fromUserIdstring or null

User who reported the content

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
targetPostIdsArray of strings or null(TypeId)

Posts that were reported

Example: ["pt_01hz1f0jkdw3h27a2kdr8sn2kt"]
targetUserIdstring or null

User who was reported

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
groupIdstring or null

Report scope. If empty the scope is global. If set the scope is group and group admins can take actions

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
createdAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
updatedAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
assignedUserstring or null

Moderator assigned to handle the report

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
actionTakenAtstring or null(date-time)
Example: "2022-03-10T16:15:50Z"
actionTakenBystring or null

Moderator who took action on the report

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
forwardedboolean
notesArray of objects(ReportNote)required
notes[].​userIdstringrequired

User who added the note

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
notes[].​notestringrequired
notes[].​createdAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
fromUserobject or null

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

targetUserobject or null

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

postsArray of objects or null(Post)
Response
application/json
{ "id": "rp_01hz1f0kw36f82k9s4nzpc4s92n", "uri": "http://example.com", "comment": "string", "fromUserId": "us_01hxcvk1hjexere4pvtrj0ymqq", "targetPostIds": [ "pt_01hz1f0jkdw3h27a2kdr8sn2kt" ], "targetUserId": "us_01hxcvk1hjexere4pvtrj0ymqq", "groupId": "us_01hxcvk1hjexere4pvtrj0ymqq", "createdAt": "2022-03-10T16:15:50Z", "updatedAt": "2022-03-10T16:15:50Z", "assignedUser": "us_01hz1fkfg82hf89s2nzqwer02r", "actionTakenAt": "2022-03-10T16:15:50Z", "actionTakenBy": "us_01hz1fkfg82hf89s2nzqwer02r", "forwarded": true, "notes": [ { … } ], "fromUser": { "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" }, "targetUser": { "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" }, "posts": [ { … } ] }

Request

Permanently removes a report from the system. This should only be used for invalid or spam reports. For legitimate reports that have been addressed, use the resolve endpoint instead to maintain moderation history. This action cannot be undone.

RBAC: requires Reports.Manage

Path
reportIdstring(TypeId)required

UUID with type prefix

Example: us_01hxcvk1hjexere4pvtrj0ymqq
curl -i -X DELETE \
  https://docs.wellesley.social/_mock/openapi/api/v1/admin/reports/us_01hxcvk1hjexere4pvtrj0ymqq/delete

Responses

Report successfully deleted from the system

Bodytext/plain
Response
No content

Remove moderation note from report

Request

Removes a specific moderation note from the report by its index position. Use this to correct mistakes or remove outdated information. Notes are zero-indexed, so the first note has index 0. Only valid indices are accepted.

RBAC: requires Reports.Manage

Path
reportIdstring(TypeId)required

UUID with type prefix

Example: us_01hxcvk1hjexere4pvtrj0ymqq
Query
indexinteger(int32)required

Zero-based index of the note to remove from the notes array

curl -i -X POST \
  'https://docs.wellesley.social/_mock/openapi/api/v1/admin/reports/us_01hxcvk1hjexere4pvtrj0ymqq/remove-note?index=0'

Responses

Note successfully removed from report

Bodyapplication/json
idstringrequired

Internal report id

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
uristring(uri)required
commentstringrequired
fromUserIdstring or null

User who reported the content

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
targetPostIdsArray of strings or null(TypeId)

Posts that were reported

Example: ["pt_01hz1f0jkdw3h27a2kdr8sn2kt"]
targetUserIdstring or null

User who was reported

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
groupIdstring or null

Report scope. If empty the scope is global. If set the scope is group and group admins can take actions

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
createdAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
updatedAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
assignedUserstring or null

Moderator assigned to handle the report

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
actionTakenAtstring or null(date-time)
Example: "2022-03-10T16:15:50Z"
actionTakenBystring or null

Moderator who took action on the report

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
forwardedboolean
notesArray of objects(ReportNote)required
notes[].​userIdstringrequired

User who added the note

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
notes[].​notestringrequired
notes[].​createdAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
fromUserobject or null

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

targetUserobject or null

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

postsArray of objects or null(Post)
Response
application/json
{ "id": "rp_01hz1f0kw36f82k9s4nzpc4s92n", "uri": "http://example.com", "comment": "string", "fromUserId": "us_01hxcvk1hjexere4pvtrj0ymqq", "targetPostIds": [ "pt_01hz1f0jkdw3h27a2kdr8sn2kt" ], "targetUserId": "us_01hxcvk1hjexere4pvtrj0ymqq", "groupId": "us_01hxcvk1hjexere4pvtrj0ymqq", "createdAt": "2022-03-10T16:15:50Z", "updatedAt": "2022-03-10T16:15:50Z", "assignedUser": "us_01hz1fkfg82hf89s2nzqwer02r", "actionTakenAt": "2022-03-10T16:15:50Z", "actionTakenBy": "us_01hz1fkfg82hf89s2nzqwer02r", "forwarded": true, "notes": [ { … } ], "fromUser": { "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" }, "targetUser": { "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" }, "posts": [ { … } ] }

Request

Reopens a previously resolved report for further investigation. This clears the resolution status and allows the report to be reassigned and worked on again. Useful when initial resolution was insufficient or new information becomes available.

RBAC: requires Reports.Manage

Path
reportIdstring(TypeId)required

UUID with type prefix

Example: us_01hxcvk1hjexere4pvtrj0ymqq
curl -i -X POST \
  https://docs.wellesley.social/_mock/openapi/api/v1/admin/reports/us_01hxcvk1hjexere4pvtrj0ymqq/reopen

Responses

Report successfully reopened

Bodyapplication/json
idstringrequired

Internal report id

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
uristring(uri)required
commentstringrequired
fromUserIdstring or null

User who reported the content

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
targetPostIdsArray of strings or null(TypeId)

Posts that were reported

Example: ["pt_01hz1f0jkdw3h27a2kdr8sn2kt"]
targetUserIdstring or null

User who was reported

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
groupIdstring or null

Report scope. If empty the scope is global. If set the scope is group and group admins can take actions

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
createdAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
updatedAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
assignedUserstring or null

Moderator assigned to handle the report

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
actionTakenAtstring or null(date-time)
Example: "2022-03-10T16:15:50Z"
actionTakenBystring or null

Moderator who took action on the report

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
forwardedboolean
notesArray of objects(ReportNote)required
notes[].​userIdstringrequired

User who added the note

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
notes[].​notestringrequired
notes[].​createdAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
fromUserobject or null

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

targetUserobject or null

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

postsArray of objects or null(Post)
Response
application/json
{ "id": "rp_01hz1f0kw36f82k9s4nzpc4s92n", "uri": "http://example.com", "comment": "string", "fromUserId": "us_01hxcvk1hjexere4pvtrj0ymqq", "targetPostIds": [ "pt_01hz1f0jkdw3h27a2kdr8sn2kt" ], "targetUserId": "us_01hxcvk1hjexere4pvtrj0ymqq", "groupId": "us_01hxcvk1hjexere4pvtrj0ymqq", "createdAt": "2022-03-10T16:15:50Z", "updatedAt": "2022-03-10T16:15:50Z", "assignedUser": "us_01hz1fkfg82hf89s2nzqwer02r", "actionTakenAt": "2022-03-10T16:15:50Z", "actionTakenBy": "us_01hz1fkfg82hf89s2nzqwer02r", "forwarded": true, "notes": [ { … } ], "fromUser": { "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" }, "targetUser": { "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" }, "posts": [ { … } ] }

Request

Marks a report as resolved/closed, indicating that action has been taken. The current user is recorded as the moderator who resolved the report. This updates the actionTakenAt timestamp and actionTakenByUserId fields.

RBAC: requires Reports.Manage

Path
reportIdstring(TypeId)required

UUID with type prefix

Example: us_01hxcvk1hjexere4pvtrj0ymqq
curl -i -X POST \
  https://docs.wellesley.social/_mock/openapi/api/v1/admin/reports/us_01hxcvk1hjexere4pvtrj0ymqq/resolve

Responses

Report successfully resolved

Bodyapplication/json
idstringrequired

Internal report id

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
uristring(uri)required
commentstringrequired
fromUserIdstring or null

User who reported the content

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
targetPostIdsArray of strings or null(TypeId)

Posts that were reported

Example: ["pt_01hz1f0jkdw3h27a2kdr8sn2kt"]
targetUserIdstring or null

User who was reported

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
groupIdstring or null

Report scope. If empty the scope is global. If set the scope is group and group admins can take actions

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
createdAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
updatedAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
assignedUserstring or null

Moderator assigned to handle the report

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
actionTakenAtstring or null(date-time)
Example: "2022-03-10T16:15:50Z"
actionTakenBystring or null

Moderator who took action on the report

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
forwardedboolean
notesArray of objects(ReportNote)required
notes[].​userIdstringrequired

User who added the note

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
notes[].​notestringrequired
notes[].​createdAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
fromUserobject or null

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

targetUserobject or null

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

postsArray of objects or null(Post)
Response
application/json
{ "id": "rp_01hz1f0kw36f82k9s4nzpc4s92n", "uri": "http://example.com", "comment": "string", "fromUserId": "us_01hxcvk1hjexere4pvtrj0ymqq", "targetPostIds": [ "pt_01hz1f0jkdw3h27a2kdr8sn2kt" ], "targetUserId": "us_01hxcvk1hjexere4pvtrj0ymqq", "groupId": "us_01hxcvk1hjexere4pvtrj0ymqq", "createdAt": "2022-03-10T16:15:50Z", "updatedAt": "2022-03-10T16:15:50Z", "assignedUser": "us_01hz1fkfg82hf89s2nzqwer02r", "actionTakenAt": "2022-03-10T16:15:50Z", "actionTakenBy": "us_01hz1fkfg82hf89s2nzqwer02r", "forwarded": true, "notes": [ { … } ], "fromUser": { "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" }, "targetUser": { "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" }, "posts": [ { … } ] }

Unassign report from any moderator

Request

Removes the assignment of this report from any moderator, making it available for other moderators to claim. Use when unable to complete investigation or when transferring to another moderator. Clears the assignedToUserId field.

RBAC: requires Reports.Manage

Path
reportIdstring(TypeId)required

UUID with type prefix

Example: us_01hxcvk1hjexere4pvtrj0ymqq
curl -i -X POST \
  https://docs.wellesley.social/_mock/openapi/api/v1/admin/reports/us_01hxcvk1hjexere4pvtrj0ymqq/unassign

Responses

Report successfully unassigned

Bodyapplication/json
idstringrequired

Internal report id

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
uristring(uri)required
commentstringrequired
fromUserIdstring or null

User who reported the content

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
targetPostIdsArray of strings or null(TypeId)

Posts that were reported

Example: ["pt_01hz1f0jkdw3h27a2kdr8sn2kt"]
targetUserIdstring or null

User who was reported

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
groupIdstring or null

Report scope. If empty the scope is global. If set the scope is group and group admins can take actions

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
createdAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
updatedAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
assignedUserstring or null

Moderator assigned to handle the report

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
actionTakenAtstring or null(date-time)
Example: "2022-03-10T16:15:50Z"
actionTakenBystring or null

Moderator who took action on the report

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
forwardedboolean
notesArray of objects(ReportNote)required
notes[].​userIdstringrequired

User who added the note

Example: "us_01hxcvk1hjexere4pvtrj0ymqq"
notes[].​notestringrequired
notes[].​createdAtstring(date-time)(Instant)required
Example: "2022-03-10T16:15:50Z"
fromUserobject or null

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

targetUserobject or null

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

postsArray of objects or null(Post)
Response
application/json
{ "id": "rp_01hz1f0kw36f82k9s4nzpc4s92n", "uri": "http://example.com", "comment": "string", "fromUserId": "us_01hxcvk1hjexere4pvtrj0ymqq", "targetPostIds": [ "pt_01hz1f0jkdw3h27a2kdr8sn2kt" ], "targetUserId": "us_01hxcvk1hjexere4pvtrj0ymqq", "groupId": "us_01hxcvk1hjexere4pvtrj0ymqq", "createdAt": "2022-03-10T16:15:50Z", "updatedAt": "2022-03-10T16:15:50Z", "assignedUser": "us_01hz1fkfg82hf89s2nzqwer02r", "actionTakenAt": "2022-03-10T16:15:50Z", "actionTakenBy": "us_01hz1fkfg82hf89s2nzqwer02r", "forwarded": true, "notes": [ { … } ], "fromUser": { "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" }, "targetUser": { "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" }, "posts": [ { … } ] }

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

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