Every platform (ManyVids today; OnlyFans, Fansly, Clips4Sale, LoyalFans, … later) exposes the same
namespaces with the same method names for the same concept. A plugin written against
Manyvids.Messages.send_message should port to Onlyfans.Messages.send_message by changing one identifier.
The cross-platform matrix is generated from the source and shows any drift.
Shape
<Platform>.<Namespace>.<verb>_<noun>(params, ctx)
- Platform: PascalCase brand name, e.g.
Manyvids,Onlyfans,Fansly. Its module id is lowercase (manyvids) and matches the plugin manifest'smodule. - Namespace: PascalCase plural noun from the fixed list below. Platforms don't invent new namespaces. If something doesn't fit, extend the list here first.
- Method:
snake_case, verb first, from the fixed verb list below. - Signature: always
(params, ctx).paramsis a single object, even for one id. That way new options never shift positions, and the generated docs and types stay uniform.ctxis the account context (usually the plugin instance).Platform.bind(ctx)returns the same tree withctxpre-applied.
Namespaces
| Namespace | Scope | ManyVids term | OnlyFans term (example) |
|---|---|---|---|
Account | The authenticated account ("me"): identity, session, settings | viewer, mvtoken | /users/me |
Users | Any other user: profiles, follow graph | profile, follow | users, subscribers |
Creators | Creator-only data: ranks, awards, wishlists, batch metrics | club rank, awards | — |
Messages | Direct messages / inbox | inbox rooms | chats |
Media | Uploading media for messages/posts | inbox upload | vault upload |
Content | The creator's catalog: videos, clips, posts-as-products | store videos | posts, vault |
Store | Commerce besides content: cart, physical items, custom offers | store items, customs | — |
Subscriptions | Paid fan subscriptions | VIP clubs / fanclubs | subscriptions |
Feed | Social timeline: posts, likes, shares, broadcasts | feed | posts / mass messages |
Live | Live streaming | MV Live | streams |
Notifications | Activity notifications, badges | notifications | notifications |
Analytics | Traffic/engagement reports | creator analytics | statistics |
Earnings | Revenue ledger, payouts | earnings page | statements |
Promotions | Discounts, campaigns, promo codes | mass discounts | promotions, trial links |
Contests | Site contests and awards | contests | — |
Discovery | Site-wide browsing and search: featured, search, tags | lander sections, search | explore |
Chat | Platform-neutral conversations, built on Messages/Users (see below) | — | — |
Chat is the exception to these rules. Night itself uses it (the conversation dialog, messenger
replies) without knowing the platform, so every platform with direct messages implements exactly
the same methods, params and return shapes: get_thread({ partner_id }) → ChatThread,
send({ partner_id, text, files }), is_following({ partner_id }),
set_following({ partner_id, follow }), get_own_bio(), is_member_type({ user_type }).
Platform-specific calls stay in Messages/Users.
Use the platform-neutral column name even when the platform calls it something else. ManyVids "VIP
clubs" live under Subscriptions. A ManyVids "Performer" is a Creator.
Verbs
| Verb | Meaning | Returns |
|---|---|---|
get_<noun> | One resource, or one object describing something | the resource |
list_<nouns> | A collection: one page, or everything if the platform doesn't paginate | array, response, or Page<T> |
list_all_<nouns> | Convenience that walks every page | array |
search_<nouns> | Collection filtered by a free-text or structured query | same as list_ |
count_<nouns> | A number only | number |
is_<adjective> / has_<past participle> | Yes/no question | boolean |
send_<noun> | Deliver something to another user | platform confirmation |
create_ / update_ / set_ / delete_ | Write operations (set_ = idempotent assignment) | the result |
follow / unfollow, like_<noun> / unlike_<noun>, share_<noun> | Social actions | boolean confirmation |
record_<noun>_view | Fire-and-forget counters | true |
Parameter names
snake_case, never the platform's camelCase (video_id, notvideoId).<entity>_idfor one id and<entity>_idsfor arrays:user_id,creator_id,video_id,item_id,post_id.user_id/creator_idare the platform's stable public id (the ManyVids legacy numeric id). Other id kinds are named for what they are, e.g.guid.
- Paging:
cursorin,nextout (Page<T> = { items, next }). Offset-paged endpoints usepage(1-based) /limit, orfrom/sizewhere the platform does. - Dates
YYYY-MM-DDas*_date, timesHH:MMas*_time.
Return values and errors
- Return the platform's response, typed. When a wrapper adds nothing (
{ success: {...} },data.profile.x), unwrap it withselect. Return shapes are part of the public API: changing one is a breaking change. - Never return an
{ error }object. Every failure rejects withSdkError(code:TRANSPORT,UNEXPECTED_RESPONSE,REJECTED,UNAUTHORIZED,INVALID_ARGUMENT,NO_CONTEXT,UNSUPPORTED). A platform's HTTP 401 (the account's session is no longer accepted) is alwaysUNAUTHORIZED.
Entities
Stateful helpers that wrap a raw object plus a context: new Platform.User(obj, ctx),
Platform.Creator, Platform.TagCrawler. Entities hold no logic of their own; they call namespace
methods. Stateful iteration uses next_<nouns>() plus an is_finished flag.
Versioning
SDK_VERSION (and sdk_version in plugin manifests) follows semver. Adding a method or optional
param is a minor bump. Renaming or removing a method or param, or changing a return shape, is a major bump.