All URIs are relative to https://localhost
| Method | HTTP request | Description |
|---|---|---|
| folder_database_api_data_agentjobs_post | POST /{folder}/{database}/api/data/agentjobs | Executes an agent. |
| folder_database_api_data_agents_agent_name_get | GET /{folder}/{database}/api/data/agents/{agentName} | Reads a list of agents. |
folder_database_api_data_agentjobs_post(folder, database, agent_job)
Executes an agent.
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'
# 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)| Name | Type | Description | Notes |
|---|---|---|---|
| folder | 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 | str | Database file name. | |
| agent_job | AgentJob | The agent job to execute. |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Agent folder_database_api_data_agents_agent_name_get(folder, database, agent_name)
Reads a list of agents.
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'
# 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_name = 'agent_name_example' # str | Name of an agent in the database.
try:
# Reads a list of agents.
api_response = api_instance.folder_database_api_data_agents_agent_name_get(folder, database, agent_name)
pprint(api_response)
except ApiException as e:
print("Exception when calling AgentApi->folder_database_api_data_agents_agent_name_get: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| folder | 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 | str | Database file name. | |
| agent_name | str | Name of an agent in the database. |
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]