Create documents with the provided document JSONs. Richtext return format can be specified
(defaults to mime
if not given).
the scope name
an array of JSON containing document data to be saved
Optional
richTextAs: stringthe format which richtext fields will be returned as (defaults to mime
if not given)
a promise that resolves to an array of created documents.
Delete all given DominoDocument in the given array. A mode can be provided if
the operation needs to be done on other modes (default mode is default
).
the scope name
n array of DominoDocument to be deleted
Optional
mode: stringthe mode to perform the document access in. Defaults to default
if missing
a promise that resolves to an array of document status response.
Delete all documents pointed by the given UNIDs. A mode can be provided if
the operation needs to be done on other modes (default mode is default
).
the scope name
an array of UNIDs of the documents to be deleted.
Optional
mode: stringthe mode to perform the document access in. Defaults to default
if missing
a promise that resolves to an array of document status response.
Get all documents pointed by the given UNIDs. Additional request options can be given.
the scope name
an array of UNIDs of the documents to get
Optional
options: BulkGetDocumentsOptionsoptions for bulk get documents operation
a promise that resolves to an array of documents.
Bulk update documents via specified request. Richtext return format can be specified
(defaults to mime
if not given).
the scope name
request body for bulk update documents by query operation
Optional
richTextAs: stringthe format which richtext fields will be returned as (defaults to mime
if not given)
a promise that resolves to an array of documents updated or an array of document operation response.
Create a document with the provided document JSON. Additional request options can be provided.
the scope name
JSON containing the document data to be saved
Optional
options: CreateDocumentOptionsoptions for create document operation
a promise that resolves to the document created.
Delete the given DominoDocument. A mode can be provided if the operation
needs to be done on other modes (default mode is default
).
the scope name
DominoDocument to be deleted
Optional
mode: stringthe mode to perform the document access in. Defaults to default
if not given.
a promise that resolves to a document status response.
Delete a document pointed by its UNID. A mode can be provided if the operation
needs to be done on other modes (default mode is default
).
the scope name
the UNID of the document to be deleted
Optional
mode: stringthe mode to perform the document access in. Defaults to default
if not given
a promise that resolves to a document status response.
Provides access to Domino REST API server.
Provides accessible operations and its required parameters.
Get a document via its UNID. Additional request options can be provided.
the scope name
the UNID of the document to get
Optional
options: GetDocumentOptionsoptions for get document operation
a promise that resolves to the document fetched.
get documents via specified request based on the action provided.
the scope name
request body for query operation
actions to be done on the query. (eg. execute, explain and parse)
Optional
options: GetDocumentsByQueryOptionsoptions for /query operation
a promise that resolves to an array of documents when execute, an object containing the explainresult or an object containing the parseResult depending on the action provided.
Pulls in view data. Will return view entries unless options.documents
is true
, which will return DominoDocument instead. options.subscriber
can also be provided, if instead of a response, you want the subscriber function to be called for each array item in the response.
the scope name
name of the view or folder
Optional
options: GetListViewEntryOptionsparameters that we want to use for the endpoint GET /lists/{name}
in a specific format
a promise that resolves to an array of DominoListViewEntry of entries/data.
Processes view data as pivot.
the scope name
name of the view or folder
name of the column to provide the data for the pivot aggregator
Optional
options: GetListPivotViewEntryOptionsparameters that we want to use for the endpoint GET /listspivot/{name}
in a specific format
A promise that resolves to a PivotListViewResponse.
Provide information on available views/folders.
the scope name
Optional
options: GetListViewOptionsparameters that we want to use for the endpoint GET /lists
in a specific format
A promise that resolves to an array of GetListViewJSON.
Return a plain unformatted text from a Rich Text field.
the scope name
the UNID of the document to be deleted
the format to return richtext field value
Optional
options: GetRichtextOptionsoptional parameters for GET /richtext/{richTextAs}/{unid}
endpoint
A promise that resolves to a string of the richtext field value.
Update a document pointed by its UNID. Performs a PATCH on the document using the given document body JSON. Additional request options can be provided.
the scope name
the document's UNID where the patch will be made
JSON that contains what to patch on a document
Optional
options: UpdateDocumentOptionsoptions for update document operation
a promise that resolves to the updated document.
Update the given DominoDocument (performs a PUT operation). Additional request options can be provided.
the scope name
DominoDocument to update
Optional
options: UpdateDocumentOptionsoptions for update document operation
a promise that resolves to the updated document.
Interface to perform BASIS Rest API operations.