Logo Decentralized Social Network

Virtual Pages

These are standard virtual pages supported by Moera nodes. Read more about virtual pages in the Architecture Overview section.

Virtual pages are located under /moera subdirectory of the Moera root of the website (matches the website root by default, may be changed by X-Moera header).

/api-docs

Node API specification in OpenAPI format.

/api-ui.html

Web interface for executing node API requests.

/complaints

(for sheriffs only) Complaints management interface.

/complaints/{id}

(for sheriffs only) Management interface for a particular group of complaints, related to the same posting or comment.

/compose?id={id}

Post composer. If id is not provided, the composer is opened for creating a new post; otherwise it is opened for editing the post with the given ID.

/compose?draft={id}

Post composer opened for creating a new post, with a draft loaded. ID of the draft is passed in the draft parameter.

/grant?client_id={name}&client_secret={carte}&scope={scope}&redirect_uri={uri}

OAuth2 authorization page.

/media/private/{id}.{extension}?width={number}&download={true or false}

Private media file. The {extension} does not affect the result.

The optional width parameter is the preferred width of the media in pixels. The node will try to return the smallest in size, but the best in quality variant of the media, according to the width provided.

If the download parameter is present and set to true, the node will add Content-Disposition: attachment header to the output.

/media/public/{id}.{extension}?width={number}&download={true or false}

Public media file. The <extension> does not affect the result.

The optional width parameter is the preferred width of the media in pixels. The node will try to return the smallest in size, but the best in quality variant of the media, according to the width provided.

If the download parameter is present and set to true, the node will add Content-Disposition: attachment header to the output.

/news

Newsfeed — publications from the nodes this node is subscribed to in reverse chronological order.

/news?before={moment}

Newsfeed, positioned at about the given moment.

/people

Information related to other nodes.

/people/subscribers

Information about subscribers of this node.

/people/subscriptions

Information about subscriptions of this node.

/people/friend-ofs

Information about nodes that added this node to their friends.

/people/blocked

Information about nodes blocked by this node.

/people/blocked-by

Information about nodes that blocked this node.

/people/{id}

Information about friends of this node that are members of the group of friends with the given ID.

/post/{id}

Detailed view of the post with the given ID.

/post/{id}?comment={commentId}

View of the comment with the given ID to the given post.

/post/{id}?media={mediaId}

View of the media with the given ID attached to the given post.

/post/{id}?comment={commentId}&media={mediaId}

View of the media with the given ID attached to the given comment to the given post.

/profile

Profile — the detailed information about the node’s owner, node’s purpose etc.

/profile?edit=true

Profile in editing mode.

/settings

Settings page.

/settings/{tab}

Settings page with the given tab open (one of node or client).

/timeline

Timeline - all publications in reverse chronological order.

/timeline?before={moment}

Timeline, positioned at about the given moment.