Automic REST-API
Project description
automic_rest
Under construction! Not ready for use yet! Currently experimenting and planning!
How To Use
import automic_rest as automic
# init
automic.connection(
userid='admin',
password='*****',
url='https://autmic-rest.com',
noproxy=True,
sslverify=False
)
# listExecutions
execs = automic.executions().listExecutions(client_id=1).json()
for o in execs['data']:
print(o['name'])
# executeObject
data = {
"object_name": "SCRI.NEW.5",
"execution_option": "execute",
"inputs":
{
"PASS#": "test"
}
}
runid = automic.executions().executeObject(client_id=1111, data=data).json()['run_id']
print(runid)
response = automic.executions().listReportContent(client_id=1111, run_id=runid, report_type='ACT').json()
print(response['data'][0]['content'])
Class | Function | Infos |
---|---|---|
executions | changeExecutionStatus |
|
executions | computeErtEstimations |
|
executions | createComments |
|
executions | executeObject |
|
executions | getChildrenOfExecution |
|
executions | getExecution |
|
executions | listComments |
|
executions | listExecutions |
|
executions | listReportContent |
|
executions | listReports |
|
executions | listVariables |
|
forecasts | createForecast |
|
forecasts | deleteForecast |
|
forecasts | getForecast |
|
forecasts | listForecastAgents |
|
forecasts | listForecasts |
|
forecasts | modifyForecast |
|
objects | getObjects |
|
objects | getTimezoneInfo |
|
objects | listObjectInputs |
|
objects | postObjects |
|
objects | usage |
|
objects | usageForCalendarEvents |
|
ping | ping |
|
repositories | branchDiff |
|
repositories | branchLog |
|
repositories | commitChanges |
|
repositories | createBranch |
|
repositories | createRepository |
|
repositories | delete |
|
repositories | getChanges |
|
repositories | getRepository |
|
repositories | listBranches |
|
repositories | mergeBranchIntoActive |
|
repositories | moveHead |
|
repositories | pull |
|
scripts | activateScript |
|
search | findObjects |
|
system | deleteClients |
|
system | getAgentDetails |
|
system | getFeatureList |
|
system | healthCheck |
|
system | listAgentgroups |
|
system | listAgents |
|
system | listClients |
|
telemetry | export |
|
telemetry | productList |
|
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
automic_rest-0.0.3.tar.gz
(14.1 kB
view hashes)
Built Distribution
Close
Hashes for automic_rest-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4190b67d6b582f0d409622387257e2c9177b3397b4bec6b505f89b7f64a54948 |
|
MD5 | 4b703543368f5ba89eea58c40e00dc07 |
|
BLAKE2b-256 | 9a495d7c1eb686abd1e6560ac6fe718e3823eadce679fcb10c4dbf02a0068c39 |