Skip to main content

SYSNET DDA Client

The data API provides access to any database for which it is enabled. The API represents databases, views, view entries, and documents in JSON format. Important: This version of the OpenAPI spec (data.yaml) includes data API changes from the XPages Extension Library release 9.0.1.v09_02. This includes new operations on attachments, agents and forms. If you are using a version before 9.0.1.v09_02, consider using an earlier version of the spec.

This Python package is automatically generated by the Swagger Codegen project:

  • API version: 9.0.1
  • Package version: 1.0.1
  • Build package: io.swagger.codegen.languages.PythonClientCodegen

Requirements.

Python 3.10+

Installation & Usage

pip install

If the python package is hosted on Github, you can install directly from Github

pip install sysnet-dda

(you may need to run pip with root permission: sudo pip install git+https://github.com//.git)

Then import the package:

import dda

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import dda

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function
import time
import dda
from dda.rest import ApiException
from pprint import pprint

# Configure HTTP basic authorization: basic
configuration = dda.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
configuration.host = 'https://domino.example.com'

# create an instance of the API class
api_instance = dda.AgentApi(dda.ApiClient(configuration))
folder = 'folder_example'  # str | Database folder name relative to the Domino data directory.  If the database is not in a folder, use `.` to specify the data directory itself. 
database = 'database_example'  # str | Database file name.
agent_job = dda.AgentJob()  # AgentJob | The agent job to execute.

try:
    # Executes an agent. 
    api_instance.folder_database_api_data_agentjobs_post(folder, database, agent_job)
except ApiException as e:
    print("Exception when calling AgentApi->folder_database_api_data_agentjobs_post: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://localhost

Class Method HTTP request Description
AgentApi folder_database_api_data_agentjobs_post POST /{folder}/{database}/api/data/agentjobs Executes an agent.
AgentApi folder_database_api_data_agents_agent_name_get GET /{folder}/{database}/api/data/agents/{agentName} Reads a list of agents.
AgentListApi folder_database_api_data_agents_get GET /{folder}/{database}/api/data/agents Reads a list of agents.
AttachmentApi folder_database_api_data_documents_unid_doc_unid_item_name_file_name_delete DELETE /{folder}/{database}/api/data/documents/unid/{docUnid}/{itemName}/{fileName} Deletes an attachment.
AttachmentApi folder_database_api_data_documents_unid_doc_unid_item_name_file_name_get GET /{folder}/{database}/api/data/documents/unid/{docUnid}/{itemName}/{fileName} Reads an attachment.
AttachmentApi folder_database_api_data_documents_unid_doc_unid_item_name_file_name_put PUT /{folder}/{database}/api/data/documents/unid/{docUnid}/{itemName}/{fileName} Updates an attachment.
AttachmentApi folder_database_api_data_documents_unid_doc_unid_item_name_post POST /{folder}/{database}/api/data/documents/unid/{docUnid}/{itemName} Adds an attachment to an item in a document.
DatabaseListApi api_data_get GET /api/data Gets a list of databases.
DocumentApi folder_database_api_data_documents_post POST /{folder}/{database}/api/data/documents Creates a new document.
DocumentApi folder_database_api_data_documents_unid_doc_unid_delete DELETE /{folder}/{database}/api/data/documents/unid/{docUnid} Deletes a document.
DocumentApi folder_database_api_data_documents_unid_doc_unid_get GET /{folder}/{database}/api/data/documents/unid/{docUnid} Reads a document.
DocumentApi folder_database_api_data_documents_unid_doc_unid_patch PATCH /{folder}/{database}/api/data/documents/unid/{docUnid} Updates selected items in a document.
DocumentApi folder_database_api_data_documents_unid_doc_unid_put PUT /{folder}/{database}/api/data/documents/unid/{docUnid} Replaces all items in a document.
DocumentListApi folder_database_api_data_documents_get GET /{folder}/{database}/api/data/documents Gets a list of documents.
FolderApi folder_database_api_data_collections_name_view_name_put PUT /{folder}/{database}/api/data/collections/name/{viewName} Updates the contents of a folder by folder name.
FolderApi folder_database_api_data_collections_unid_view_unid_put PUT /{folder}/{database}/api/data/collections/unid/{viewUnid} Updates the contents of a folder by folder UNID.
FormListApi folder_database_api_data_forms_get GET /{folder}/{database}/api/data/forms Reads a list of forms.
ViewDesignApi folder_database_api_data_collections_name_view_name_design_get GET /{folder}/{database}/api/data/collections/name/{viewName}/design Gets information on the columns in a view or folder.
ViewDesignApi folder_database_api_data_collections_unid_view_unid_design_get GET /{folder}/{database}/api/data/collections/unid/{viewUnid}/design Gets information on the columns in a view or folder.
ViewEntryListApi folder_database_api_data_collections_name_view_name_get GET /{folder}/{database}/api/data/collections/name/{viewName} Gets a list of view entries by view name.
ViewEntryListApi folder_database_api_data_collections_unid_view_unid_get GET /{folder}/{database}/api/data/collections/unid/{viewUnid} Gets a list of view entries by view UNID.
ViewListApi folder_database_api_data_collections_get GET /{folder}/{database}/api/data/collections Gets a list of views and folders in a database.

Documentation For Models

Documentation For Authorization

basic

  • Type: HTTP basic authentication

Author

Metadata

Release files for sysnet-dda 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sysnet-dda 1.0.0
File Size Uploaded Provenance Actions
sysnet_dda-1.0.0.tar.gz 45.1 kB Without provenance Details for sysnet_dda-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sysnet-dda 1.0.0
File Interpreter ABI Platform Actions
sysnet_dda-1.0.0-py3-none-any.whl Python 3 none any Details for sysnet_dda-1.0.0-py3-none-any.whl

Total release size: 148.7 kB

Release files / sysnet_dda-1.0.0.tar.gz

Download URL sysnet_dda-1.0.0.tar.gz
Size 45.1 kB
Tags Source
SHA-256 checksum
How to use checksums
58f116a31803f165a72b212d4d9d6b729e56dc112ec989537a852bede9d5cf3b
BLAKE2b-256 checksum
How to use checksums
c1c6be8ac25c9f24183806e079be23e04f710ea4358f2230781e4920014b2c0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release files / sysnet_dda-1.0.0-py3-none-any.whl

Download URL sysnet_dda-1.0.0-py3-none-any.whl
Size 103.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a01a5e377b68117772ccacd2f74ba8100c39df0948e94c88398b61459e34d655
BLAKE2b-256 checksum
How to use checksums
3537d1585fcb0223b1ca979517d85b304ed72a86cd5efd595e0957f0ddad044f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Security for sysnet-dda 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page