Get desktop application:
View/edit binary Protocol Buffers messages
Changes service provides information about the atomic version controlled changes of Mintter objects.
Returns information about a single change.
Request for getting change info.
ID of the Change.
List changes of a given object.
Request to list changes.
Required. ID of the Mintter object to list changes for.
Optional. Number of results per page.
Optional. Token for the page to return.
Response with a list of changes.
List of changes matching the request.
Token for the next page if there's any.
Comments service allows users to add comments to documents.
Creates a new comment.
Request to create a comment.
Required. The URI of the target hypermedia resource which is being commented. It's best to use versioned URIs to propagate better context and intent, even if the comments are eventually "overlaid" onto the newer versions of the resource.
Optional. If a comment is a reply to another comment, this must be the ID of the replied comment. The target of the reply and the replied comment must be the same (although version could differ if the reply is made reading a newer version of the document).
Required. Content of the comment.
Gets a single comment by ID.
Request to get a comment.
Required. ID of the comment to retrieve.
Lists comments for a given target.
Request to list comments.
Required. The URI of the target resource for which comments should be listed.
Optional. The maximum number of comments to return.
Optional. The page token obtained from a previous request (if any).
Response with a list of comments.
List of comments.
Token to retrieve the next page of comments (if necessary).
Content graph service provides access to citations (backlinks).
Required. Document ID for which citations need to be retrieved.
Response with citations.
List of links that point to the requested document, recursively, according to the requested depth.
Drafts service exposes the functionality
Creates a new draft with a new permanent document ID.
Request to create a new draft.
Optional. Existing Document ID can be specified to update previously published document. A draft will be created with the content of the most recent known version.
Optional. Version of the existing document to create draft from. If version is specified existing_document_id must also be specified.
Deletes a draft by its document ID.
Request to delete an existing draft.
ID of the document whose draft needs to be deleted. Only one
Gets a single draft if exists.
Request to get a single draft.
ID of the document for which draft was previously created.
Updates a draft using granular update operations.
Request to update an existing draft using granular operations.
ID of the document to be updated.
List of document changes that must be applied to the existing document.
Response after draft is updated.
The ID of the change representing the draft version after the update is processed.
The state of the document after the update.
List currently stored drafts.
Request to list stored drafts.
Optional. Number of results per page.
Optional. Token for the page to return.
Response for listing drafts.
Drafts matching the list request. Content is omitted.
Token for the next page if there's any.
Lists drafts for a given document.
Request to list document drafts.
ID of the document to list drafts for.
Response with the list of drafts for a given document ID.
Drafts come without content, only metadata, similar to the rest of list responses.
Publishes a draft. I.e. draft will become a publication, and will no longer appear in drafts section.
Request to publish a draft.
ID of the document which current draft needs to be published.
Merge service provides access to merge documents.
Merge changes and publishes.
Request for merging changes in a document.
Required. Document ID from which versions are going to be taken.
Required. Versions to be merged.
Rebase changes
Request for rebasing changes in a document.
Required. Draft ID to be rebased.
Required. Versions to be applied applied on top of the base document.
Publications service provides access to published documents.
Gets a single publication.
Request for getting a single publication.
Required. ID of the published document.
Optional. Specific version of the published document. If empty, the latest one is returned.
Optional. If true, only local publications will be found. False by default. Deprecated: use [Entities.DiscoverEntity] API explicitly instead.
Lists stored publications. Only the most recent versions show up.
Request for listing publications.
Optional. Number of results per page. Default is defined by the server.
Optional. Value from next_page_token obtains from a previous response.
Optional. When provided, the response will only contain publications *owned* (created) by trusted accounts of this node. By default, it returns all the publications (trusted_only = false)
Push Local publication to the gateway.
Request for getting a single publication.
Required. ID of the published document to be pushed.
Required. URL of the gateway to push to. Multiaddress format accepted (comma separated).
Lists publications owned by a given account.
Request for listing publications owned by a given account.
Optional. Number of results per page. Default is defined by the server.
Optional. Value from next_page_token obtains from a previous response.
Required. Account ID to list publications for.
Conceptual annotation "layer" that is applied to arbitrary spans of block text. An "identity" of the layer should be derived deterministically based on its type attributes. Spans inside the same annotation can't overlap. Spans are stored inside the Annotation in a "columnar" format, i.e. StructureOfArrays instead of ArrayOfStructures. See: https://en.wikipedia.org/wiki/AoS_and_SoA. This is useful to reduce the number of allocations and offers more compact serialization, because protobuf is able to "pack" primitive repeated fields more efficiently.
Used in:
Type of the annotation.
Optional. A hyperlink to an external resource. Must be a valid URL.
Arbitrary key-value attributes of the annotation.
Start offsets of possibly disjoint spans of text for which this annotation is applied. Must be sorted and have the same number of items as `ends` list.
End offsets of possibly disjoint spans of text for which this annotation is applied. Must be sorted and have the same number of items as `starts` list.
Content block.
Used in:
,Block ID. Must be unique within the document.
Type of the block. Specific to the renderer.
Text of the content block.
Optional. The hyperlink to an external resource. Must be a valid URL.
Arbitrary attributes of the block.
Annotation "layers" of the block.
Output only. Current revision of the block. It's the ID of the last Change that modified this block. Additional information about the Change can be obtained using the Changes service.
Content block with children.
Used in:
, ,Content block.
Child blocks.
Metadata about a single Change.
Used as response type in: Changes.GetChangeInfo
Used as field type in:
ID of the Change.
Author of the Change.
Time when this change was recorded by the author.
The document version ID corresponding to this changes. TODO(burdiyan): after the breaking change the change ID can be used directly as version.
IDs of other Changes that are dependencies of this Change.
Comment is a unit of discussion. Comments are created targeting some hypermedia resource (ideally with a versioned link). Replies are created targeting the same resource, in addition to pointing to the comment they are replying to.
Used as response type in: Comments.CreateComment, Comments.GetComment
Used as field type in:
ID of the current comment.
The URI of the target resource which the comment is attached to. This is normally a Hypermedia Document, but potentially can be anything. Reply comments should share the same target as the comment they are replying to, but could potentially point to a different version.
The ID of the top-level non-reply comment of the conversation thread.
The ID of the comment to which this comment is a reply. For initial comments this field is empty.
Account ID of the author of the comment.
Content of the comment.
Timestamp when the comment was created.
Document represents metadata and content of a draft or publication.
Used as response type in: Drafts.CreateDraft, Drafts.GetDraft, Merge.RebaseChanges
Used as field type in:
, , ,Permanent ID of the document.
Title of the document.
Output only. Author ID of the document.
Output only. Account IDs of all the editors of the document. Includes the original author as well.
This is WIP feature for block-aware API. It will supersede the `content` field.
Output only. Time when document was created.
Output only. Time when document was updated.
Output only. Time when this version was published. Not present in drafts.
Output only. Current version of the document.
Output only. Previous version of the document, unless this is the first version.
Granular document change.
Used in:
New title to set on the document.
Move operation that creates/moves a block within the document hierarchy.
New block state that replaces an existing block.
ID of a block to delete.
Operation to move an existing block to a different place in the document. Move and Create operations are both expressed with this. Conceptually new blocks are moved out of nowhere into the document.
Used in:
ID of the block to move.
ID of the new parent for the block being moved.
ID of the new left sibling for the block being moved.
Description of a link inside a document.
Used in:
Required. Describes where link originates from.
Required. Describes where link points to. Here the block_id is optional, because the whole document can be linked.
Indicates whether the link targets the latest version of the document. Notice that the target link node might still have a version specified, which has to be treated as a frame of reference, i.e. "this version or newer" if is_latest is true.
Describes "sides" of a Link.
Used in:
ID of the document on one side of a Link.
Version of the document.
ID of the block inside the document.
Response with list of publications.
Used as response type in: Publications.ListAccountPublications, Publications.ListPublications
List of publications matching the request. Only most recent versions are returned. Content is omitted, only metadata is present.
Token for the next page if there're more results.
State of the document after publication. Deprecated: use the Document message instead, it has all the same fields.
Used as response type in: Drafts.PublishDraft, Merge.MergeChanges, Publications.GetPublication
Used as field type in:
Version points to the state of the publication at some point in time. Deprecated: use the version field of the Document message instead.
Published document.