Get desktop application:
View/edit binary Protocol Buffers messages
Provides functionality to query information about Hypermedia Entities.
Gets a change by ID.
Request to get a change by ID.
ID of the change.
Gets the DAG of changes for an entity.
Request to get the timeline of an entity.
The entity ID to get the timeline for.
Flag to include draft changes in the timeline, otherwise they are omitted by default.
The timeline of an entity.
The ID of the entity.
Account ID of the owner of the entity.
The set of changes for the entity keyed by change ID.
The sorted list of change IDs by time.
The set of changes that has no dependencies. Normally there should only be one root, but just in case it's defined as a list.
The set of leaf changes considering the entire DAG.
The set of author versions/variants sorted by timestamp.
Triggers a best-effort discovery of an entity.
Request to discover an entity.
Required. The entity ID to discover.
Optional. Version of the entity to discover.
Response to discover an entity.
TODO(burdiyan): add summary of the discovery process. Or maybe even make this call streaming?
(message has no fields)
Finds the list of local entities whose titles match the input string. A fuzzy search is performed among documents, groups and accounts. For groups and documents, we match the title, while we match alias in accounts.
Request to
Query to find. Since we use Fuzzy search, a single query may return multiple entities.
A list of entities matching the request.
Entities matching the input title
Token for the next page if there's any.
Deletes an entity from the local node. It removes all the patches corresponding to it, including comments.
Request for deleting an entity.
Entity ID of the entity to be removed. All versions will also be removed.
Optional. Reason why the user wants to delete that entity.
Lists deleted entities.
Request for listing deleted entities.
Optional. Number of results per page. Default is defined by the server.
Optional. Value from next_page_token obtains from a previous response.
Response with list of deleted entities.
List of deleted entities.
Token for the next page if there're more results.
Undo the entity delition by removing the entity from the deleted list. That entity, if available will be synced back in the next syncing round (or manually discovered).
Request for restoring an entity.
Entity ID of the entity to be restored. All versions will also be restored.
List mentions of a given Entity across the locally-available content.
Request to list mentions of an entity.
Required. ID of the entity to list mentions for.
Optional. The size of the page to return by the server. The server may ignore this, and return a bigger response.
Optional. The page token to continue the pagination.
Optional. Whether to return the results in descending order (newest-first). By default mentions are listed in the chronological order, according to the *locally perceived* order of the blobs that contain the mentions. I.e. we sort the links according to the time we receive the blobs, not according to the time blobs claim to have been created. This is to prevent losing new mentions in case of receiving out-of-date blobs. This flag must remain the same when paginating through the results.
Response to list mentions of an entity.
Required. The list of mentions for the entity.
Optional. Token for the next page if there's any.
Set of heads from a given author.
Used in:
Account ID of the author.
The set of leaf changes from that author.
The version string corresponding to the author's variant. I.e. same as heads but concatenated with a '.' delimiter.
The timestamp of the author's version. For compound versions the greatest timestamp is used.
A change to an entity.
Used as response type in: Entities.GetChange
Used as field type in:
ID of the change.
Author of the change.
Timestamp when the change was created.
IDs of other changes this change depends on.
IDs of other changes that depend on this change.
Indicates whether this changes comes from a trusted peer of ours.
Indicates whether this change is a draft.
Publication that has been deleted
Used in:
EID of the deleted entity.
When the entity was deleted.
Reason why this entity was deleted.
Further metadata about the deleted entity, title, etc ...
A change to an entity.
Used in:
EID of the entity.
Title of the entity, depending on the type: Alias in the case of account. Title in the case of groups and documents Empty in the case of comments.
The owner of the entity
Mention of an Entity. Source means the place where the mention was found. Target means the entity being mentioned.
Used in:
Required. The ID of the source where the mention was found.
Optional. Context can mean different things depending on the type of the source: it can be the block ID when source is a Document or Comment, it can be a pretty-path when source is a Group that mentions a Document, it can also be empty.
Required. Information about the blob where the mention was found.
Optional. The version of the target Entity the link points to, if one is specified in the link.
Required. Specifies whether the link points to the exact/pinned version of the target document, or if the target version is a *suggested* minimum version, and a later one should be preferred if exists.
Optional. The fragment portion of the link.
Information about a structural blob that contains the mention.
Used in:
The CID-formatted hash of the blob.
The Account ID of the author of the blob.
The timestamp of the blob.
Specifies whether the blob is a draft.