forked from activitypods/mastopod
-
Notifications
You must be signed in to change notification settings - Fork 0
Molecular services
Clara edited this page Feb 25, 2025
·
20 revisions
an uncomplete list of all services accessible by the moleculer backend
Services modified or created by memory.
Service to get Posts from the OpenSearch Instance
Services not maintained and not modified by memory.
| Name | Group | Description |
|---|---|---|
| auth.account | Auth | Handles Sign-in and Signup. |
| pod-outbox | User Actions | Used to post as a user |
| jsonld.context | ||
| activitypub.outbox | Used to directly interact with the outbox of an user | |
| $node | ||
| access-description-sets | ||
| access-grants | ||
| access-needs | ||
| access-needs-groups | ||
| activitypub | ||
| activitypub.activity | ||
| activitypub.actor | ||
| activitypub.api | ||
| activitypub.collection | ||
| activitypub.collections-registry | ||
| activitypub.follow | ||
| activitypub.inbox | ||
| activitypub.like | ||
| activitypub.object | ||
| activitypub.reply | ||
| activitypub.side-effects | ||
| actors | ||
| api | ||
| apigateway | ||
| app | ||
| app-registrations | ||
| app.registration | ||
| class-descriptions | ||
| core | ||
| data-grants | ||
| jsonld | ||
| jsonld.api | ||
| jsonld.document-loader | ||
| jsonld.parser | ||
| keys | ||
| keys.container | ||
| keys.migration | ||
| keys.public-container | ||
| ldp | ||
| ldp.api | ||
| ldp.container | ||
| ldp.link-header | ||
| ldp.registry | ||
| ldp.remote | ||
| ldp.resource | ||
| memoryapi | ||
| nodeinfo | ||
| ontologies | ||
| pod-activities-watcher | ||
| pod-collections | ||
| pod-containers | ||
| pod-notifications | ||
| pod-permissions | ||
| pod-resources | ||
| pod-wac-groups | ||
| public-posts | ||
| signature | ||
| signature.keypair | ||
| signature.proxy | ||
| solid-notifications.listener | ||
| sparqlEndpoint | ||
| timer | ||
| translator | ||
| triplestore | ||
| triplestore.dataset | ||
| webacl | ||
| webacl.group | ||
| webacl.resource | ||
| webfinger | ||
| webid |
| Name | description | parameters | modified |
|---|---|---|---|
| create | Creates a new account. Must provide either username or email | (uuid: string, username?: string, password: string, email?: string, webId: string) | π΄ |
| attachWebId | attaches a WebID to an account | (accountUri: string, webId: string) | π΄ |
| verify | verify if username and password is correct | (username: string, password: string) | π΄ |
| usernameExists | check if username exists in the current pod | (username: string) | π΄ |
| emailExists | check if email exists in the current pod | (email: string) | π΄ |
| find | searches for accounts that are not tombstones | can be everything that is contained by the account | π΄ |
| findByUsername | searches for accounts by username | (username: string) | π΄ |
| findByWebId | searches for accounts by WebID | (WebId: string) | π΄ |
| findByEmail | searches for accounts by Email | (Email: string) | π΄ |
| setPassword | updates password of a WebID | (webid: string, password: string) | π΄ |
| setNewPassword | updates password when the given token is the same as resetPasswordToken | (webid: string, password: string, token: string) | π΄ |
| generateResetPasswordToken | sets a password reset token for a WebID | (webId: string) | π΄ |
| findDatasetByWebId | searches account by given WebID or the meta WebID and returns the username | (webId: string) | π΄ |
| findSettingsByWebId | returns the email and preferredLocale of an account by webId |
(webId: string) | π΄ |
| updateAccountSettings | update email and password. WebID is taken from meta | (currentPassword: string, email: string, newPassword: string) | π΄ |
| deleteByWebId | completely remove an account from DB | (webId: string) | π΄ |
| setTombstone | sets all values of an account to undefined except for webId, username and deletedAt
|
(webId: string) | π΄ |
| Name | description | parameters | modified |
|---|---|---|---|
| isValidUsername | Check if a given username is not reserved, a swearword, does not include unwanted characters and does not already exist | (ctx, username: string): Promise | π’ Added slur detection |
| hashPassword | returns a hash for a given password | (password: string) => Promise | π΄ |
| comparePassword | compares a password to a hash | (password: string, hash: string) => Promise | π΄ |
| generateResetPasswordToken | returns a random hash | () => Promise | π΄ |
also mentioned in the Activity Pod Docs
| Name | description | parameters | modified |
|---|---|---|---|
| post | Posting as the given user | (activity, actorUri: string) | π΄ |
| Name | description | parameters | modified |
|---|---|---|---|
| get | gets a default context | () => string[] | π΄ |
| getLocal | () => unknown | π΄ | |
| merge | π΄ | ||
| parse | π΄ | ||
| validate | π΄ |
| Name | description | parameters | modified |
|---|---|---|---|
| post | post to the given collection | (collectionUri, username, ... activity) => unknown | π΄ |
| updateCollectionsOptions | (dataset: unknown) => void | π΄ |
| Name | description | parameters | modified |
|---|---|---|---|
| isLocalActor | checks if uri starts with baseUri | (uri: string) => boolean | π΄ |
| localPost | (recipients: unknown, activity: unknown) => { success, failures } | π΄ |
- remotePost