Download OpenAPI specification:
Platform 6 REST API for Application Integration.
The Itential REST API uses OpenAPI 3.1.0 specifications and supports Basic Authentication and OAuth 2.0 to authenticate requests. This reference library documents available APIs for the Platform 6, including HTTP response codes to indicate success or failure of an API request. Platform 6 REST APIs also use standard verbs to perform CRUD operations. For product documentation, visit Itential Documentation & Guides.
Default HTTP port is 3000
. Default HTTPS port is 3443
. Both IPv6 and IPv4 are supported. Default host is 127.0.0.1
. The basePath is /
.
API requests without authentication will fail. Available authorizations include: BasicAuth
(username/password), CookieAuth
(token/cookie-based) and QueryAuth
(token/query-based).
This API uses Basic Authentication for securing its endpoints.
Using this authentication strategy, you need to provide your credentials in the HTTP request headers. The credentials should be sent as a base64 encoded string of username:password
.
curl
for Basic Authenticationcurl -u username:password -X GET "https://localhost:3443"
In this example, -u
is the flag used by curl
to specify the username and password. Replace username and password with your actual credentials.
The Basic Authentication credentials are sent in the Authorization
header. Here's what it looks like:
Authorization: Basic base64(username:password)
The username:password
string needs to be base64 encoded before it is sent in the header. For example, if your username is user
and your password is pass
, the string to encode is user:pass
. The base64 encoded result would look something like this:
Authorization: Basic dXNlcjpwYXNz
Using this authentication strategy, you need to authenticate and obtain a token by making a POST request to the /login
endpoint. The response token will be used in the token
query parameter for subsequent requests.
To obtain an authentication token, send a POST request to the /login
endpoint with the following JSON payload:
{
"user": {
"username": "admin",
"password": "admin"
}
}
curl
to Request a Tokencurl -X POST "https://localhost:3443/login" -H "Content-Type: application/json" -d '{"user": {"username": "admin", "password": "admin"}}'
In this example, the -d
flag is used by curl
to send the JSON body with the request.
If the login is successful, the API will return the authentication token. The token can be used in the token
query parameter for subsequent requests:
your-auth-token-here
Once you have the token, include it in the query string of your requests as follows:
?token=your-auth-token-here
Using this authentication strategy, you need to authenticate and obtain a Bearer token by making a POST request to the /oauth/token
endpoint. The response access_token
will be used as temporary credentials that the client will set in the Authorization
header. Here's what it looks like:
Authorization: Basic access_token
.
To obtain an authentication token, send a POST request to the /oauth/token
endpoint. You'll need to send the data as application/x-www-form-urlencoded
with the following payload:
client_id=your-client-id&client_secret=your-client-secret&grant_type=client_credentials
curl
to Request a Bearer Tokencurl -X POST "https://localhost:3443/oauth/token" -H "Content-Type: accept: application/json" -H "Content-Type: application/x-www-form-urlencoded" -d 'client_id=123abccc123a123a12ab1ab1&client_secret=a123a123-a1a1-1a1a-a123-123a12abc1a1&grant_type=client_credentials'
In this example, the -d
flag is used by curl
to send the data with the request.
If the login is successful, the API will return the authentication token. The token can be used in the token
query parameter for subsequent requests:
{
"access_token": "falksjflkasdjflkasdjfklajsdflj.eyJwcmluY2lwYWxJZCI6IjY2OWU1ZGNjOTE1ZDUxMWEzMmJmMGNhNCIsImV4cCI6MTcyMTY1OTQ4MDkwMiwiaWF0IjoxNzIxNjU1ODgwfQ.7jrB2mC9aqSdPdUvz7D-u9HghRFtnpFbYdaBH54kNZc","token_type": "bearer","expires_in": 3600}
Once you have the Bearer token, use it as your Authorization
header. Here's what it should look like:
Authorization: Bearer your-access_token-here
To test the API using Basic Authentication, you can use the following
curl
command. Replace username
and password
with your actual
credentials.
Note: Basic Auth is only available over SSL.
This command sends a GET request to the specified resource, using the provided username and password for authentication. Running the whoami operation will confirm that you can reach the IAP server's API and it will return access associated to your user.
To test the API using the Query Token Authentication, you can use the following
curl
command. Replace your-auth-token-here
with your actual
token that you received using /login
.
This command sends a GET request to the specified resource, using the Query Token authentication. Running the whoami operation will confirm that you can reach the IAP server's API and it will return access associated to your user.
To test the API using the Client Authentication, you can use the following
curl
command. Replace your-access_token-here
with your actual
Bearer token that you received using /oauth/token
.
This command sends a GET request to the specified resource, using the Client authentication. Running the whoami operation will confirm that you can reach the IAP server's API and it will return access associated to your user.
Get the list of available adapter model types in the current IAP.
contains | string Examples: contains=profile1 contains |
equals | string Examples: equals=profile1 equals |
startsWith | string Examples: startsWith=profile startsWith |
order | integer (iap_common-schema_order) Default: 1 Enum: -1 1 order |
{- "adapterModels": [
- "local_aaa"
], - "total": 1
}
Create a new adapter in IAP.
request body
object (properties) |
{- "properties": {
- "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_timezone_offset": -5,
- "log_level": "error",
- "console_level": "error",
- "metrics_filename": "metrics.log",
- "metrics_max_files": 31,
- "metrics_rotation_interval": "7d",
- "metrics_rotation_size": "10M",
- "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "isEncrypted": true,
- "model": "@itential/adapter-local_aaa",
- "name": "Local AAA",
- "type": "Application",
- "properties": {
- "id": {
- "$data": "2/name"
}, - "type": "local_aaa",
- "properties": { },
- "brokers": [
- "aaa"
], - "groups": [
- "pronghorn_admin"
]
}
}
}
{- "status": "OK",
- "message": "A sample success message",
- "data": {
- "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_timezone_offset": -5,
- "log_level": "error",
- "console_level": "error",
- "metrics_filename": "metrics.log",
- "metrics_max_files": 31,
- "metrics_rotation_interval": "7d",
- "metrics_rotation_size": "10M",
- "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "isEncrypted": true,
- "profiling": true,
- "model": "@itential/adapter-local_aaa",
- "name": "Local AAA",
- "type": "Application",
- "properties": { },
- "virtual": true,
- "systemProps": {
- "maxOldSpaceSize": 2048
}, - "eventDeduplication": {
- "active": true,
- "cacheTtl": 10000,
- "uniqueProps": [
- "/messageId"
]
}
}
}
Get all adapters in IAP.
contains | string Examples: contains=redis contains |
containsField | string Examples: containsField=name containsField |
equals | string Examples: equals=redis equals |
equalsField | string Examples: equalsField=name equalsField |
startsWith | string Examples: startsWith=redis startsWith |
startsWithField | string Examples: startsWithField=name startsWithField |
skip | integer (iap_common-schema_skip) >= 0 Default: 0 Examples: skip=1 skip=10 skip=50 skip |
limit | integer (iap_common-schema_limit) >= 0 Default: 25 Examples: limit=1 limit=10 limit=50 limit |
sort | string (iap_common-schema_sort) Default: "name" Value: "name" sort |
order | integer (iap_common-schema_order) Default: 1 Enum: -1 1 order |
skipActiveSync | boolean Default: false skipActiveSync |
{- "results": [
- {
- "metadata": {
- "isActive": true,
- "activeSync": true
}, - "data": {
- "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_timezone_offset": -5,
- "log_level": "error",
- "console_level": "error",
- "metrics_filename": "metrics.log",
- "metrics_max_files": 31,
- "metrics_rotation_interval": "7d",
- "metrics_rotation_size": "10M",
- "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "isEncrypted": true,
- "profiling": true,
- "model": "@itential/adapter-local_aaa",
- "name": "Local AAA",
- "type": "Application",
- "properties": { },
- "virtual": true,
- "systemProps": {
- "maxOldSpaceSize": 2048
}, - "eventDeduplication": {
- "active": true,
- "cacheTtl": 10000,
- "uniqueProps": [
- "/messageId"
]
}
}
}
], - "total": 1
}
Import a new adapter in IAP.
request body
object (properties) |
{- "properties": {
- "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_timezone_offset": -5,
- "log_level": "error",
- "console_level": "error",
- "metrics_filename": "metrics.log",
- "metrics_max_files": 31,
- "metrics_rotation_interval": "7d",
- "metrics_rotation_size": "10M",
- "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "isEncrypted": true,
- "model": "@itential/adapter-local_aaa",
- "name": "Local AAA",
- "type": "Application",
- "migrationVersion": 0,
- "properties": {
- "id": {
- "$data": "2/name"
}, - "type": "local_aaa",
- "properties": { },
- "brokers": [
- "aaa"
], - "groups": [
- "pronghorn_admin"
]
}
}
}
{- "status": "OK",
- "message": "A sample success message",
- "data": {
- "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_timezone_offset": -5,
- "log_level": "error",
- "console_level": "error",
- "metrics_filename": "metrics.log",
- "metrics_max_files": 31,
- "metrics_rotation_interval": "7d",
- "metrics_rotation_size": "10M",
- "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "isEncrypted": true,
- "profiling": true,
- "model": "@itential/adapter-local_aaa",
- "name": "Local AAA",
- "type": "Application",
- "properties": { },
- "virtual": true,
- "systemProps": {
- "maxOldSpaceSize": 2048
}, - "eventDeduplication": {
- "active": true,
- "cacheTtl": 10000,
- "uniqueProps": [
- "/messageId"
]
}
}
}
Delete an adapter from IAP.
name required | string (Name) ^[^\/]+$ Default: "" Examples: Local AAA The name of the selected adapter. |
{- "status": "OK",
- "message": "A sample success message"
}
Get a single adapter in IAP.
name required | string (Name) ^[^\/]+$ Default: "" Examples: Local AAA The name of the selected adapter. |
{- "metadata": {
- "isActive": true,
- "activeSync": true
}, - "data": {
- "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_timezone_offset": -5,
- "log_level": "error",
- "console_level": "error",
- "metrics_filename": "metrics.log",
- "metrics_max_files": 31,
- "metrics_rotation_interval": "7d",
- "metrics_rotation_size": "10M",
- "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "isEncrypted": true,
- "profiling": true,
- "model": "@itential/adapter-local_aaa",
- "name": "Local AAA",
- "type": "Application",
- "properties": { },
- "virtual": true,
- "systemProps": {
- "maxOldSpaceSize": 2048
}, - "eventDeduplication": {
- "active": true,
- "cacheTtl": 10000,
- "uniqueProps": [
- "/messageId"
]
}
}
}
Update an adapter in IAP.
name required | string (Name) ^[^\/]+$ Default: "" Examples: Local AAA The name for the selected adapter. |
request body
object (properties) |
{- "properties": {
- "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_timezone_offset": -5,
- "log_level": "error",
- "console_level": "error",
- "metrics_filename": "metrics.log",
- "metrics_max_files": 31,
- "metrics_rotation_interval": "7d",
- "metrics_rotation_size": "10M",
- "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "isEncrypted": true,
- "type": "Application",
- "properties": { }
}
}
{- "status": "OK",
- "message": "A sample success message",
- "data": {
- "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_timezone_offset": -5,
- "log_level": "error",
- "console_level": "error",
- "metrics_filename": "metrics.log",
- "metrics_max_files": 31,
- "metrics_rotation_interval": "7d",
- "metrics_rotation_size": "10M",
- "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "isEncrypted": true,
- "profiling": true,
- "model": "@itential/adapter-local_aaa",
- "name": "Local AAA",
- "type": "Application",
- "properties": { },
- "virtual": true,
- "systemProps": {
- "maxOldSpaceSize": 2048
}, - "eventDeduplication": {
- "active": true,
- "cacheTtl": 10000,
- "uniqueProps": [
- "/messageId"
]
}
}
}
Export a single adapter in IAP.
name required | string (Name) ^[^\/]+$ Default: "" Examples: Local AAA The name of the selected adapter. |
{- "type": "Application",
- "properties": {
- "id": {
- "$data": "2/name"
}, - "type": "local_aaa",
- "properties": { },
- "brokers": [
- "aaa"
], - "groups": [
- "5fe9f10cc1fca243d562e1d8"
]
}, - "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_timezone_offset": -5,
- "log_level": "error",
- "console_level": "error",
- "metrics_filename": "metrics.log",
- "metrics_max_files": 31,
- "metrics_rotation_interval": "7d",
- "metrics_rotation_size": "10M",
- "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "isEncrypted": true,
- "profiling": true,
- "model": "@itential/adapter-local_aaa",
- "name": "Local AAA",
- "virtual": true,
- "systemProps": {
- "maxOldSpaceSize": 2048
}, - "eventDeduplication": {
- "active": true,
- "cacheTtl": 10000,
- "uniqueProps": [
- "/messageId"
]
}
}
Get the list of changelogs for a specific adapter.
name required | string (name) Examples: WorkFlowEngine MOP The name of the selected adapter. |
release | string Examples: release=0.0.1 release=0.1.0 release=1.0.0 release=1.1.1-2020.1.0 release |
{- "property1": {
- "2020.1.1": "Changelog for 2020.1"
}, - "property2": {
- "2020.1.1": "Changelog for 2020.1"
}
}
Start an adapter in IAP.
name required | string (Name) ^[^\/]+$ Default: "" Examples: Local AAA The name of the selected adapter. |
{- "status": "OK",
- "message": "A sample success message"
}
Stop an adapter in IAP.
name required | string (Name) ^[^\/]+$ Default: "" Examples: Local AAA The name of the selected adapter. |
{- "status": "OK",
- "message": "A sample success message"
}
Restart an adapter in IAP.
name required | string (Name) ^[^\/]+$ Default: "" Examples: Local AAA The name of the selected adapter. |
{- "status": "OK",
- "message": "A sample success message"
}
Update the log levels for an adapter.
name required | string (Name) ^[^\/]+$ Default: "" Examples: Local AAA The name for the selected adapter. |
request body
object (properties) |
{- "properties": {
- "transport": "syslog",
- "level": "debug"
}
}
{- "status": "OK",
- "message": "A sample success message"
}
Update the properties of an adapter in IAP.
name required | string (Name) ^[^\/]+$ Default: "" Examples: Local AAA The name for the selected adapter. |
request body
properties | any (properties) |
{- "properties": null
}
{- "status": "OK",
- "message": "A sample success message",
- "data": {
- "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_timezone_offset": -5,
- "log_level": "error",
- "console_level": "error",
- "metrics_filename": "metrics.log",
- "metrics_max_files": 31,
- "metrics_rotation_interval": "7d",
- "metrics_rotation_size": "10M",
- "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "isEncrypted": true,
- "profiling": true,
- "model": "@itential/adapter-local_aaa",
- "name": "Local AAA",
- "type": "Application",
- "properties": { },
- "virtual": true,
- "systemProps": {
- "maxOldSpaceSize": 2048
}, - "eventDeduplication": {
- "active": true,
- "cacheTtl": 10000,
- "uniqueProps": [
- "/messageId"
]
}
}
}
Discovers all actions from inputed IAG adapters. This will restart this app and display a corresponding log message.
request body
taskContinuation | boolean (Task Continuation) Default: true |
{- "taskContinuation": true
}
{ }
Discovers all actions from all IAG adapters. This will restart this app and display a corresponding log message.
request body
taskContinuation | boolean (Task Continuation) Default: true |
{- "taskContinuation": true
}
{ }
Discovers all actions from a specified IAG adapter. This will restart this app and display a corresponding log message.
adapterId required | string (adapterId) Automation Gateway adapter ID. |
{ }
Removes all actions from a specified IAG adapter. This will restart this app and display a corresponding log message.
adapterId required | string (adapterId) Automation Gateway adapter ID. |
{ }
Get a single application in IAP.
name required | string (Name) ^[^\/]+$ Default: "" Examples: Local AAA The name of the selected application. |
{- "metadata": {
- "isActive": true,
- "activeSync": true
}, - "data": {
- "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_timezone_offset": -5,
- "log_level": "error",
- "console_level": "error",
- "metrics_filename": "metrics.log",
- "metrics_max_files": 31,
- "metrics_rotation_interval": "7d",
- "metrics_rotation_size": "10M",
- "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "isEncrypted": true,
- "profiling": true,
- "model": "@itential/adapter-local_aaa",
- "name": "Local AAA",
- "type": "Application",
- "properties": { },
- "virtual": true,
- "systemProps": {
- "maxOldSpaceSize": 2048
}, - "eventDeduplication": {
- "active": true,
- "cacheTtl": 10000,
- "uniqueProps": [
- "/messageId"
]
}
}
}
Update an application in IAP.
name required | string (Name) ^[^\/]+$ Default: "" Examples: Local AAA The name for the selected application. |
request body
object (properties) |
{- "properties": {
- "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_timezone_offset": -5,
- "log_level": "error",
- "console_level": "error",
- "metrics_filename": "metrics.log",
- "metrics_max_files": 31,
- "metrics_rotation_interval": "7d",
- "metrics_rotation_size": "10M",
- "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "isEncrypted": true,
- "type": "Application",
- "properties": { }
}
}
{- "status": "OK",
- "message": "A sample success message",
- "data": {
- "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_timezone_offset": -5,
- "log_level": "error",
- "console_level": "error",
- "metrics_filename": "metrics.log",
- "metrics_max_files": 31,
- "metrics_rotation_interval": "7d",
- "metrics_rotation_size": "10M",
- "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "isEncrypted": true,
- "profiling": true,
- "model": "@itential/adapter-local_aaa",
- "name": "Local AAA",
- "type": "Application",
- "properties": { },
- "virtual": true,
- "systemProps": {
- "maxOldSpaceSize": 2048
}, - "eventDeduplication": {
- "active": true,
- "cacheTtl": 10000,
- "uniqueProps": [
- "/messageId"
]
}
}
}
Get the list of changelogs for a specific application.
name required | string (Name) ^[^\/]+$ Default: "" Examples: Local AAA The name of the selected application. |
release | string Examples: release=0.0.1 release=0.1.0 release=1.0.0 release=1.1.1-2020.1.0 release |
{- "property1": {
- "2020.1.1": "Changelog for 2020.1"
}, - "property2": {
- "2020.1.1": "Changelog for 2020.1"
}
}
Get all applications in IAP.
contains | string Examples: contains=redis contains |
containsField | string Examples: containsField=name containsField |
equals | string Examples: equals=redis equals |
equalsField | string Examples: equalsField=name equalsField |
startsWith | string Examples: startsWith=redis startsWith |
startsWithField | string Examples: startsWithField=name startsWithField |
skip | integer (iap_common-schema_skip) >= 0 Default: 0 Examples: skip=1 skip=10 skip=50 skip |
limit | integer (iap_common-schema_limit) >= 0 Default: 25 Examples: limit=1 limit=10 limit=50 limit |
sort | string (iap_common-schema_sort) Default: "name" Value: "name" sort |
order | integer (iap_common-schema_order) Default: 1 Enum: -1 1 order |
{- "results": [
- {
- "metadata": {
- "isActive": true,
- "activeSync": true
}, - "data": {
- "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_timezone_offset": -5,
- "log_level": "error",
- "console_level": "error",
- "metrics_filename": "metrics.log",
- "metrics_max_files": 31,
- "metrics_rotation_interval": "7d",
- "metrics_rotation_size": "10M",
- "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "isEncrypted": true,
- "profiling": true,
- "model": "@itential/adapter-local_aaa",
- "name": "Local AAA",
- "type": "Application",
- "properties": { },
- "virtual": true,
- "systemProps": {
- "maxOldSpaceSize": 2048
}, - "eventDeduplication": {
- "active": true,
- "cacheTtl": 10000,
- "uniqueProps": [
- "/messageId"
]
}
}
}
], - "total": 1
}
Start an application in IAP.
name required | string (Name) ^[^\/]+$ Default: "" Examples: Local AAA The name of the selected application. |
{- "status": "OK",
- "message": "A sample success message"
}
Stop an application in IAP.
name required | string (Name) ^[^\/]+$ Default: "" Examples: Local AAA The name of the selected application. |
{- "status": "OK",
- "message": "A sample success message"
}
Restart an application in IAP.
name required | string (Name) ^[^\/]+$ Default: "" Examples: Local AAA The name of the selected application. |
{- "status": "OK",
- "message": "A sample success message"
}
Update the log levels for an application.
name required | string (Name) ^[^\/]+$ Default: "" Examples: Local AAA The name for the selected application. |
request body
object (properties) |
{- "properties": {
- "transport": "syslog",
- "level": "debug"
}
}
{- "status": "OK",
- "message": "A sample success message"
}
Update the properties of an application in IAP.
name required | string (Name) ^[^\/]+$ Default: "" Examples: Local AAA The name for the selected application. |
request body
properties | any (properties) |
{- "properties": null
}
{- "status": "OK",
- "message": "A sample success message",
- "data": {
- "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_timezone_offset": -5,
- "log_level": "error",
- "console_level": "error",
- "metrics_filename": "metrics.log",
- "metrics_max_files": 31,
- "metrics_rotation_interval": "7d",
- "metrics_rotation_size": "10M",
- "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "isEncrypted": true,
- "profiling": true,
- "model": "@itential/adapter-local_aaa",
- "name": "Local AAA",
- "type": "Application",
- "properties": { },
- "virtual": true,
- "systemProps": {
- "maxOldSpaceSize": 2048
}, - "eventDeduplication": {
- "active": true,
- "cacheTtl": 10000,
- "uniqueProps": [
- "/messageId"
]
}
}
}
Gets the authorization data for the logged in user
roles | string Enum: "names" "ids" roles |
{- "id": "5cb7b531d06cceb89fd21b1c",
- "provenance": "Local AAA",
- "username": "jane_doe",
- "firstname": "Jane",
- "groups": [
- {
- "id": "5cb7b531d06cceb89fd21b1c",
- "provenance": "Local AAA",
- "name": "admin_group"
}
], - "roles": [
- "5cb7b531d06cceb89fd21b1c"
], - "roleNames": [
- "string"
], - "routes": [
- "/admin/"
], - "methods": {
- "property1": [
- "getProfiles"
], - "property2": [
- "getProfiles"
]
}
}
Gets the principal for the active user
{- "id": "5cb7b531d06cceb89fd21b1c",
- "provenance": "Local AAA",
- "username": "jane_doe",
- "firstname": "Jane",
- "groups": [
- {
- "id": "5cb7b531d06cceb89fd21b1c",
- "provenance": "Local AAA",
- "name": "admin_group"
}
], - "roles": [
- "5cb7b531d06cceb89fd21b1c"
], - "roleNames": [
- "string"
], - "allowedMethods": [
- {
- "provenance": "AutomationStudio",
- "name": "getTemplates"
}
], - "allowedViews": [
- {
- "provenance": "AutomationStudio",
- "path": "/automation-studio/"
}
], - "routes": [
- "/admin/"
]
}
Log in to IAP
credentials
object |
{- "user": {
- "username": "string",
- "password": "string"
}
}
"MTQ4ZmMzMGMxOTQ2MTg4N2ZjMDhiMTY0MzlkYTgwZmM="
Get all application configs in IAP.
[- {
- "id": "string",
- "export": "string",
- "title": "string",
- "type": "string",
- "summary": "string",
- "pdb": true,
- "roles": [
- "string"
], - "methods": [
- {
- "name": "string",
- "description": "string",
- "summary": "string",
- "deprecated": true,
- "roles": [
- "string"
], - "route": {
- "path": "string",
- "verb": "string"
}, - "input": [
- { }
], - "output": { }
}
], - "views": [
- { }
], - "src": "string",
- "encrypted": true,
- "version": "string"
}
]
Gets the user profile for the active user
username required | string (Username) Examples: john_doe The exact username for the logged in user |
{- "provenance": "Local AAA",
- "username": "john_doe",
- "firstname": "John",
- "memberOf": [
- {
- "aaaManaged": true,
- "groupId": "5cb7b531d06cceb89fd21b1c"
}
], - "assignedRoles": [
- {
- "roleId": "5cb7b531d06cceb89fd21b1c"
}
], - "inactive": true,
- "lastLogin": "2018-08-02T15:56:12.912Z",
- "sso": true,
- "nameID": "string",
- "_meta": {
- "created": "2018-08-02T15:56:12.912Z",
- "updated": "2018-08-02T15:56:12.912Z"
}, - "email": "name@email.com",
- "isServiceAccount": true,
- "loggedIn": true,
- "gitTokens": {
- "GitHub": "string",
- "GitLab": "string"
}
}
Updates the user profile for the active user
userProfile
username required | string (iap_accounts-schema_username) Username for account |
string (iap_accounts-schema_email) Email for user |
{- "username": "john_doe",
- "email": "name@email.com"
}
{- "provenance": "Local AAA",
- "username": "john_doe",
- "firstname": "John",
- "memberOf": [
- {
- "aaaManaged": true,
- "groupId": "5cb7b531d06cceb89fd21b1c"
}
], - "assignedRoles": [
- {
- "roleId": "5cb7b531d06cceb89fd21b1c"
}
], - "inactive": true,
- "lastLogin": "2018-08-02T15:56:12.912Z",
- "sso": true,
- "nameID": "string",
- "_meta": {
- "created": "2018-08-02T15:56:12.912Z",
- "updated": "2018-08-02T15:56:12.912Z"
}, - "email": "name@email.com",
- "isServiceAccount": true,
- "loggedIn": true,
- "gitTokens": {
- "GitHub": "string",
- "GitLab": "string"
}
}
Gets a page of template documents.
limit | integer >= 0 Default: 25 Examples: limit=1 limit=10 limit=50 Number of results to return. Used for pagination. |
skip | integer >= 0 Default: 0 Examples: skip=1 skip=10 skip=50 Number of results to skip. Used for pagination. |
order | integer Default: 1 Enum: -1 1 Sort direction, 1 for ascending and -1 for descending. |
sort | string Default: "name" Value: "name" Field to sort by |
exclude-project-members | boolean Flag which removes workflows from the results which are members of a project |
include | string Examples: include=name include=description include=name,description Inclusive projection operator formatted as a comma-delineated list. '_id' will be included implicitly unless excluded with 'exclude=_id'. May only be used in conjunction with 'exclude' when 'exclude=_id'. |
exclude | string Examples: exclude=_id exclude=description exclude=_id,description Exclusive projection operator formatted as a comma-delineated list. May only be used in conjunction with 'include' when 'exclude=_id'. |
in | string Search for fields exactly matching one of the given list options |
not-in | string Search for fields not exactly matching one of the given list options |
equals | string Returns results where the specified fields exactly match the given match string(s). |
contains | string Returns results where the specified fields contain the given match string(s). |
starts-with | string Returns results where the specified fields start with the given match string(s). |
ends-with | string Returns results where the specified fields end in the given match string(s). |
{- "items": [
- {
- "_id": "string",
- "namespace": {
- "type": "project",
- "_id": { },
- "name": "Juniper JUNOS",
- "accessControl": {
- "read": [
- "account:67d3108eddcf3e66cc0efbac"
], - "execute": [
- "account:67d3108eddcf3e66cc0efbac"
], - "write": [
- "account:67d3108eddcf3e66cc0efbac"
], - "manage": [
- "account:67d3108eddcf3e66cc0efbac"
]
}
}, - "name": "arista_eos_show_clock",
- "group": "Arista",
- "command": "show clock",
- "description": "Arista Show Clock Info",
- "template": "Value TIME (d+:d+:d+)\nValue TIMEZONE (S+)\nValue DAYWEEK (w+)\nValue MONTH (w+)\nValue DAY (d+)\nValue YEAR (d+)\n\nStart\n ^${DAYWEEK}s+${MONTH}s+${DAY}s+${TIME}s+${YEAR}\n ^[t|T]imezone(:|sis)s+${TIMEZONE} -> Record\n",
- "data": "Mon Jan 14 18:42:49 2013\ntimezone is US/Central",
- "type": "textfsm",
- "createdBy": "string",
- "created": "2019-11-25T22:51:39.201Z",
- "lastUpdatedBy": "string",
- "lastUpdated": "2019-11-25T22:51:39.201Z",
- "version": 1,
- "tags": [
- {
- "_id": "string",
- "name": "string"
}
]
}
], - "total": 0,
- "start": 0,
- "end": 0,
- "count": 0,
- "next": "string",
- "previous": "string"
}
Creates a new template document.
request body
object (automation-studio_template) An entity representing a data template. |
{- "template": {
- "_id": "string",
- "namespace": {
- "type": "project",
- "_id": { },
- "name": "Juniper JUNOS",
- "accessControl": {
- "read": [
- "account:67d3108eddcf3e66cc0efbac"
], - "execute": [
- "account:67d3108eddcf3e66cc0efbac"
], - "write": [
- "account:67d3108eddcf3e66cc0efbac"
], - "manage": [
- "account:67d3108eddcf3e66cc0efbac"
]
}
}, - "name": "arista_eos_show_clock",
- "group": "Arista",
- "command": "show clock",
- "description": "Arista Show Clock Info",
- "template": "Value TIME (d+:d+:d+)\nValue TIMEZONE (S+)\nValue DAYWEEK (w+)\nValue MONTH (w+)\nValue DAY (d+)\nValue YEAR (d+)\n\nStart\n ^${DAYWEEK}s+${MONTH}s+${DAY}s+${TIME}s+${YEAR}\n ^[t|T]imezone(:|sis)s+${TIMEZONE} -> Record\n",
- "data": "Mon Jan 14 18:42:49 2013\ntimezone is US/Central",
- "type": "textfsm",
- "createdBy": "string",
- "created": "2019-11-25T22:51:39.201Z",
- "lastUpdatedBy": "string",
- "lastUpdated": "2019-11-25T22:51:39.201Z",
- "version": 1,
- "tags": [
- {
- "_id": "string",
- "name": "string"
}
]
}
}
{- "created": {
- "_id": "string",
- "namespace": {
- "type": "project",
- "_id": { },
- "name": "Juniper JUNOS",
- "accessControl": {
- "read": [
- "account:67d3108eddcf3e66cc0efbac"
], - "execute": [
- "account:67d3108eddcf3e66cc0efbac"
], - "write": [
- "account:67d3108eddcf3e66cc0efbac"
], - "manage": [
- "account:67d3108eddcf3e66cc0efbac"
]
}
}, - "name": "arista_eos_show_clock",
- "group": "Arista",
- "command": "show clock",
- "description": "Arista Show Clock Info",
- "template": "Value TIME (d+:d+:d+)\nValue TIMEZONE (S+)\nValue DAYWEEK (w+)\nValue MONTH (w+)\nValue DAY (d+)\nValue YEAR (d+)\n\nStart\n ^${DAYWEEK}s+${MONTH}s+${DAY}s+${TIME}s+${YEAR}\n ^[t|T]imezone(:|sis)s+${TIMEZONE} -> Record\n",
- "data": "Mon Jan 14 18:42:49 2013\ntimezone is US/Central",
- "type": "textfsm",
- "createdBy": "string",
- "created": "2019-11-25T22:51:39.201Z",
- "lastUpdatedBy": "string",
- "lastUpdated": "2019-11-25T22:51:39.201Z",
- "version": 1,
- "tags": [
- {
- "_id": "string",
- "name": "string"
}
]
}, - "edit": "string"
}
Gets a single template document.
id required | string (id) ObjectId specifying a template entity. |
include | string Examples: include=name include=description include=name,description Inclusive projection operator formatted as a comma-delineated list. '_id' will be included implicitly unless excluded with 'exclude=_id'. May only be used in conjunction with 'exclude' when 'exclude=_id'. |
exclude | string Examples: exclude=_id exclude=description exclude=_id,description Exclusive projection operator formatted as a comma-delineated list. May only be used in conjunction with 'include' when 'exclude=_id'. |
{ }
Replaces a template document.
id required | string (id) Template id. |
request body
object (automation-studio_templateUpdate) An entity representing an update to an existing template document. |
{- "update": {
- "name": "arista_eos_show_clock",
- "group": "Arista",
- "projectId": { },
- "command": "show clock",
- "description": "Arista Show Clock Info",
- "template": "Value TIME (d+:d+:d+)\nValue TIMEZONE (S+)\nValue DAYWEEK (w+)\nValue MONTH (w+)\nValue DAY (d+)\nValue YEAR (d+)\n\nStart\n ^${DAYWEEK}s+${MONTH}s+${DAY}s+${TIME}s+${YEAR}\n ^[t|T]imezone(:|sis)s+${TIMEZONE} -> Record\n",
- "data": "Mon Jan 14 18:42:49 2013\ntimezone is US/Central",
- "type": "textfsm"
}
}
{- "updated": {
- "_id": "string",
- "namespace": {
- "type": "project",
- "_id": { },
- "name": "Juniper JUNOS",
- "accessControl": {
- "read": [
- "account:67d3108eddcf3e66cc0efbac"
], - "execute": [
- "account:67d3108eddcf3e66cc0efbac"
], - "write": [
- "account:67d3108eddcf3e66cc0efbac"
], - "manage": [
- "account:67d3108eddcf3e66cc0efbac"
]
}
}, - "name": "arista_eos_show_clock",
- "group": "Arista",
- "command": "show clock",
- "description": "Arista Show Clock Info",
- "template": "Value TIME (d+:d+:d+)\nValue TIMEZONE (S+)\nValue DAYWEEK (w+)\nValue MONTH (w+)\nValue DAY (d+)\nValue YEAR (d+)\n\nStart\n ^${DAYWEEK}s+${MONTH}s+${DAY}s+${TIME}s+${YEAR}\n ^[t|T]imezone(:|sis)s+${TIMEZONE} -> Record\n",
- "data": "Mon Jan 14 18:42:49 2013\ntimezone is US/Central",
- "type": "textfsm",
- "createdBy": "string",
- "created": "2019-11-25T22:51:39.201Z",
- "lastUpdatedBy": "string",
- "lastUpdated": "2019-11-25T22:51:39.201Z",
- "version": 1,
- "tags": [
- {
- "_id": "string",
- "name": "string"
}
]
}, - "edit": "string"
}
Imports a new template document.
request body
Array of Template Import Data (object) or Template Import Data (object) (templates) Array of template documents to import. If '_id' is provided, it will be replaced with an autogenerated '_id'. If a template's name is already used in the templates collection, it will be renamed with a numeric suffix. |
{- "templates": [
- {
- "_id": "string",
- "name": "arista_eos_show_clock",
- "projectId": { },
- "group": "Arista",
- "device": "Arista EOS",
- "command": "show clock",
- "description": "Arista Show Clock Info",
- "template": "Value TIME (d+:d+:d+)\nValue TIMEZONE (S+)\nValue DAYWEEK (w+)\nValue MONTH (w+)\nValue DAY (d+)\nValue YEAR (d+)\n\nStart\n ^${DAYWEEK}s+${MONTH}s+${DAY}s+${TIME}s+${YEAR}\n ^[t|T]imezone(:|sis)s+${TIMEZONE} -> Record\n",
- "data": "Mon Jan 14 18:42:49 2013\ntimezone is US/Central",
- "text": "Mon Jan 14 18:42:49 2013\ntimezone is US/Central",
- "type": "textfsm",
- "createdBy": "string",
- "created": "2019-11-25T22:51:39.201Z",
- "lastModifiedBy": "string",
- "lastUpdated": "2019-11-25T22:51:39.201Z",
- "version": 1,
- "tags": [
- {
- "_id": "string",
- "name": "string"
}
]
}
]
}
{- "imported": [
- {
- "success": true,
- "message": "string",
- "original": {
- "_id": "string",
- "name": "arista_eos_show_clock",
- "projectId": { },
- "group": "Arista",
- "device": "Arista EOS",
- "command": "show clock",
- "description": "Arista Show Clock Info",
- "template": "Value TIME (d+:d+:d+)\nValue TIMEZONE (S+)\nValue DAYWEEK (w+)\nValue MONTH (w+)\nValue DAY (d+)\nValue YEAR (d+)\n\nStart\n ^${DAYWEEK}s+${MONTH}s+${DAY}s+${TIME}s+${YEAR}\n ^[t|T]imezone(:|sis)s+${TIMEZONE} -> Record\n",
- "data": "Mon Jan 14 18:42:49 2013\ntimezone is US/Central",
- "text": "Mon Jan 14 18:42:49 2013\ntimezone is US/Central",
- "type": "textfsm",
- "createdBy": "string",
- "created": "2019-11-25T22:51:39.201Z",
- "lastModifiedBy": "string",
- "lastUpdated": "2019-11-25T22:51:39.201Z",
- "version": 1,
- "tags": [
- {
- "_id": "string",
- "name": "string"
}
]
}, - "created": {
- "_id": "string",
- "namespace": {
- "type": "project",
- "_id": { },
- "name": "Juniper JUNOS",
- "accessControl": {
- "read": [
- "account:67d3108eddcf3e66cc0efbac"
], - "execute": [
- "account:67d3108eddcf3e66cc0efbac"
], - "write": [
- "account:67d3108eddcf3e66cc0efbac"
], - "manage": [
- "account:67d3108eddcf3e66cc0efbac"
]
}
}, - "name": "arista_eos_show_clock",
- "group": "Arista",
- "command": "show clock",
- "description": "Arista Show Clock Info",
- "template": "Value TIME (d+:d+:d+)\nValue TIMEZONE (S+)\nValue DAYWEEK (w+)\nValue MONTH (w+)\nValue DAY (d+)\nValue YEAR (d+)\n\nStart\n ^${DAYWEEK}s+${MONTH}s+${DAY}s+${TIME}s+${YEAR}\n ^[t|T]imezone(:|sis)s+${TIMEZONE} -> Record\n",
- "data": "Mon Jan 14 18:42:49 2013\ntimezone is US/Central",
- "type": "textfsm",
- "createdBy": "string",
- "created": "2019-11-25T22:51:39.201Z",
- "lastUpdatedBy": "string",
- "lastUpdated": "2019-11-25T22:51:39.201Z",
- "version": 1,
- "tags": [
- {
- "_id": "string",
- "name": "string"
}
]
}, - "edit": "string"
}
]
}
Exports a template document.
id required | string (id) Template id. |
{- "_id": "string",
- "name": "arista_eos_show_clock",
- "projectId": { },
- "group": "Arista",
- "device": "Arista EOS",
- "command": "show clock",
- "description": "Arista Show Clock Info",
- "template": "Value TIME (d+:d+:d+)\nValue TIMEZONE (S+)\nValue DAYWEEK (w+)\nValue MONTH (w+)\nValue DAY (d+)\nValue YEAR (d+)\n\nStart\n ^${DAYWEEK}s+${MONTH}s+${DAY}s+${TIME}s+${YEAR}\n ^[t|T]imezone(:|sis)s+${TIMEZONE} -> Record\n",
- "data": "Mon Jan 14 18:42:49 2013\ntimezone is US/Central",
- "text": "Mon Jan 14 18:42:49 2013\ntimezone is US/Central",
- "type": "textfsm",
- "createdBy": "string",
- "created": "2019-11-25T22:51:39.201Z",
- "lastModifiedBy": "string",
- "lastUpdated": "2019-11-25T22:51:39.201Z",
- "version": 1,
- "tags": [
- {
- "_id": "string",
- "name": "string"
}
]
}
Get all available rest calls in IAP.
[- {
- "name": "getTemplate",
- "sourceType": "AutomationStudio",
- "path": "/templates/:id",
- "verb": "GET",
- "origin": "/automation-studio"
}
]
Gets a page of workflow documents.
limit | integer >= 0 Default: 25 Examples: limit=1 limit=10 limit=50 Number of results to return. Used for pagination. |
skip | integer >= 0 Default: 0 Examples: skip=1 skip=10 skip=50 Number of results to skip. Used for pagination. |
order | integer Default: 1 Enum: -1 1 Sort direction, 1 for ascending and -1 for descending. |
sort | string Default: "name" Value: "name" Field to sort by |
exclude-project-members | boolean Flag which removes workflows from the results which are members of a project |
include | string Examples: include=name include=description include=name,description Inclusive projection operator formatted as a comma-delineated list. '_id' will be included implicitly unless excluded with 'exclude=_id'. May only be used in conjunction with 'exclude' when 'exclude=_id'. |
exclude | string Examples: exclude=_id exclude=description exclude=_id,description Exclusive projection operator formatted as a comma-delineated list. May only be used in conjunction with 'include' when 'exclude=_id'. |
expand | string (List of fields to get expanded data) Examples: expand=created_by,user,owner Sets the fields to expand. Generally, these are fields like "metrics.user", "metrics.owner", "created_by", etc |
in | string Examples: in=in[name]=my-workflow,or-this-workflow&in[type]=automation Search for fields exactly matching one of the given list options |
not-in | string Examples: not-in=not-in[name]=my-workflow,not-this-workflow Search for fields not exactly matching one of the given list options |
equals | string Examples: equals=equals[name]=my-workflow Returns results where the specified fields exactly match the given match string(s). |
contains | string Examples: contains=contains[name]=workflow Returns results where the specified fields contain the given match string(s). |
starts-with | string Examples: starts-with=starts-with[name]=my- Returns results where the specified fields start with the given match string(s). |
ends-with | string Examples: ends-with=ends-with[name]=-workflow Returns results where the specified fields end in the given match string(s). |
task-equals | string Examples: task-equals=task-equals[app]=WorkFlowEngine Returns results where one or more tasks have fields that exactly match the given match string(s). |
{- "items": [
- {
- "_id": "4321abcdef694aa79dae47ad",
- "namespace": {
- "type": "project",
- "_id": { },
- "name": "Juniper JUNOS",
- "accessControl": {
- "read": [
- "account:67d3108eddcf3e66cc0efbac"
], - "execute": [
- "account:67d3108eddcf3e66cc0efbac"
], - "write": [
- "account:67d3108eddcf3e66cc0efbac"
], - "manage": [
- "account:67d3108eddcf3e66cc0efbac"
]
}
}, - "name": "Port Turn Up IOS",
- "type": "automation",
- "description": "Port Turn Up IOS",
- "preAutomationTime": 5000,
- "tasks": {
- "workflow_start": {
- "name": "string",
- "summary": "string",
- "groups": [
- "string"
], - "nodeLocation": {
- "x": 1,
- "y": 0
}
}, - "workflow_end": {
- "name": "string",
- "summary": "string",
- "groups": [
- "string"
], - "nodeLocation": {
- "x": 1,
- "y": 0
}
}, - "error_handler": {
- "name": "childJob",
- "summary": "Query Data Using 'json-query' Format",
- "description": "Query Data Using 'json-query' Format",
- "app": "Tools",
- "variables": {
- "incoming": { },
- "outgoing": { },
- "error": "string"
}, - "deprecated": true,
- "scheduled": true,
- "groups": [
- "string"
], - "type": "operation",
- "retrySettings": {
- "state": [
- "success"
], - "autoRetry": true,
- "limit": 10,
- "delay": 1000,
- "count": 5
}
}
}, - "transitions": {
- "workflow_start": { },
- "workflow_end": { },
- "error_handler": { }
}, - "font_size": 12,
- "groups": [
- "string"
], - "created": "2024-03-13T18:21:15.352Z",
- "created_by": null,
- "last_updated": "2024-03-13T18:21:15.352Z",
- "last_updated_by": null,
- "lastUpdatedVersion": "4.69.69",
- "tags": [
- "string"
], - "canvasVersion": 3,
- "encodingVersion": 1
}
], - "total": 0,
- "start": 0,
- "end": 0,
- "count": 0,
- "limit": 0,
- "next": "string",
- "previous": "string"
}
Get the details of a Workflow by Workflow name.
name required | string (name) Name of Workflow to get Workflow details. |
{- "_id": "4321abcdef694aa79dae47ad",
- "namespace": {
- "type": "project",
- "_id": { },
- "name": "Juniper JUNOS",
- "accessControl": {
- "read": [
- "account:67d3108eddcf3e66cc0efbac"
], - "execute": [
- "account:67d3108eddcf3e66cc0efbac"
], - "write": [
- "account:67d3108eddcf3e66cc0efbac"
], - "manage": [
- "account:67d3108eddcf3e66cc0efbac"
]
}
}, - "name": "Port Turn Up IOS",
- "type": "automation",
- "description": "Port Turn Up IOS",
- "preAutomationTime": 5000,
- "tasks": {
- "workflow_start": {
- "name": "string",
- "summary": "string",
- "groups": [
- "string"
], - "nodeLocation": {
- "x": 1,
- "y": 0
}
}, - "workflow_end": {
- "name": "string",
- "summary": "string",
- "groups": [
- "string"
], - "nodeLocation": {
- "x": 1,
- "y": 0
}
}, - "error_handler": {
- "name": "childJob",
- "summary": "Query Data Using 'json-query' Format",
- "description": "Query Data Using 'json-query' Format",
- "app": "Tools",
- "variables": {
- "incoming": { },
- "outgoing": { },
- "error": "string"
}, - "deprecated": true,
- "scheduled": true,
- "groups": [
- "string"
], - "type": "operation",
- "retrySettings": {
- "state": [
- "success"
], - "autoRetry": true,
- "limit": 10,
- "delay": 1000,
- "count": 5
}
}
}, - "transitions": {
- "workflow_start": { },
- "workflow_end": { },
- "error_handler": { }
}, - "font_size": 12,
- "groups": [
- "string"
], - "created": "2024-03-13T18:21:15.352Z",
- "created_by": null,
- "last_updated": "2024-03-13T18:21:15.352Z",
- "last_updated_by": null,
- "lastUpdatedVersion": "4.69.69",
- "tags": [
- "string"
], - "canvasVersion": 3,
- "encodingVersion": 1
}
Creates a new workflow document.
request body
object (automation-studio_automation) Third generation workflow document |
{- "automation": {
- "_id": "4321abcdef694aa79dae47ad",
- "namespace": {
- "type": "project",
- "_id": { },
- "name": "Juniper JUNOS",
- "accessControl": {
- "read": [
- "account:67d3108eddcf3e66cc0efbac"
], - "execute": [
- "account:67d3108eddcf3e66cc0efbac"
], - "write": [
- "account:67d3108eddcf3e66cc0efbac"
], - "manage": [
- "account:67d3108eddcf3e66cc0efbac"
]
}
}, - "name": "Port Turn Up IOS",
- "type": "automation",
- "description": "Port Turn Up IOS",
- "preAutomationTime": 5000,
- "tasks": {
- "workflow_start": {
- "name": "string",
- "summary": "string",
- "groups": [
- "string"
], - "nodeLocation": {
- "x": 1,
- "y": 0
}
}, - "workflow_end": {
- "name": "string",
- "summary": "string",
- "groups": [
- "string"
], - "nodeLocation": {
- "x": 1,
- "y": 0
}
}, - "error_handler": {
- "name": "childJob",
- "summary": "Query Data Using 'json-query' Format",
- "description": "Query Data Using 'json-query' Format",
- "app": "Tools",
- "variables": {
- "incoming": { },
- "outgoing": { },
- "error": "string"
}, - "deprecated": true,
- "scheduled": true,
- "groups": [
- "string"
], - "type": "operation",
- "retrySettings": {
- "state": [
- "success"
], - "autoRetry": true,
- "limit": 10,
- "delay": 1000,
- "count": 5
}
}
}, - "transitions": {
- "workflow_start": { },
- "workflow_end": { },
- "error_handler": { }
}, - "font_size": 12,
- "groups": [
- "string"
], - "created": "2024-03-13T18:21:15.352Z",
- "created_by": null,
- "last_updated": "2024-03-13T18:21:15.352Z",
- "last_updated_by": null,
- "lastUpdatedVersion": "4.69.69",
- "tags": [
- "string"
], - "canvasVersion": 3,
- "encodingVersion": 1
}
}
{- "created": {
- "_id": "4321abcdef694aa79dae47ad",
- "namespace": {
- "type": "project",
- "_id": { },
- "name": "Juniper JUNOS",
- "accessControl": {
- "read": [
- "account:67d3108eddcf3e66cc0efbac"
], - "execute": [
- "account:67d3108eddcf3e66cc0efbac"
], - "write": [
- "account:67d3108eddcf3e66cc0efbac"
], - "manage": [
- "account:67d3108eddcf3e66cc0efbac"
]
}
}, - "name": "Port Turn Up IOS",
- "type": "automation",
- "description": "Port Turn Up IOS",
- "preAutomationTime": 5000,
- "tasks": {
- "workflow_start": {
- "name": "string",
- "summary": "string",
- "groups": [
- "string"
], - "nodeLocation": {
- "x": 1,
- "y": 0
}
}, - "workflow_end": {
- "name": "string",
- "summary": "string",
- "groups": [
- "string"
], - "nodeLocation": {
- "x": 1,
- "y": 0
}
}, - "error_handler": {
- "name": "childJob",
- "summary": "Query Data Using 'json-query' Format",
- "description": "Query Data Using 'json-query' Format",
- "app": "Tools",
- "variables": {
- "incoming": { },
- "outgoing": { },
- "error": "string"
}, - "deprecated": true,
- "scheduled": true,
- "groups": [
- "string"
], - "type": "operation",
- "retrySettings": {
- "state": [
- "success"
], - "autoRetry": true,
- "limit": 10,
- "delay": 1000,
- "count": 5
}
}
}, - "transitions": {
- "workflow_start": { },
- "workflow_end": { },
- "error_handler": { }
}, - "font_size": 12,
- "groups": [
- "string"
], - "created": "2024-03-13T18:21:15.352Z",
- "created_by": null,
- "last_updated": "2024-03-13T18:21:15.352Z",
- "last_updated_by": null,
- "lastUpdatedVersion": "4.69.69",
- "tags": [
- "string"
], - "canvasVersion": 3,
- "encodingVersion": 1
}, - "edit": "string"
}
Replaces a workflow document.
id required | string (id) Workflow id. |
request body
object (automation-studio_automationUpdate) Third generation workflow document |
{- "update": {
- "_id": "4321abcdef694aa79dae47ad",
- "namespace": {
- "type": "project",
- "_id": { },
- "name": "Juniper JUNOS",
- "accessControl": {
- "read": [
- "account:67d3108eddcf3e66cc0efbac"
], - "execute": [
- "account:67d3108eddcf3e66cc0efbac"
], - "write": [
- "account:67d3108eddcf3e66cc0efbac"
], - "manage": [
- "account:67d3108eddcf3e66cc0efbac"
]
}
}, - "name": "Port Turn Up IOS",
- "type": "automation",
- "description": "Port Turn Up IOS",
- "preAutomationTime": 5000,
- "tasks": {
- "workflow_start": {
- "name": "string",
- "summary": "string",
- "groups": [
- "string"
], - "nodeLocation": {
- "x": 1,
- "y": 0
}
}, - "workflow_end": {
- "name": "string",
- "summary": "string",
- "groups": [
- "string"
], - "nodeLocation": {
- "x": 1,
- "y": 0
}
}, - "error_handler": {
- "name": "childJob",
- "summary": "Query Data Using 'json-query' Format",
- "description": "Query Data Using 'json-query' Format",
- "app": "Tools",
- "variables": {
- "incoming": { },
- "outgoing": { },
- "error": "string"
}, - "deprecated": true,
- "scheduled": true,
- "groups": [
- "string"
], - "type": "operation",
- "retrySettings": {
- "state": [
- "success"
], - "autoRetry": true,
- "limit": 10,
- "delay": 1000,
- "count": 5
}
}
}, - "transitions": {
- "workflow_start": { },
- "workflow_end": { },
- "error_handler": { }
}, - "font_size": 12,
- "groups": [
- "string"
], - "created": "2024-03-13T18:21:15.352Z",
- "created_by": null,
- "last_updated": "2024-03-13T18:21:15.352Z",
- "last_updated_by": null,
- "lastUpdatedVersion": "4.69.69",
- "tags": [
- "string"
], - "canvasVersion": 3,
- "encodingVersion": 1
}
}
{- "updated": {
- "_id": "4321abcdef694aa79dae47ad",
- "namespace": {
- "type": "project",
- "_id": { },
- "name": "Juniper JUNOS",
- "accessControl": {
- "read": [
- "account:67d3108eddcf3e66cc0efbac"
], - "execute": [
- "account:67d3108eddcf3e66cc0efbac"
], - "write": [
- "account:67d3108eddcf3e66cc0efbac"
], - "manage": [
- "account:67d3108eddcf3e66cc0efbac"
]
}
}, - "name": "Port Turn Up IOS",
- "type": "automation",
- "description": "Port Turn Up IOS",
- "preAutomationTime": 5000,
- "tasks": {
- "workflow_start": {
- "name": "string",
- "summary": "string",
- "groups": [
- "string"
], - "nodeLocation": {
- "x": 1,
- "y": 0
}
}, - "workflow_end": {
- "name": "string",
- "summary": "string",
- "groups": [
- "string"
], - "nodeLocation": {
- "x": 1,
- "y": 0
}
}, - "error_handler": {
- "name": "childJob",
- "summary": "Query Data Using 'json-query' Format",
- "description": "Query Data Using 'json-query' Format",
- "app": "Tools",
- "variables": {
- "incoming": { },
- "outgoing": { },
- "error": "string"
}, - "deprecated": true,
- "scheduled": true,
- "groups": [
- "string"
], - "type": "operation",
- "retrySettings": {
- "state": [
- "success"
], - "autoRetry": true,
- "limit": 10,
- "delay": 1000,
- "count": 5
}
}
}, - "transitions": {
- "workflow_start": { },
- "workflow_end": { },
- "error_handler": { }
}, - "font_size": 12,
- "groups": [
- "string"
], - "created": "2024-03-13T18:21:15.352Z",
- "created_by": null,
- "last_updated": "2024-03-13T18:21:15.352Z",
- "last_updated_by": null,
- "lastUpdatedVersion": "4.69.69",
- "tags": [
- "string"
], - "canvasVersion": 3,
- "encodingVersion": 1
}, - "edit": "string"
}
Imports a new workflow document.
request body
Array of objects (automations) Array of workflow documents to import. If '_id' is provided, it will be replaced with an autogenerated '_id'. |
{- "automations": [
- {
- "_id": "string",
- "name": "Port Turn Up IOS",
- "type": "automation",
- "namespace": { },
- "description": "Port Turn Up IOS",
- "preAutomationTime": 5000,
- "sla": 10,
- "tasks": {
- "workflow_start": {
- "name": "string",
- "summary": "string",
- "groups": [
- {
- "name": "Admin",
- "provenance": "Pronghorn"
}
], - "x": 1,
- "y": 0
}, - "workflow_end": {
- "name": "string",
- "summary": "string",
- "groups": [
- {
- "name": "Admin",
- "provenance": "Pronghorn"
}
], - "x": 1,
- "y": 0
}, - "error_handler": {
- "x": 1,
- "y": 0,
- "name": "childJob",
- "summary": "Query Data Using 'json-query' Format",
- "description": "Query Data Using 'json-query' Format",
- "app": "Tools",
- "variables": {
- "incoming": { },
- "outgoing": { },
- "error": "string",
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
]
}, - "deprecated": true,
- "scheduled": true,
- "groups": [
- {
- "name": "Admin",
- "provenance": "Pronghorn"
}
], - "type": "operation"
}
}, - "transitions": {
- "workflow_start": { },
- "workflow_end": { },
- "error_handler": { }
}, - "errorHandler": { },
- "font_size": 12,
- "groups": [
- {
- "name": "Admin",
- "provenance": "Pronghorn"
}
], - "created": "2024-03-13T18:21:15.352Z",
- "created_by": {
- "username": "admin@pronghorn",
- "provenance": "Pronghorn"
}, - "createdVersion": "5.40.5-2021.1.72.0",
- "last_updated": "2024-03-13T18:21:15.352Z",
- "last_updated_by": {
- "username": "admin@pronghorn",
- "provenance": "Pronghorn"
}, - "lastUpdatedVersion": "4.69.69",
- "tags": [
- {
- "_id": "string",
- "name": "string",
- "description": "string"
}
], - "canvasVersion": 1,
- "encodingVersion": 1,
- "inputSchema": { },
- "outputSchema": { },
- "outputData": { },
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
], - "migrationVersion": 0
}
]
}
{- "imported": [
- {
- "success": true,
- "message": "string",
- "original": {
- "_id": "string",
- "name": "Port Turn Up IOS",
- "type": "automation",
- "namespace": { },
- "description": "Port Turn Up IOS",
- "preAutomationTime": 5000,
- "sla": 10,
- "tasks": {
- "workflow_start": {
- "name": "string",
- "summary": "string",
- "groups": [
- {
- "name": "Admin",
- "provenance": "Pronghorn"
}
], - "x": 1,
- "y": 0
}, - "workflow_end": {
- "name": "string",
- "summary": "string",
- "groups": [
- {
- "name": "Admin",
- "provenance": "Pronghorn"
}
], - "x": 1,
- "y": 0
}, - "error_handler": {
- "x": 1,
- "y": 0,
- "name": "childJob",
- "summary": "Query Data Using 'json-query' Format",
- "description": "Query Data Using 'json-query' Format",
- "app": "Tools",
- "variables": {
- "incoming": { },
- "outgoing": { },
- "error": "string",
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
]
}, - "deprecated": true,
- "scheduled": true,
- "groups": [
- {
- "name": "Admin",
- "provenance": "Pronghorn"
}
], - "type": "operation"
}
}, - "transitions": {
- "workflow_start": { },
- "workflow_end": { },
- "error_handler": { }
}, - "errorHandler": { },
- "font_size": 12,
- "groups": [
- {
- "name": "Admin",
- "provenance": "Pronghorn"
}
], - "created": "2024-03-13T18:21:15.352Z",
- "created_by": {
- "username": "admin@pronghorn",
- "provenance": "Pronghorn"
}, - "createdVersion": "5.40.5-2021.1.72.0",
- "last_updated": "2024-03-13T18:21:15.352Z",
- "last_updated_by": {
- "username": "admin@pronghorn",
- "provenance": "Pronghorn"
}, - "lastUpdatedVersion": "4.69.69",
- "tags": [
- {
- "_id": "string",
- "name": "string",
- "description": "string"
}
], - "canvasVersion": 1,
- "encodingVersion": 1,
- "inputSchema": { },
- "outputSchema": { },
- "outputData": { },
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
], - "migrationVersion": 0
}, - "created": {
- "_id": "4321abcdef694aa79dae47ad",
- "namespace": {
- "type": "project",
- "_id": { },
- "name": "Juniper JUNOS",
- "accessControl": {
- "read": [
- "account:67d3108eddcf3e66cc0efbac"
], - "execute": [
- "account:67d3108eddcf3e66cc0efbac"
], - "write": [
- "account:67d3108eddcf3e66cc0efbac"
], - "manage": [
- "account:67d3108eddcf3e66cc0efbac"
]
}
}, - "name": "Port Turn Up IOS",
- "type": "automation",
- "description": "Port Turn Up IOS",
- "preAutomationTime": 5000,
- "tasks": {
- "workflow_start": {
- "name": "string",
- "summary": "string",
- "groups": [
- "string"
], - "nodeLocation": {
- "x": 1,
- "y": 0
}
}, - "workflow_end": {
- "name": "string",
- "summary": "string",
- "groups": [
- "string"
], - "nodeLocation": {
- "x": 1,
- "y": 0
}
}, - "error_handler": {
- "name": "childJob",
- "summary": "Query Data Using 'json-query' Format",
- "description": "Query Data Using 'json-query' Format",
- "app": "Tools",
- "variables": {
- "incoming": { },
- "outgoing": { },
- "error": "string"
}, - "deprecated": true,
- "scheduled": true,
- "groups": [
- "string"
], - "type": "operation",
- "retrySettings": {
- "state": [
- "success"
], - "autoRetry": true,
- "limit": 10,
- "delay": 1000,
- "count": 5
}
}
}, - "transitions": {
- "workflow_start": { },
- "workflow_end": { },
- "error_handler": { }
}, - "font_size": 12,
- "groups": [
- "string"
], - "created": "2024-03-13T18:21:15.352Z",
- "created_by": null,
- "last_updated": "2024-03-13T18:21:15.352Z",
- "last_updated_by": null,
- "lastUpdatedVersion": "4.69.69",
- "tags": [
- "string"
], - "canvasVersion": 3,
- "encodingVersion": 1
}, - "edit": "string"
}
]
}
Gets a page of component group documents.
limit | integer >= 0 Default: 25 Examples: limit=1 limit=10 limit=50 Number of results to return. Used for pagination. |
skip | integer >= 0 Default: 0 Examples: skip=1 skip=10 skip=50 Number of results to skip. Used for pagination. |
order | integer Default: 1 Enum: -1 1 Sort direction, 1 for ascending and -1 for descending. |
sort | string Default: "name" Value: "name" Field to sort by |
include | string Examples: include=name include=description include=name,description Inclusive projection operator formatted as a comma-delineated list. '_id' will be included implicitly unless excluded with 'exclude=_id'. May only be used in conjunction with 'exclude' when 'exclude=_id'. |
exclude | string Examples: exclude=_id exclude=description exclude=_id,description Exclusive projection operator formatted as a comma-delineated list. May only be used in conjunction with 'include' when 'exclude=_id'. |
in | string Search for fields exactly matching one of the given list options |
not-in | string Search for fields not exactly matching one of the given list options |
equals | string Returns results where the specified fields exactly match the given match string(s). |
contains | string Returns results where the specified fields contain the given match string(s). |
starts-with | string Returns results where the specified fields start with the given match string(s). |
ends-with | string Returns results where the specified fields end in the given match string(s). |
{- "items": [
- {
- "_id": "string",
- "name": "Infoblox Workflows",
- "description": "Infoblox Workflows",
- "gbacRead": [
- "CAcFAfEa9aCe7ba08d482B3F"
], - "gbacWrite": [
- "CAcFAfEa9aCe7ba08d482B3F"
], - "members": [
- {
- "path": [
- "Assign Next IP - Infoblox"
], - "type": "folder"
}
], - "version": 1,
- "meta": { }
}
], - "total": 100,
- "start": 0,
- "end": 100,
- "count": 100,
- "next": "string",
- "previous": "string"
}
Creates a new component group document.
request body
object (automation-studio_componentGroup) An entity representing a component group. |
{- "componentGroup": {
- "_id": "string",
- "name": "Infoblox Workflows",
- "description": "Infoblox Workflows",
- "gbacRead": [
- "CAcFAfEa9aCe7ba08d482B3F"
], - "gbacWrite": [
- "CAcFAfEa9aCe7ba08d482B3F"
], - "members": [
- {
- "path": [
- "Assign Next IP - Infoblox"
], - "type": "folder"
}
], - "version": 1,
- "meta": { }
}
}
{- "created": {
- "_id": "string",
- "name": "Infoblox Workflows",
- "description": "Infoblox Workflows",
- "gbacRead": [
- "CAcFAfEa9aCe7ba08d482B3F"
], - "gbacWrite": [
- "CAcFAfEa9aCe7ba08d482B3F"
], - "members": [
- {
- "path": [
- "Assign Next IP - Infoblox"
], - "type": "folder"
}
], - "version": 1,
- "meta": { }
}, - "edit": "string"
}
Gets a single component group document.
id required | string (id) ObjectId specifying a component group entity. |
include | string Examples: include=name include=description include=name,description Inclusive projection operator formatted as a comma-delineated list. '_id' will be included implicitly unless excluded with 'exclude=_id'. May only be used in conjunction with 'exclude' when 'exclude=_id'. |
exclude | string Examples: exclude=_id exclude=description exclude=_id,description Exclusive projection operator formatted as a comma-delineated list. May only be used in conjunction with 'include' when 'exclude=_id'. |
{- "_id": "67d863a07620432ed58f7964",
- "name": "Automation Studio",
- "description": "",
- "gbacRead": [ ],
- "gbacWrite": [ ],
- "members": [
- {
- "path": [
- "addComponentsToProject"
], - "ref": "2c27f941-aa37-42b2-9ecf-d0398676745d",
- "sourceCollection": "workflows",
- "type": "component",
- "name": "addComponentsToProject"
}, - {
- "path": [
- "createProject"
], - "ref": "887d1e2d-3641-41f4-9f93-40bc0f134b5b",
- "sourceCollection": "workflows",
- "type": "component",
- "name": "createProject"
}
]
}
Replaces a component group document.
id required | string (id) Component group id. |
request body
object (automation-studio_componentGroupUpdate) An entity representing an update to an existing template document. |
{- "update": {
- "_id": "string",
- "name": "Assign Next IP - Infoblox",
- "gbacRead": [
- "CAcFAfEa9aCe7ba08d482B3F"
], - "members": [
- {
- "path": [
- "Assign Next IP - Infoblox"
], - "type": "folder"
}
], - "version": 1,
- "meta": { }
}
}
{- "updated": {
- "_id": "string",
- "name": "Infoblox Workflows",
- "description": "Infoblox Workflows",
- "gbacRead": [
- "CAcFAfEa9aCe7ba08d482B3F"
], - "gbacWrite": [
- "CAcFAfEa9aCe7ba08d482B3F"
], - "members": [
- {
- "path": [
- "Assign Next IP - Infoblox"
], - "type": "folder"
}
], - "version": 1,
- "meta": { }
}, - "edit": "string"
}
Imports a new component group document.
request body
Array of objects (componentGroups) Array of component group documents to import. If '_id' is provided, it will be replaced with an autogenerated '_id'. If a component group's name is already used in the component groups collection, it will be renamed with a numeric suffix. |
{- "componentGroups": [
- {
- "_id": "string",
- "name": "Assign Next IP - Infoblox",
- "gbacRead": [
- "CAcFAfEa9aCe7ba08d482B3F"
], - "members": [
- {
- "path": [
- "Assign Next IP - Infoblox"
], - "type": "folder"
}
], - "version": 1,
- "meta": { }
}
]
}
{- "imported": [
- {
- "success": true,
- "message": "string",
- "original": {
- "_id": "string",
- "name": "Assign Next IP - Infoblox",
- "gbacRead": [
- "CAcFAfEa9aCe7ba08d482B3F"
], - "members": [
- {
- "path": [
- "Assign Next IP - Infoblox"
], - "type": "folder"
}
], - "version": 1,
- "meta": { }
}, - "created": {
- "_id": "string",
- "name": "Infoblox Workflows",
- "description": "Infoblox Workflows",
- "gbacRead": [
- "CAcFAfEa9aCe7ba08d482B3F"
], - "gbacWrite": [
- "CAcFAfEa9aCe7ba08d482B3F"
], - "members": [
- {
- "path": [
- "Assign Next IP - Infoblox"
], - "type": "folder"
}
], - "version": 1,
- "meta": { }
}, - "edit": "string"
}
]
}
Validate a workflow, and return the resulting errors and warnings arrays.
request body
object (automation-studio_workflowDocumentAll) Accepts all generation workflow documents |
{- "workflow": {
- "_id": "string",
- "name": "Port Turn Up IOS",
- "type": "automation",
- "namespace": { },
- "description": "Port Turn Up IOS",
- "preAutomationTime": 5000,
- "sla": 10,
- "tasks": {
- "workflow_start": {
- "name": "string",
- "summary": "string",
- "groups": [
- {
- "name": "Admin",
- "provenance": "Pronghorn"
}
], - "x": 1,
- "y": 0
}, - "workflow_end": {
- "name": "string",
- "summary": "string",
- "groups": [
- {
- "name": "Admin",
- "provenance": "Pronghorn"
}
], - "x": 1,
- "y": 0
}, - "error_handler": {
- "x": 1,
- "y": 0,
- "name": "childJob",
- "summary": "Query Data Using 'json-query' Format",
- "description": "Query Data Using 'json-query' Format",
- "app": "Tools",
- "variables": {
- "incoming": { },
- "outgoing": { },
- "error": "string",
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
]
}, - "deprecated": true,
- "scheduled": true,
- "groups": [
- {
- "name": "Admin",
- "provenance": "Pronghorn"
}
], - "type": "operation"
}
}, - "transitions": {
- "workflow_start": { },
- "workflow_end": { },
- "error_handler": { }
}, - "errorHandler": { },
- "font_size": 12,
- "groups": [
- {
- "name": "Admin",
- "provenance": "Pronghorn"
}
], - "created": "2024-03-13T18:21:15.352Z",
- "created_by": {
- "username": "admin@pronghorn",
- "provenance": "Pronghorn"
}, - "createdVersion": "5.40.5-2021.1.72.0",
- "last_updated": "2024-03-13T18:21:15.352Z",
- "last_updated_by": {
- "username": "admin@pronghorn",
- "provenance": "Pronghorn"
}, - "lastUpdatedVersion": "4.69.69",
- "tags": [
- {
- "_id": "string",
- "name": "string",
- "description": "string"
}
], - "canvasVersion": 1,
- "encodingVersion": 1,
- "inputSchema": { },
- "outputSchema": { },
- "outputData": { },
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
], - "migrationVersion": 0
}
}
{- "errors": [
- { }
], - "warnings": [
- { }
]
}
Gets references to a particular document.
target-type | string Type of document to search for references to. |
target-identifiers | string IDs of the components to search for references to. |
referrer-type | string Type of documents to search for references in. |
{- "referencesByTarget": [
- {
- "target": {
- "identifer": "940a1b4f-399a-44df-a42e-d37da51c7637",
- "type": "workflow"
}, - "totalReferencingInstances": 0,
- "totalReferences": 0,
- "references": {
- "type": "workflow",
- "_id": "940a1b4f-399a-44df-a42e-d37da51c7637",
- "name": "string",
- "referencePaths": [
- "string"
]
}
}
]
}
Get the detailed information model for a task
location required | string (location) Location: Application, Broker, Adapter |
pckg required | string (pckg) Examples: WorkFlowEngine Package name |
method required | string (method) Examples: query merge Method name |
{- "location": "Application",
- "name": "query",
- "app": "WorkFlowEngine",
- "variables": {
- "incoming": {
- "property1": {
- "type": "string",
- "description": "Example description",
- "schema": { }
}, - "property2": {
- "type": "string",
- "description": "Example description",
- "schema": { }
}
}, - "outgoing": {
- "property1": {
- "type": "string",
- "description": "Example description",
- "schema": { }
}, - "property2": {
- "type": "string",
- "description": "Example description",
- "schema": { }
}
}
}
}
Get the detailed information model for a task
request body
Array of objects (inputsArray) |
{- "inputsArray": [
- {
- "location": "Application",
- "pckg": "WorkFlowEngine",
- "method": "query"
}
]
}
[- {
- "location": "Application",
- "name": "query",
- "app": "WorkFlowEngine",
- "variables": {
- "incoming": {
- "property1": {
- "type": "string",
- "description": "Example description",
- "schema": { }
}, - "property2": {
- "type": "string",
- "description": "Example description",
- "schema": { }
}
}, - "outgoing": {
- "property1": {
- "type": "string",
- "description": "Example description",
- "schema": { }
}, - "property2": {
- "type": "string",
- "description": "Example description",
- "schema": { }
}
}
}
}
]
{- "message": "Successfully retrieved projects",
- "data": [
- {
- "_id": "62a1f3d2ebedfc54e6e0065c",
- "iid": 1,
- "name": "Firewall Service Provisioning",
- "description": "This project is used at Acme Corp as the foundation of some major parts of our business process.",
- "members": [
- {
- "type": "account",
- "reference": "62a1f3d2ebedfc54e6e0065c",
- "role": "owner",
- "missing": true,
- "username": "admin@pronghorn",
- "name": "admin",
- "provenance": "Pronghorn"
}
], - "accessControl": {
- "read": [
- "account:67d3108eddcf3e66cc0efbac"
], - "execute": [
- "account:67d3108eddcf3e66cc0efbac"
], - "write": [
- "account:67d3108eddcf3e66cc0efbac"
], - "manage": [
- "account:67d3108eddcf3e66cc0efbac"
]
}, - "componentIidIndex": 0,
- "components": [
- {
- "iid": 1,
- "type": "workflow",
- "reference": "1Ac4B2268489019745B5baa4",
- "folder": "string"
}
], - "folders": [
- {
- "nodeType": "folder",
- "name": "folder-1",
- "children": [
- { }
]
}
], - "created": "2019-11-25T22:51:39.201Z",
- "createdBy": null,
- "lastUpdated": "2019-11-25T22:51:39.201Z",
- "lastUpdatedBy": null,
- "versionHistory": [
- {
- "versionNumber": 1,
- "commitMessage": "string",
- "author": "admin@pronghorn",
- "branchName": "master"
}
], - "gitConfiguration": {
- "connectionType": "GitHub",
- "repositoryPath": "Itential Open Source",
- "branchName": "master",
- "projectPath": "Projects"
}
}
], - "metadata": {
- "skip": 0,
- "limit": 0,
- "total": 0,
- "previousPageSkip": { },
- "nextPageSkip": { }
}
}
Creates a new project
createData
name required | string Project name |
description | string (Project description) A free-form block of text for describing project intent and function |
Array of objects (Project components) A list of member components in the project | |
property name* additional property | any |
{- "name": "Firewall Service Provisioning",
- "description": "This project is used at Acme Corp as the foundation of some major parts of our business process.",
- "components": [
- {
- "iid": 1,
- "type": "workflow",
- "reference": "1Ac4B2268489019745B5baa4",
- "folder": "string"
}
]
}
{- "message": "Successfully created project",
- "data": { },
- "metadata": { }
}
Updates an existing project
required | MongoDB ObjectId (string) or IID (integer) (Projects HTTP ID) Project identifier, either an ObjectId or an IID |
updateData
name | string Project name |
description | string (Project description) A free-form block of text for describing project intent and function |
thumbnailBackgroundColor | string Default: "#FFFFFF" Thumbnail background color |
Array of objects | |
object | |
object | |
property name* additional property | any |
{- "name": "Firewall Service Provisioning",
- "description": "This project is used at Acme Corp as the foundation of some major parts of our business process.",
- "thumbnailBackgroundColor": "#FFFFFF",
- "members": [
- {
- "type": "account",
- "reference": "62a1f3d2ebedfc54e6e0065c",
- "role": "owner"
}
], - "version": {
- "versionNumber": 1,
- "commitMessage": "string",
- "author": "admin@pronghorn",
- "branchName": "master"
}, - "gitConfiguration": {
- "connectionType": "GitHub",
- "repositoryPath": "Itential Open Source",
- "branchName": "master",
- "projectPath": "Projects"
}
}
{- "message": "string",
- "data": { },
- "metadata": { }
}
Exports a project document as a JSON document, inlining all related documents into its components array
id required | string (id) id |
{- "message": "Successfully exported project",
- "data": { },
- "metadata": { }
}
Imports a project document from a JSON document
options
object (automation-studio_projects-export-v1) An exported project document | |
conflictMode | string Enum: "overwrite" "insert-new" |
skipReferenceValidation | boolean Default: false If true, validations will not be run against references. |
assignNewReferences | boolean Default: false This being true would indicate that the imported project is part of a clone action. |
{- "project": {
- "_id": "62a1f3d2ebedfc54e6e0065c",
- "iid": 1,
- "name": "Firewall Service Provisioning",
- "description": "This project is used at Acme Corp as the foundation of some major parts of our business process.",
- "thumbnail": "string",
- "backgroundColor": "#FFFFFF",
- "components": [
- {
- "iid": 1,
- "type": "workflow",
- "reference": "1Ac4B2268489019745B5baa4",
- "folder": "string",
- "document": { }
}
], - "referencedComponentHashes": [
- {
- "type": "string",
- "reference": "string",
- "name": "string",
- "hash": "string",
- "query": { }
}
], - "referencedComponents": [
- {
- "type": "string",
- "reference": "string",
- "document": { }
}
], - "folders": [
- {
- "nodeType": "folder",
- "name": "folder-1",
- "children": [
- { }
]
}
], - "created": "2019-11-25T22:51:39.201Z",
- "createdBy": null,
- "lastUpdated": "2019-11-25T22:51:39.201Z",
- "lastUpdatedBy": null,
- "versionHistory": [
- {
- "versionNumber": 1,
- "commitMessage": "string",
- "author": "admin@pronghorn",
- "branchName": "master"
}
]
}, - "conflictMode": "overwrite",
- "skipReferenceValidation": false,
- "assignNewReferences": false
}
{- "message": "string",
- "data": { },
- "metadata": { }
}
Finds all resource references from a set of specified resource identifiers
options
Array of objects Array of resource identifiers to find references for. | |
recursive | boolean Default: false If true, recursively looks up resources on all referenced resources. |
includeResources | boolean Default: false If true, include the full resource document in each resource reference object. |
object An object of resource types to directions that will not be included in discovery. Cannot be used with include. | |
object An object of resource types and directions to be included in discovery. Cannot be used with ignore. | |
removeCycles | boolean Default: false If true, removes all cyclic relationships from the list of resource references. |
{- "resourceIdentifiers": [
- {
- "resourceType": "string",
- "resourcePointer": "string",
- "resourceId": "string",
- "recursionDepth": 0
}
], - "recursive": false,
- "includeResources": false,
- "ignore": {
- "property1": "up",
- "property2": "up"
}, - "include": {
- "property1": "up",
- "property2": "up"
}, - "removeCycles": false
}
{- "message": "string",
- "data": { },
- "metadata": { }
}
Remove a component from a project
projectId required | string (projectId) Project identifier |
componentId required | number (componentId) Component identifier |
request body
object (options) Options designating removal mode |
{- "options": {
- "mode": "delete"
}
}
{- "message": "string",
- "data": {
- "_id": "62a1f3d2ebedfc54e6e0065c",
- "iid": 1,
- "name": "Firewall Service Provisioning",
- "description": "This project is used at Acme Corp as the foundation of some major parts of our business process.",
- "members": [
- {
- "type": "account",
- "reference": "62a1f3d2ebedfc54e6e0065c",
- "role": "owner",
- "missing": true,
- "username": "admin@pronghorn",
- "name": "admin",
- "provenance": "Pronghorn"
}
], - "accessControl": {
- "read": [
- "account:67d3108eddcf3e66cc0efbac"
], - "execute": [
- "account:67d3108eddcf3e66cc0efbac"
], - "write": [
- "account:67d3108eddcf3e66cc0efbac"
], - "manage": [
- "account:67d3108eddcf3e66cc0efbac"
]
}, - "componentIidIndex": 0,
- "components": [
- {
- "iid": 1,
- "type": "workflow",
- "reference": "1Ac4B2268489019745B5baa4",
- "folder": "string"
}
], - "folders": [
- {
- "nodeType": "folder",
- "name": "folder-1",
- "children": [
- { }
]
}
], - "created": "2019-11-25T22:51:39.201Z",
- "createdBy": null,
- "lastUpdated": "2019-11-25T22:51:39.201Z",
- "lastUpdatedBy": null,
- "versionHistory": [
- {
- "versionNumber": 1,
- "commitMessage": "string",
- "author": "admin@pronghorn",
- "branchName": "master"
}
], - "gitConfiguration": {
- "connectionType": "GitHub",
- "repositoryPath": "Itential Open Source",
- "branchName": "master",
- "projectPath": "Projects"
}
}, - "metadata": { }
}
Add one or more components to Project
projectId required | string (projectId) Project identifier |
options
required | Array of objects (automation-studio_projects-common_components) A list of member components in the project |
mode | string Enum: "move" "copy" |
{- "components": [
- {
- "iid": 1,
- "type": "workflow",
- "reference": "1Ac4B2268489019745B5baa4",
- "folder": "string"
}
], - "mode": "move"
}
{- "message": "string",
- "data": [
- {
- "_id": "62a1f3d2ebedfc54e6e0065c",
- "iid": 1,
- "name": "Firewall Service Provisioning",
- "description": "This project is used at Acme Corp as the foundation of some major parts of our business process.",
- "members": [
- {
- "type": "account",
- "reference": "62a1f3d2ebedfc54e6e0065c",
- "role": "owner",
- "missing": true,
- "username": "admin@pronghorn",
- "name": "admin",
- "provenance": "Pronghorn"
}
], - "accessControl": {
- "read": [
- "account:67d3108eddcf3e66cc0efbac"
], - "execute": [
- "account:67d3108eddcf3e66cc0efbac"
], - "write": [
- "account:67d3108eddcf3e66cc0efbac"
], - "manage": [
- "account:67d3108eddcf3e66cc0efbac"
]
}, - "componentIidIndex": 0,
- "components": [
- {
- "iid": 1,
- "type": "workflow",
- "reference": "1Ac4B2268489019745B5baa4",
- "folder": "string"
}
], - "folders": [
- {
- "nodeType": "folder",
- "name": "folder-1",
- "children": [
- { }
]
}
], - "created": "2019-11-25T22:51:39.201Z",
- "createdBy": null,
- "lastUpdated": "2019-11-25T22:51:39.201Z",
- "lastUpdatedBy": null,
- "versionHistory": [
- {
- "versionNumber": 1,
- "commitMessage": "string",
- "author": "admin@pronghorn",
- "branchName": "master"
}
], - "gitConfiguration": {
- "connectionType": "GitHub",
- "repositoryPath": "Itential Open Source",
- "branchName": "master",
- "projectPath": "Projects"
}
}
], - "metadata": {
- "newComponents": [ ],
- "failedComponents": [ ],
- "idMap": [
- {
- "original": "1a643151-459b-4a4a-be91-623536b65df3",
- "clone": "8696f332-030b-4c2a-8b1b-95844cbb6aea"
}
]
}
}
Set a project's thumbnail image
projectId required | string (projectId) Project identifier |
options
imageData required | string Binary image data encoded as a base64 string |
backgroundColor | string Default: "#FFFFFF" Thumbnail background color |
{- "imageData": "string",
- "backgroundColor": "#FFFFFF"
}
{- "message": "string",
- "data": [
- {
- "_id": "62a1f3d2ebedfc54e6e0065c",
- "iid": 1,
- "name": "Firewall Service Provisioning",
- "description": "This project is used at Acme Corp as the foundation of some major parts of our business process.",
- "members": [
- {
- "type": "account",
- "reference": "62a1f3d2ebedfc54e6e0065c",
- "role": "owner",
- "missing": true,
- "username": "admin@pronghorn",
- "name": "admin",
- "provenance": "Pronghorn"
}
], - "accessControl": {
- "read": [
- "account:67d3108eddcf3e66cc0efbac"
], - "execute": [
- "account:67d3108eddcf3e66cc0efbac"
], - "write": [
- "account:67d3108eddcf3e66cc0efbac"
], - "manage": [
- "account:67d3108eddcf3e66cc0efbac"
]
}, - "componentIidIndex": 0,
- "components": [
- {
- "iid": 1,
- "type": "workflow",
- "reference": "1Ac4B2268489019745B5baa4",
- "folder": "string"
}
], - "folders": [
- {
- "nodeType": "folder",
- "name": "folder-1",
- "children": [
- { }
]
}
], - "created": "2019-11-25T22:51:39.201Z",
- "createdBy": null,
- "lastUpdated": "2019-11-25T22:51:39.201Z",
- "lastUpdatedBy": null,
- "versionHistory": [
- {
- "versionNumber": 1,
- "commitMessage": "string",
- "author": "admin@pronghorn",
- "branchName": "master"
}
], - "gitConfiguration": {
- "connectionType": "GitHub",
- "repositoryPath": "Itential Open Source",
- "branchName": "master",
- "projectPath": "Projects"
}
}
], - "metadata": { }
}
Gets a Project's thumbnail. Returns data as a base64 encoded string of binary data.
projectId required | string (projectId) Project identifier |
{- "message": "Successfully retrieved project thumbnail",
- "data": {
- "image": "",
- "backgroundColor": "#FFFFFF",
- "metadata": { }
}
}
Gets a specific subset of devices for based on given options
request body
object (options) |
{- "options": {
- "start": 0,
- "limit": 20,
- "filter": {
- "name": "string",
- "address": "10.1.98.234",
- "port": "22"
}, - "sort": [
- {
- "name": -1,
- "address": -1,
- "port": -1
}
], - "order": "ascending",
- "adapterType": [
- "NSO"
], - "adapterId": [
- "ansible-us-east"
], - "exactMatch": true
}
}
{- "entity": "device",
- "total": 0,
- "unique_device_count": 0,
- "return_count": 0,
- "start_index": 0,
- "list": [
- {
- "name": "xr9kv01-aws",
- "authgroup": "xr9kv-aws",
- "ipaddress": "10.1.6.100",
- "address": "10.1.6.100",
- "port": "22",
- "device-type": "cli",
- "ostype": "cisco-ios-xr",
- "ned": "cisco-ios-xr",
- "admin": true,
- "host": "nso46",
- "actions": [
- "addDevice"
], - "origins": [
- "nso46"
]
}
]
}
Gathers all the device OS Types in the current evnironment and stores them in the cache.
request body
object (options) |
{- "options": {
- "interval": 48
}
}
{ }
Removes the cache in the database for os type values.
request body
options | object (options) |
{- "options": { }
}
"Successfully deleted the cache for device os types."
Deletes the pinned items permanently from the database.
request body
pinTargets | Array of any (pinTargets) |
sourceItem | string (sourceItem) |
{- "pinTargets": [
- null
], - "sourceItem": "string"
}
{ }
Add an item to pins or remove from if it already exists
request body
object (options) |
{- "options": {
- "sourceItem": "cm_device_groups",
- "target": "CSR_Devices_Group"
}
}
{ }
Fetches a list of pinned items based on the input parameters. The list of pinned items are specific to the current user or actor. This api supports pagination.
request body
object (options) |
{- "options": {
- "filter": "{ sourceItem: 'cm_gc' }",
- "start": "0",
- "limit": "10",
- "projection": "{ users: 0 }"
}
}
{- "pins": [
- { }
], - "count": "10"
}
Takes a jinja2 template a renders output text.
request body
template | string (template) |
variables | object (variables) |
options | object (options) |
{- "template": "this is a {{ varName }} template",
- "variables": { },
- "options": { }
}
"this is a jinja2 template"
Fetch method/task metadata for all adapters that have it.
request body
options | object (options) |
{- "options": { }
}
{- "adapterTasks": { }
}
Fetch method/task metadata for an adapter task.
request body
taskName | string (taskName) |
origin | string (origin) |
options | object (options) |
{- "taskName": "getConfig",
- "origin": "nso52",
- "options": { }
}
{- "adapterTasks": { }
}
Create an instance of a task and save it to the database.
request body
instanceName | string (instanceName) |
origin | string (origin) |
taskName | string (taskName) |
treeId | string (treeId) |
taskParams | object (taskParams) |
options | object (options) |
{- "instanceName": "string",
- "origin": "nso52",
- "taskName": "getConfig",
- "treeId": "5f21c92ba6abf82bf5041783",
- "taskParams": { },
- "options": { }
}
{ }
Update an instance of a task and save it to the database.
request body
taskId | string (taskId) |
treeId | string (treeId) |
taskParams | object (taskParams) |
options | object (options) |
{- "taskId": "string",
- "treeId": "string",
- "taskParams": { },
- "options": { }
}
{ }
Delete task instance(s) from the database.
request body
taskIds | Array of any (taskIds) |
treeId | string (treeId) |
{- "taskIds": [
- null
], - "treeId": "string"
}
{ }
Get instance(s) of a task.
request body
treeId | string (treeId) |
object (options) |
{- "treeId": "5f21c92ba6abf82bf5041783",
- "options": {
- "filter": "{ 'instanceName': 'some task instance 1' }",
- "nodePath": "base"
}
}
{ }
Search for task instance(s) using varies options parameters.
request body
object (options) |
{- "options": {
- "filter": "{ 'instanceName': 'some task instance 1' }",
- "nodePath": "base"
}
}
{ }
Run an instance of a task and save it to the database.
request body
taskId | string (taskId) |
options | object (options) |
{- "taskId": "string",
- "options": { }
}
{ }
Run an adapter task.
request body
origin | string (origin) |
taskName | string (taskName) |
args | object (args) |
options | object (options) |
{- "origin": "string",
- "taskName": "string",
- "args": { },
- "options": { }
}
{ }
Get detailed information for a specific device, based on its device name
name required | string (name) Examples: xr9kv-atl Device name |
{- "name": "xr9kv01-aws",
- "authgroup": "xr9kv-aws",
- "ipaddress": "10.1.6.100",
- "address": "10.1.6.100",
- "port": "22",
- "device-type": "cli",
- "ostype": "cisco-ios-xr",
- "ned": "cisco-ios-xr",
- "admin": true,
- "host": "nso46",
- "actions": [
- "addDevice"
], - "origins": [
- "nso46"
]
}
Get configuration for a specific device
name required | string (name) Examples: xr9kv-atl Device name |
{- "device": "xr9kv-atl",
- "config": "hostname ios0\nno service password-encryption\n..."
}
Get device configuration in a given format.
name required | string (name) Examples: xr9kv-atl Device name |
format required | string (format) Enum: "native" "xml" "json" Examples: native Supported formats by NSO (xml, native, json) & Automation Gateway (native). |
{- "device": "xr9kv-atl",
- "config": "hostname ios0\nno service password-encryption\n..."
}
Backup device configuration in mongo
request body
name | string (configuration_manager_deviceData_deviceName) |
object (options) |
{- "name": "xr9kv-atl",
- "options": {
- "description": "description of backup",
- "notes": "notes about backup"
}
}
{- "status": "success",
- "message": "Device {deviceName} backed up successfully"
}
Insert backup documents into the ucm_configs collection
request body
Array of objects (backups) |
{- "backups": [
- {
- "id": "5c35355dbebaa82eaf8113f0",
- "name": "xr9kv-atl",
- "provider": "string",
- "type": "native",
- "date": "2019-04-12T14:42:47.958Z",
- "rawConfig": "hostname ios0\nno service password-encryption\n...",
- "description": "description of backup",
- "notes": "notes about backup",
- "gbac": {
- "write": [
- { }
], - "read": [
- { }
]
}
}
]
}
{- "status": "success",
- "message": "2 device backups imported successfully"
}
Insert device group documents into the device_groups collection
request body
Array of objects (groups) |
{- "groups": [
- {
- "name": "my standard name",
- "description": "my standard description",
- "devices": [
- "xr9kv-atl"
]
}
]
}
{- "status": "success",
- "message": "2 device groups imported successfully"
}
Fetches backups, requires an options payload. An empty option payload will return the first 25 documents
request body
object (options) |
{- "options": {
- "start": 0,
- "limit": 20,
- "regex": true,
- "filter": {
- "name": "string"
}, - "dateRange": [
- null
], - "sort": {
- "name": -1,
- "date": -1
}
}
}
{- "total": 0,
- "list": [
- {
- "id": "5c35355dbebaa82eaf8113f0",
- "name": "xr9kv-atl",
- "provider": "string",
- "type": "native",
- "date": "2019-04-12T14:42:47.958Z",
- "rawConfig": "hostname ios0\nno service password-encryption\n...",
- "description": "description of backup",
- "notes": "notes about backup",
- "gbac": {
- "write": [
- { }
], - "read": [
- { }
]
}
}
]
}
This API call will delete device backups based on given Ids
request body
backupIds | Array of strings (backupIds) [ items^[0-9a-f]{24}$ ] |
{- "backupIds": [
- "5c35355dbebaa82eaf8113f0"
]
}
{- "status": "success",
- "deleted": 0
}
Retrieves single backup document by id
id required | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ Examples: 5c35355dbebaa82eaf8113f0 Backup's id |
{- "id": "5c35355dbebaa82eaf8113f0",
- "name": "xr9kv-atl",
- "provider": "string",
- "type": "native",
- "date": "2019-04-12T14:42:47.958Z",
- "rawConfig": "hostname ios0\nno service password-encryption\n...",
- "description": "description of backup",
- "notes": "notes about backup",
- "gbac": {
- "write": [
- { }
], - "read": [
- { }
]
}
}
This API call will update the metadata of a device backup by ID
id required | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ Examples: 5c35355dbebaa82eaf8113f0 Backup Id |
request body
object (options) |
{- "options": {
- "description": "description of backup",
- "notes": "notes about backup"
}
}
{- "status": "success",
- "updated": 0
}
Retrieves a single group document by name
request body
groupName | string (configuration_manager_common_standardName) non-empty |
{- "groupName": "my standard name"
}
{- "_id": "5c35355dbebaa82eaf8113f0",
- "name": "my standard name",
- "description": "my standard description",
- "devices": [
- "xr9kv-atl"
]
}
Finds all the device groups that contain the specified device
deviceName required | string (name) Examples: xr9kv-atl Device name |
[- {
- "_id": "5c35355dbebaa82eaf8113f0",
- "name": "my standard name",
- "description": "my standard description",
- "devices": [
- "xr9kv-atl"
]
}
]
Creates a new device group in pronghorn
request body
groupName | string (configuration_manager_common_standardName) non-empty |
groupDescription | string (configuration_manager_common_standardDescription) non-empty |
deviceNames | string (configuration_manager_common_multiElementString) non-empty |
{- "groupName": "my standard name",
- "groupDescription": "my standard description",
- "deviceNames": "device1, device2, device3, device4"
}
{- "id": "5c35355dbebaa82eaf8113f0",
- "name": "string",
- "message": "string",
- "status": "string"
}
Delete specified device groups
request body
groupIds | Array of strings (groupIds) [ items^[0-9a-f]{24}$ ] |
{- "groupIds": [
- "5c35355dbebaa82eaf8113f0"
]
}
{- "status": "string",
- "deleted": 0
}
Gets a list of all device groups that match the search criteria
request body
s | string (s) |
start | number (start) |
limit | number (limit) |
{- "s": "string",
- "start": 0,
- "limit": 0
}
{- "totalCount": 0,
- "groups": [
- {
- "_id": "5c35355dbebaa82eaf8113f0",
- "name": "my standard name",
- "description": "my standard description",
- "devices": [
- "xr9kv-atl"
]
}
]
}
Returns device groups that match the specified input
request body
name | string (name) |
start | number (start) |
limit | number (limit) |
object (options) |
{- "name": "string",
- "start": 0,
- "limit": 0,
- "options": {
- "regex": true
}
}
{- "totalCount": 0,
- "groups": [
- {
- "_id": "5c35355dbebaa82eaf8113f0",
- "name": "my standard name",
- "description": "my standard description",
- "devices": [
- "xr9kv-atl"
]
}
]
}
Get Device Group by ID
id required | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ Examples: 5c35355dbebaa82eaf8113f0 Group Id or Group Name |
{- "_id": "5c35355dbebaa82eaf8113f0",
- "name": "my standard name",
- "description": "my standard description",
- "devices": [
- "xr9kv-atl"
]
}
Updates the device group's details and devices.
id required | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ Examples: 5c35355dbebaa82eaf8113f0 Group Id |
request body
object (configuration_manager_deviceGroupDocument_updateGroupDetails) |
{- "details": {
- "name": "my standard name",
- "description": "my standard description",
- "devices": [
- "xr9kv-atl"
]
}
}
{- "status": "string",
- "modified": 0
}
Removes devices from a device group
id required | string (id) id |
request body
devices | Array of any (devices) |
{- "devices": [
- null
]
}
{ }
Adds devices to a group
id required | string (id) id |
request body
devices | Array of any (devices) |
{- "devices": [
- null
]
}
{ }
Delete specified device groups
request body
groupNames | Array of strings (groupNames) [ items non-empty ] |
{- "groupNames": [
- "my standard name"
]
}
{- "status": "string",
- "deleted": 0
}
This API call will add device(s) to a device group
request body
groupName | string (configuration_manager_common_standardName) non-empty |
deviceNames | string (configuration_manager_common_multiElementString) non-empty |
{- "groupName": "my standard name",
- "deviceNames": "device1, device2, device3, device4"
}
{- "status": "string",
- "modified": 0
}
This API call will delete device(s) from a device group
request body
groupName | string (configuration_manager_common_standardName) non-empty |
deviceNames | string (configuration_manager_common_multiElementString) non-empty |
{- "groupName": "my standard name",
- "deviceNames": "device1, device2, device3, device4"
}
{- "status": "string",
- "modified": 0
}
Lookup two strings and return a diff.
request body
id | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ |
nextId | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ |
collection | string (collection) non-empty |
nextCollection | string (nextCollection) non-empty |
object (options) |
{- "id": "5c35355dbebaa82eaf8113f0",
- "nextId": "5c35355dbebaa82eaf8113f0",
- "collection": "string",
- "nextCollection": "string",
- "options": {
- "type": true,
- "clean": "string"
}
}
[- [
- -1,
- "version 16.12"
], - [
- 1,
- "Building configuration..."
], - [
- 0,
- "service timestamps debug datetime"
], - [
- -1,
- "msec"
], - [
- 0,
- "localtime"
]
]
Create rules for a parser for breaking down configs in GC.
request body
name | string (name) non-empty |
lexRules | Array of strings (lexRules) [ items ] |
template | string (template) Enum: "cisco-ios" "f5-bigip" |
{- "name": "string",
- "lexRules": [
- [
- "^{",
- "open_statement_block"
]
], - "template": "cisco-ios"
}
{ }
Update rules for a parser for breaking down configs in GC.
request body
name | string (name) non-empty |
object (options) |
{- "name": "string",
- "options": {
- "lexRules": [
- [
- "^{",
- "open_statemen_block"
]
], - "template": "cisco-ios"
}
}
{- "status": "string",
- "updated": 0
}
Permanently delete a configuration parser.
request body
name | string (name) non-empty |
options | object (options) |
{- "name": "string",
- "options": { }
}
{ }
Gets a list of all known config parsers.
start | integer >= 0 Examples: start=0 start |
limit | integer >= 1 Examples: limit=20 limit |
regex | boolean regex |
object filter | |
object sort |
[- null
]
Get a defined Config Parser from the database.
request body
object (filter) | |
options | object (options) |
{- "filter": {
- "id": "string",
- "name": "string"
}, - "options": { }
}
{- "parser": { }
}
This API call will delete config parsers based on given Ids
request body
parserIds | Array of strings (parserIds) [ items^[0-9a-f]{24}$ ] |
{- "parserIds": [
- "5c35355dbebaa82eaf8113f0"
]
}
{- "status": "success",
- "deleted": 0
}
Insert parser documents into the ucm_configs collection
request body
parsers | Array of any (parsers) |
{- "parsers": [
- null
]
}
{- "status": "success",
- "message": "2 device parsers imported successfully"
}
Get a list of all Golden Config trees.
[- {
- "id": "5c35355dbebaa82eaf8113f0",
- "name": "Cisco Edge - Day 0",
- "deviceType": "cisco-ios",
- "versions": [
- "initial"
], - "created": "2019-04-12T14:42:47.958Z",
- "lastUpdated": "2019-04-12T14:42:47.958Z"
}
]
Adds a new Golden Config tree
request body
name | string (name) |
deviceType | string (deviceType) |
{- "name": "Cisco Edge - Day 0",
- "deviceType": "cisco-ios"
}
{- "id": "5c35355dbebaa82eaf8113f0",
- "name": "Cisco Edge - Day 0",
- "deviceType": "cisco-ios",
- "version": "initial",
- "root": {
- "name": "base",
- "attributes": {
- "devices": [
- "xr9kv-atl"
], - "configId": "5c35355dbebaa82eaf8113f0"
}, - "children": [
- null
]
}, - "variables": [
- {
- "name": "variable name",
- "type": "literal",
- "value": "variable value"
}
], - "created": "2019-04-12T14:42:47.958Z",
- "createdBy": "5c35355dbebaa82eaf8113f0",
- "lastUpdated": "2019-04-12T14:42:47.958Z",
- "lastUpdatedBy": "5c35355dbebaa82eaf8113f0"
}
This API call will delete golden configuration trees based on given tree ids
request body
treeIds | Array of strings (treeIds) [ items^[0-9a-f]{24}$ ] |
{- "treeIds": [
- "5c35355dbebaa82eaf8113f0"
]
}
{- "status": "success",
- "deleted": 0
}
Get summary of the specified Golden Config tree.
treeId required | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ Examples: 5c35355dbebaa82eaf8113f0 treeId |
[- {
- "id": "5c35355dbebaa82eaf8113f0",
- "name": "Cisco Edge - Day 0",
- "deviceType": "cisco-ios",
- "versions": [
- "initial"
], - "created": "2019-04-12T14:42:47.958Z",
- "lastUpdated": "2019-04-12T14:42:47.958Z"
}
]
Adds a new Golden Config tree
treeId required | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ Examples: 5c35355dbebaa82eaf8113f0 ID of the new Golden Config tree |
request body
version | string (configuration_manager_goldenConfigData_goldenConfigTreeVersionName) |
base | string (configuration_manager_goldenConfigData_goldenConfigTreeVersionName) |
{- "version": "initial",
- "base": "initial"
}
{- "id": "5c35355dbebaa82eaf8113f0",
- "name": "Cisco Edge - Day 0",
- "deviceType": "cisco-ios",
- "version": "initial",
- "root": {
- "name": "base",
- "attributes": {
- "devices": [
- "xr9kv-atl"
], - "configId": "5c35355dbebaa82eaf8113f0"
}, - "children": [
- null
]
}, - "variables": [
- {
- "name": "variable name",
- "type": "literal",
- "value": "variable value"
}
], - "created": "2019-04-12T14:42:47.958Z",
- "createdBy": "5c35355dbebaa82eaf8113f0",
- "lastUpdated": "2019-04-12T14:42:47.958Z",
- "lastUpdatedBy": "5c35355dbebaa82eaf8113f0"
}
Updates properties of the specified Golden Config tree
treeId required | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ Examples: 5c35355dbebaa82eaf8113f0 treeId |
request body
object (options) |
{- "options": {
- "name": "GC Tree Name",
- "gbac": {
- "read": [
- "63696917c49ecc7b03b5f02b"
], - "write": [
- "63696917c49ecc7b03b5f02b"
]
}
}
}
{- "status": "success",
- "message": "Golden Config tree updated"
}
Deletes the specified Golden Config tree.
treeId required | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ Examples: 5c35355dbebaa82eaf8113f0 treeId |
{- "status": "success",
- "message": "Golden Config tree deleted"
}
Get a detailed view of the specified Golden Config tree version.
treeId required | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ Examples: 5c35355dbebaa82eaf8113f0 treeId |
version required | string (goldenConfigTreeVersionName) Examples: initial v2 v3 draft-v4 version |
{- "id": "5c35355dbebaa82eaf8113f0",
- "name": "Cisco Edge - Day 0",
- "deviceType": "cisco-ios",
- "version": "initial",
- "root": {
- "name": "base",
- "attributes": {
- "devices": [
- "xr9kv-atl"
], - "configId": "5c35355dbebaa82eaf8113f0"
}, - "children": [
- null
]
}, - "variables": [
- {
- "name": "variable name",
- "type": "literal",
- "value": "variable value"
}
], - "created": "2019-04-12T14:42:47.958Z",
- "createdBy": "5c35355dbebaa82eaf8113f0",
- "lastUpdated": "2019-04-12T14:42:47.958Z",
- "lastUpdatedBy": "5c35355dbebaa82eaf8113f0"
}
Updates properties of the specified Golden Config tree version
treeId required | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ Examples: 5c35355dbebaa82eaf8113f0 treeId |
version required | string (goldenConfigTreeVersionName) Examples: initial v2 v3 draft-v4 version |
request body
name | string (name) |
variables | object (variables) |
{- "name": "updated version name",
- "variables": { }
}
{- "status": "success",
- "message": "Configuration tree version updated"
}
Deletes the specified Golden Config tree.
treeId required | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ Examples: 5c35355dbebaa82eaf8113f0 treeId |
version required | string (goldenConfigTreeVersionName) Examples: initial v2 v3 draft-v4 version |
{- "status": "success",
- "message": "Configuration tree version deleted"
}
Get summary of the specified Golden Config tree.
request body
treeId | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ |
object (options) |
{- "treeId": "5c35355dbebaa82eaf8113f0",
- "options": {
- "start": "0",
- "limit": "10",
- "sort": 1,
- "deviceType": "cisco-ios"
}
}
[- {
- "id": "5c35355dbebaa82eaf8113f0",
- "name": "Cisco Edge - Day 0",
- "deviceType": "cisco-ios",
- "versions": [
- "initial"
], - "created": "2019-04-12T14:42:47.958Z",
- "lastUpdated": "2019-04-12T14:42:47.958Z"
}
]
Search through all GC Trees to find all locations where a device exists.
request body
deviceName | string (configuration_manager_deviceData_deviceName) |
options | object (options) |
{- "deviceName": "xr9kv-atl",
- "options": { }
}
[- null
]
Search through a GC Tree to find all the devices that exist on it.
request body
treeId | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ |
version | string (configuration_manager_goldenConfigData_goldenConfigTreeVersionName) |
object (options) |
{- "treeId": "5c35355dbebaa82eaf8113f0",
- "version": "initial",
- "options": {
- "nodes": [
- { }
]
}
}
{- "devices": [
- "xr9kv-atl"
]
}
Verifies and deletes the requested deletion variables
treeId required | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ Examples: 5c35355dbebaa82eaf8113f0 treeId |
version required | string (goldenConfigTreeVersionName) Examples: initial v2 v3 draft-v4 version |
request body
Array of objects or object (configuration_manager_goldenConfigData_goldenConfigVariables) |
{- "variables": [
- {
- "name": "variable name",
- "type": "literal",
- "value": "variable value"
}
]
}
{- "status": "success",
- "message": "Deletion successful."
}
Updates the config rule set of a JSON Golden Config tree version
request body
treeId | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ |
version | string (configuration_manager_goldenConfigData_goldenConfigTreeVersionName) |
nodePath | string (configuration_manager_goldenConfigData_goldenConfigNodePath) |
ruleSet | object (ruleSet) |
{- "treeId": "5c35355dbebaa82eaf8113f0",
- "version": "initial",
- "nodePath": "base",
- "ruleSet": { }
}
{- "status": "success",
- "message": "Rule Set successfully updated."
}
Remove device groups from a node in a Golden Config tree
request body
treeId | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ |
version | string (configuration_manager_goldenConfigData_goldenConfigTreeVersionName) |
nodePath | string (configuration_manager_goldenConfigData_goldenConfigNodePath) |
deviceGroups | Array of strings (deviceGroups) [ items^[0-9a-f]{24}$ ] |
{- "treeId": "5c35355dbebaa82eaf8113f0",
- "version": "initial",
- "nodePath": "base",
- "deviceGroups": [
- "5c35355dbebaa82eaf8113f0"
]
}
{- "status": "success",
- "message": "Golden Config node updated"
}
Add device groups to a node in a Golden Config tree
request body
treeId | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ |
version | string (configuration_manager_goldenConfigData_goldenConfigTreeVersionName) |
nodePath | string (configuration_manager_goldenConfigData_goldenConfigNodePath) |
deviceGroups | Array of strings (deviceGroups) [ items^[0-9a-f]{24}$ ] |
{- "treeId": "5c35355dbebaa82eaf8113f0",
- "version": "initial",
- "nodePath": "base",
- "deviceGroups": [
- "5c35355dbebaa82eaf8113f0"
]
}
{- "status": "success",
- "message": "Golden Config node updated"
}
Exports the specified Golden Config tree.
request body
treeId | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ |
{- "treeId": "5c35355dbebaa82eaf8113f0"
}
{- "status": "success",
- "data": [
- {
- "id": "5c35355dbebaa82eaf8113f0",
- "name": "Cisco Edge - Day 0",
- "deviceType": "cisco-ios",
- "versions": [
- "initial"
], - "created": "2019-04-12T14:42:47.958Z",
- "lastUpdated": "2019-04-12T14:42:47.958Z"
}
]
}
Insert golden config documents into the golden config collection
request body
Array of objects (trees) | |
options | object (options) |
{- "trees": [
- {
- "data": [
- {
- "id": "5c35355dbebaa82eaf8113f0",
- "name": "Cisco Edge - Day 0",
- "deviceType": "cisco-ios",
- "versions": [
- "initial"
], - "created": "2019-04-12T14:42:47.958Z",
- "lastUpdated": "2019-04-12T14:42:47.958Z"
}
]
}
], - "options": { }
}
{- "status": "success",
- "message": "2 golden config trees imported successfully"
}
Remove Tasks from a node in a Golden Config tree
request body
treeId | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ |
version | string (configuration_manager_goldenConfigData_goldenConfigTreeVersionName) |
nodePath | string (configuration_manager_goldenConfigData_goldenConfigNodePath) |
tasks | Array of strings (tasks) |
{- "treeId": "5c35355dbebaa82eaf8113f0",
- "version": "initial",
- "nodePath": "base",
- "tasks": [
- "5f9700486aa2ad95d85fc973"
]
}
{- "status": "success",
- "message": "Golden Config node updated"
}
Add Tasks to a node in a Golden Config tree
request body
treeId | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ |
version | string (configuration_manager_goldenConfigData_goldenConfigTreeVersionName) |
nodePath | string (configuration_manager_goldenConfigData_goldenConfigNodePath) |
tasks | Array of strings (tasks) |
{- "treeId": "5c35355dbebaa82eaf8113f0",
- "version": "initial",
- "nodePath": "base",
- "tasks": [
- "5f9700486aa2ad95d85fc973"
]
}
{- "status": "success",
- "message": "Golden Config node updated"
}
Add devices to a node in a Golden Config tree
treeId required | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ Examples: 5c35355dbebaa82eaf8113f0 treeId |
version required | string (goldenConfigTreeVersionName) Examples: initial v2 v3 draft-v4 version |
nodePath required | string (goldenConfigNodePath) Examples: base base/US East base/US East/Atlanta nodePath |
request body
devices | Array of strings (devices) |
{- "devices": [
- "xr9kv-atl"
]
}
{- "status": "success",
- "message": "Golden Config node updated"
}
Remove devices from a node in a Golden Config tree
treeId required | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ Examples: 5c35355dbebaa82eaf8113f0 treeId |
version required | string (goldenConfigTreeVersionName) Examples: initial v2 v3 draft-v4 version |
nodePath required | string (goldenConfigNodePath) Examples: base base/US East base/US East/Atlanta nodePath |
request body
devices | Array of strings (devices) |
{- "devices": [
- "xr9kv-atl"
]
}
{- "status": "success",
- "message": "Golden Config node updated"
}
Create a new node in the specified Golden Config tree.
treeId required | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ Examples: 5c35355dbebaa82eaf8113f0 treeId |
version required | string (goldenConfigTreeVersionName) Examples: initial v2 v3 draft-v4 version |
parentNodePath required | string (parentNodePath) Examples: base/US East parentNodePath |
request body
name | string (name) |
{- "name": "DC"
}
{- "name": "base",
- "attributes": {
- "devices": [
- "xr9kv-atl"
], - "configId": "5c35355dbebaa82eaf8113f0"
}, - "children": [
- {
- "name": "base",
- "attributes": {
- "devices": [
- "xr9kv-atl"
], - "configId": "5c35355dbebaa82eaf8113f0"
}, - "children": [
- null
]
}
]
}
Update properties of the specified Golden Config node.
treeId required | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ Examples: 5c35355dbebaa82eaf8113f0 treeId |
version required | string (goldenConfigTreeVersionName) Examples: initial v2 v3 draft-v4 version |
nodePath required | string (goldenConfigNodePath) Examples: base base/US East base/US East/Atlanta nodePath |
request body
name | string (name) |
object (attributes) |
{- "name": "Southeast",
- "attributes": {
- "devices": [
- "xr9kv-atl"
], - "configId": "5c35355dbebaa82eaf8113f0"
}
}
{- "status": "success",
- "message": "Golden Config node updated"
}
Permanently delete the specified node in the Golden Config tree. Not reversible.
treeId required | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ Examples: 5c35355dbebaa82eaf8113f0 treeId |
version required | string (goldenConfigTreeVersionName) Examples: initial v2 v3 draft-v4 version |
nodePath required | string (goldenConfigNodePath) Examples: base base/US East base/US East/Atlanta nodePath |
{- "status": "success",
- "message": "Configuration node deleted"
}
Get the details of the specified Config Spec.
id required | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ Examples: 5c35355dbebaa82eaf8113f0 id |
{- "id": "5c35355dbebaa82eaf8113f0",
- "deviceType": "cisco-ios",
- "lines": [
- {
- "id": "5c353f69d085d85c",
- "evalMode": "required",
- "severity": "error",
- "words": [
- {
- "type": "literal",
- "value": "<token from configuration> or <regex pattern> or <variable name>"
}
], - "lines": [
- null
]
}
], - "created": "2019-04-12T14:42:47.958Z",
- "createdBy": "5c35355dbebaa82eaf8113f0",
- "lastUpdated": "2019-04-12T14:42:47.958Z",
- "lastUpdatedBy": "5c35355dbebaa82eaf8113f0"
}
Update content of the Config Spec.
id required | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ Examples: 5c35355dbebaa82eaf8113f0 id |
request body
object (data) |
{- "data": {
- "template": "ntp server {{ ipAddress }}",
- "variables": "{ \"ipAddress\": \"128.31.1.3\"}"
}
}
{- "status": "success",
- "message": "Config Spec updated"
}
Get the template of the specified Config Spec
request body
treeId | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ |
version | string (configuration_manager_goldenConfigData_goldenConfigTreeVersionName) |
nodePath | string (configuration_manager_goldenConfigData_goldenConfigNodePath) |
options | object (options) |
{- "treeId": "5c35355dbebaa82eaf8113f0",
- "version": "initial",
- "nodePath": "base",
- "options": { }
}
{- "currentTemplate": "string",
- "inheritedTemplate": "string"
}
Create a new Config Spec.
request body
deviceType | string (deviceType) |
object (data) |
{- "deviceType": "cisco-ios",
- "data": {
- "template": "ntp server {{ ipAddress }}",
- "variables": "{ \"ipAddress\": \"128.31.1.3\"}"
}
}
{- "id": "5c35355dbebaa82eaf8113f0",
- "deviceType": "cisco-ios",
- "lines": [
- {
- "id": "5c353f69d085d85c",
- "evalMode": "required",
- "severity": "error",
- "words": [
- {
- "type": "literal",
- "value": "<token from configuration> or <regex pattern> or <variable name>"
}
], - "lines": [
- null
]
}
], - "created": "2019-04-12T14:42:47.958Z",
- "createdBy": "5c35355dbebaa82eaf8113f0",
- "lastUpdated": "2019-04-12T14:42:47.958Z",
- "lastUpdatedBy": "5c35355dbebaa82eaf8113f0"
}
Updates the configuration for a specified node.
request body
treeId | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ |
treeVersion | string (configuration_manager_goldenConfigData_goldenConfigTreeVersionName) |
nodePath | string (configuration_manager_goldenConfigData_goldenConfigNodePath) |
object (data) | |
updateVariables | boolean (updateVariables) |
{- "treeId": "5c35355dbebaa82eaf8113f0",
- "treeVersion": "initial",
- "nodePath": "base",
- "data": {
- "template": "ntp server {{ ipAddress }}",
- "variables": "{ \"ipAddress\": \"128.31.1.3\"}"
}, - "updateVariables": true
}
{- "status": "success",
- "message": "Node Config updated"
}
Converts a object like config into a human-readable config string.
request body
treeID | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ |
version | string (configuration_manager_goldenConfigData_goldenConfigTreeVersionName) |
nodePath | string (configuration_manager_goldenConfigData_goldenConfigNodePath) |
options | object (options) |
{- "treeID": "5c35355dbebaa82eaf8113f0",
- "version": "initial",
- "nodePath": "base",
- "options": { }
}
{- "config": "interface Loopback01\n description loopback01"
}
Takes raw native config and builds a configuration spec.
request body
nativeConfig | string (configuration_manager_deviceData_deviceConfigurationString) |
deviceType | string (deviceType) Enum: "cisco-ios" "cisco-asa" "cisco-ios-xr" "cisco-nx" "cisco-staros" "alu-sr" "a10-acos" "juniper-junos" "f5-bigip" "arista-eos" |
options | object (options) |
{- "nativeConfig": "hostname ios0\nno service password-encryption\n...",
- "deviceType": "cisco-ios",
- "options": { }
}
[- {
- "id": "5c353f69d085d85c",
- "evalMode": "required",
- "severity": "error",
- "words": [
- {
- "type": "literal",
- "value": "<token from configuration> or <regex pattern> or <variable name>"
}
], - "lines": [
- {
- "id": "5c353f69d085d85c",
- "evalMode": "required",
- "severity": "error",
- "words": [
- {
- "type": "literal",
- "value": "<token from configuration> or <regex pattern> or <variable name>"
}
], - "lines": [
- null
]
}
]
}
]
Get the details of the specified JSON Spec.
id required | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ Examples: 5c35355dbebaa82eaf8113f0 id |
{ }
Update content of the JSON Spec.
id required | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ Examples: 5c35355dbebaa82eaf8113f0 id |
request body
data | object (data) |
{- "data": { }
}
{- "status": "success",
- "message": "JSON Spec updated"
}
Get the details of the specified JSON Spec with inheritance.
request body
treeId | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ |
version | string (configuration_manager_goldenConfigData_goldenConfigTreeVersionName) |
nodePath | string (configuration_manager_goldenConfigData_goldenConfigNodePath) |
options | object (options) |
{- "treeId": "5c35355dbebaa82eaf8113f0",
- "version": "initial",
- "nodePath": "base",
- "options": { }
}
{ }
Create a new JSON Spec.
request body
data | object (data) |
{- "data": { }
}
{- "id": "5c35355dbebaa82eaf8113f0",
- "deviceType": "json",
- "data": { },
- "created": "2019-04-12T14:42:47.958Z",
- "createdBy": "5c35355dbebaa82eaf8113f0",
- "lastUpdated": "2019-04-12T14:42:47.958Z",
- "lastUpdatedBy": "5c35355dbebaa82eaf8113f0"
}
Kick off one or more compliance checks for devices in a specified Golden Config tree.
request body
deviceName | string (deviceName) |
configuration | string (configuration) |
{- "deviceName": "Cisco-Device.1",
- "configuration": "interface Loopback1\n ip address 10.0.0.1\nntp server 105.62.30.158"
}
{- "status": 202,
- "message": "compliance batch ${batchId} started",
- "batchId": "5c35355dbebaa82eaf8113f0"
}
Kick off one or more compliance checks for devices in a specified Golden Config tree.
request body
object (options) |
{- "options": {
- "treeId": "5c35355dbebaa82eaf8113f0",
- "version": "v3",
- "nodePath": "base/US East/Atlanta",
- "devices": [
- "xr9kv-atl"
], - "tasks": "5f7b4c5ab2f4e0690520eed2",
- "variables": [
- {
- "name": "variable name",
- "type": "literal",
- "value": "variable value"
}
], - "bidirectional": true
}
}
{- "status": 202,
- "message": "compliance batch ${batchId} started",
- "batchId": "5c35355dbebaa82eaf8113f0"
}
Kick off one or more compliance checks for backups in a specified Golden Config tree.
request body
object (treeInfo) | |
backupIds | Array of strings (backupIds) |
object (options) |
{- "treeInfo": {
- "treeId": "5c35355dbebaa82eaf8113f0",
- "version": "v3",
- "nodePath": "base/US East/Atlanta"
}, - "backupIds": [
- "5f9700486aa2ad95d85fc973"
], - "options": {
- "bidirectional": true
}
}
{- "status": 202,
- "message": "compliance batch ${batchId} started",
- "batchId": "5c35355dbebaa82eaf8113f0"
}
Summarize Compliance Reports for a Tree.
treeId required | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ Examples: 5c35355dbebaa82eaf8113f0 treeId |
{- "errors": 0,
- "warnings": 0,
- "passes": 0,
- "infos": 0,
- "deviceWithErrors": 0,
- "deviceWithWarnings": 0,
- "deviceWithInfos": 0,
- "fullyCompliantDevices": 0,
- "numDevices": 0
}
Summarize Compliance Reports for a Node.
treeId required | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ Examples: 5c35355dbebaa82eaf8113f0 treeId |
nodePath required | string (goldenConfigNodePath) Examples: base base/US East base/US East/Atlanta nodePath |
{- "errors": 0,
- "warnings": 0,
- "passes": 0,
- "infos": 0,
- "deviceWithErrors": 0,
- "deviceWithWarnings": 0,
- "deviceWithInfos": 0,
- "fullyCompliantDevices": 0,
- "numDevices": 0
}
Get a set of graded and scored compliance reports for a node.
request body
treeId | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ |
version | string (configuration_manager_goldenConfigData_goldenConfigTreeVersionName) |
object (options) |
{- "treeId": "5c35355dbebaa82eaf8113f0",
- "version": "initial",
- "options": {
- "weights": {
- "error": 0,
- "warning": 0,
- "info": 0
}, - "benchmarks": {
- "property1": 0,
- "property2": 0
}, - "nodePath": "base"
}
}
[- {
- "grade": "pass",
- "total": 0,
- "devices": [
- "xr9kv-atl"
], - "records": [
- {
- "deviceName": "xr9kv-atl",
- "reportId": "5c35355dbebaa82eaf8113f0",
- "nodePath": "base",
- "timestamp": "2019-04-12T14:42:47.958Z",
- "score": 0,
- "grade": "pass"
}
]
}
]
Get graded compliance report
request body
reportId | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ |
object (configuration_manager_goldenConfigData_reportGradingOptions) |
{- "reportId": "5c35355dbebaa82eaf8113f0",
- "options": {
- "weights": {
- "error": 0,
- "warning": 0,
- "info": 0
}, - "benchmarks": {
- "property1": 0,
- "property2": 0
}
}
}
{- "id": "5c35355dbebaa82eaf8113f0",
- "batchId": "5c35355dbebaa82eaf8113f0",
- "treeId": "5c35355dbebaa82eaf8113f0",
- "version": "initial",
- "nodePath": "base",
- "deviceType": "cisco-ios",
- "specId": "5c35355dbebaa82eaf8113f0",
- "inheritedSpecIds": [
- "5c35355dbebaa82eaf8113f0"
], - "deviceName": "xr9kv-atl",
- "variables": [
- {
- "name": "variable name",
- "type": "literal",
- "value": "variable value"
}
], - "timestamp": "2019-04-12T14:42:47.958Z",
- "totals": {
- "errors": 0,
- "warnings": 0,
- "infos": 0,
- "passes": 0
}, - "issues": [
- {
- "severity": "error",
- "type": "required",
- "message": "Required config not found",
- "specLineId": "5c353f69d085d85c",
- "path": [
- "interface GigE1"
], - "spec": {
- "id": "5c353f69d085d85c",
- "evalMode": "required",
- "severity": "error",
- "words": [
- {
- "type": "literal",
- "value": "<token from configuration> or <regex pattern> or <variable name>"
}
], - "lines": [
- null
]
}, - "configWords": [
- {
- "type": "literal",
- "value": "word"
}
], - "candidates": [
- {
- "type": "literal",
- "value": "word"
}
]
}
], - "score": 0,
- "grade": "pass"
}
Get historical graded compliance reports for a device on a node.
request body
treeId | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ |
version | string (configuration_manager_goldenConfigData_goldenConfigTreeVersionName) |
nodePath | string (configuration_manager_goldenConfigData_goldenConfigNodePath) |
deviceName | string (configuration_manager_deviceData_deviceName) |
object (configuration_manager_goldenConfigData_gradeDeviceComplianceHistoryOptions) |
{- "treeId": "5c35355dbebaa82eaf8113f0",
- "version": "initial",
- "nodePath": "base",
- "deviceName": "xr9kv-atl",
- "options": {
- "weights": {
- "error": 0,
- "warning": 0,
- "info": 0
}, - "benchmarks": {
- "property1": 0,
- "property2": 0
}, - "limit": 1
}
}
[- {
- "id": "5c35355dbebaa82eaf8113f0",
- "nodePath": "base/US East/Atlanta",
- "deviceName": "xr9kv-atl",
- "timestamp": "2019-04-12T14:42:47.958Z",
- "error": 0,
- "warning": 0,
- "info": 0,
- "pass": 0,
- "score": 100,
- "grade": "pass"
}
]
Get historical graded compliance reports for a task instance on a node.
request body
treeId | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ |
version | string (configuration_manager_goldenConfigData_goldenConfigTreeVersionName) |
nodePath | string (configuration_manager_goldenConfigData_goldenConfigNodePath) |
taskId | string (taskId) |
object (configuration_manager_goldenConfigData_gradeDeviceComplianceHistoryOptions) |
{- "treeId": "5c35355dbebaa82eaf8113f0",
- "version": "initial",
- "nodePath": "base",
- "taskId": "5f80bd24f8479975bb46054d",
- "options": {
- "weights": {
- "error": 0,
- "warning": 0,
- "info": 0
}, - "benchmarks": {
- "property1": 0,
- "property2": 0
}, - "limit": 1
}
}
[- {
- "id": "5c35355dbebaa82eaf8113f0",
- "nodePath": "base/US East/Atlanta",
- "deviceName": "xr9kv-atl",
- "timestamp": "2019-04-12T14:42:47.958Z",
- "error": 0,
- "warning": 0,
- "info": 0,
- "pass": 0,
- "score": 100,
- "grade": "pass"
}
]
Get historical graded compliance reports for a device on a node with pagination support.
request body
treeId | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ |
version | string (configuration_manager_goldenConfigData_goldenConfigTreeVersionName) |
nodePath | string (configuration_manager_goldenConfigData_goldenConfigNodePath) |
object (filter) | |
object (configuration_manager_goldenConfigData_gradeDeviceComplianceHistoryOptions) |
{- "treeId": "5c35355dbebaa82eaf8113f0",
- "version": "initial",
- "nodePath": "base",
- "filter": {
- "deviceName": "xr9kv-atl",
- "taskId": "5c35355dbebaa82eaf8113f0"
}, - "options": {
- "weights": {
- "error": 0,
- "warning": 0,
- "info": 0
}, - "benchmarks": {
- "property1": 0,
- "property2": 0
}, - "limit": 1
}
}
{- "total": 0,
- "history": [
- {
- "id": "5c35355dbebaa82eaf8113f0",
- "nodePath": "base/US East/Atlanta",
- "deviceName": "xr9kv-atl",
- "timestamp": "2019-04-12T14:42:47.958Z",
- "error": 0,
- "warning": 0,
- "info": 0,
- "pass": 0,
- "score": 100,
- "grade": "pass"
}
]
}
Get compliance report metadata by batch ID.
batchId required | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ Examples: 5c35355dbebaa82eaf8113f0 batchId |
[- {
- "id": "5c35355dbebaa82eaf8113f0",
- "batchId": "5c35355dbebaa82eaf8113f0",
- "treeId": "5c35355dbebaa82eaf8113f0",
- "version": "initial",
- "nodePath": "base",
- "deviceName": "xr9kv-atl",
- "timestamp": "2019-04-12T14:42:47.958Z",
- "totals": {
- "errors": 0,
- "warnings": 0,
- "infos": 0,
- "passes": 0
}
}
]
Get compliance report metadata by batch ID.
batchId required | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ Examples: 5c35355dbebaa82eaf8113f0 batchId |
[- {
- "id": "5c35355dbebaa82eaf8113f0",
- "batchId": "5c35355dbebaa82eaf8113f0",
- "treeId": "5c35355dbebaa82eaf8113f0",
- "version": "initial",
- "nodePath": "base",
- "deviceName": "xr9kv-atl",
- "timestamp": "2019-04-12T14:42:47.958Z",
- "totals": {
- "errors": 0,
- "warnings": 0,
- "infos": 0,
- "passes": 0
}
}
]
Compliance Reports totals for a Device.
request body
object (options) |
{- "options": {
- "treeId": "5c35355dbebaa82eaf8113f0",
- "version": "v3",
- "nodePath": "base/US East/Atlanta",
- "devices": [
- "xr9kv-atl"
], - "limit": 1
}
}
[- {
- "id": "5c35355dbebaa82eaf8113f0",
- "batchId": "5c35355dbebaa82eaf8113f0",
- "treeId": "5c35355dbebaa82eaf8113f0",
- "version": "initial",
- "nodePath": "base",
- "deviceName": "xr9kv-atl",
- "timestamp": "2019-04-12T14:42:47.958Z",
- "totals": {
- "errors": 0,
- "warnings": 0,
- "infos": 0,
- "passes": 0
}
}
]
Compliance Reports totals for a Backup.
request body
object (options) |
{- "options": {
- "treeId": "5c35355dbebaa82eaf8113f0",
- "version": "v3",
- "nodePath": "base/US East/Atlanta",
- "devices": [
- "xr9kv-atl"
], - "backups": [
- "5c35355dbebaa82eaf8113f0"
], - "limit": 1
}
}
[- {
- "id": "5c35355dbebaa82eaf8113f0",
- "batchId": "5c35355dbebaa82eaf8113f0",
- "treeId": "5c35355dbebaa82eaf8113f0",
- "version": "initial",
- "nodePath": "base",
- "deviceName": "xr9kv-atl",
- "timestamp": "2019-04-12T14:42:47.958Z",
- "totals": {
- "errors": 0,
- "warnings": 0,
- "infos": 0,
- "passes": 0
}
}
]
Compliance Reports totals for a Task Instance.
request body
object (options) |
{- "options": {
- "treeId": "5c35355dbebaa82eaf8113f0",
- "version": "v3",
- "nodePath": "base/US East/Atlanta",
- "taskIds": [
- "5f1063d78cf3b62347de4b87"
], - "limit": 1
}
}
[- {
- "id": "5c35355dbebaa82eaf8113f0",
- "batchId": "5c35355dbebaa82eaf8113f0",
- "treeId": "5c35355dbebaa82eaf8113f0",
- "version": "initial",
- "nodePath": "base",
- "deviceName": "xr9kv-atl",
- "timestamp": "2019-04-12T14:42:47.958Z",
- "totals": {
- "errors": 0,
- "warnings": 0,
- "infos": 0,
- "passes": 0
}
}
]
Get the details of a particular compliance report
reportId required | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ Examples: 5c35355dbebaa82eaf8113f0 reportId |
{- "id": "5c35355dbebaa82eaf8113f0",
- "batchId": "5c35355dbebaa82eaf8113f0",
- "treeId": "5c35355dbebaa82eaf8113f0",
- "version": "initial",
- "nodePath": "base",
- "deviceType": "cisco-ios",
- "specId": "5c35355dbebaa82eaf8113f0",
- "inheritedSpecIds": [
- "5c35355dbebaa82eaf8113f0"
], - "deviceName": "xr9kv-atl",
- "variables": [
- {
- "name": "variable name",
- "type": "literal",
- "value": "variable value"
}
], - "timestamp": "2019-04-12T14:42:47.958Z",
- "totals": {
- "errors": 0,
- "warnings": 0,
- "infos": 0,
- "passes": 0
}, - "issues": [
- {
- "severity": "error",
- "type": "required",
- "message": "Required config not found",
- "specLineId": "5c353f69d085d85c",
- "path": [
- "interface GigE1"
], - "spec": {
- "id": "5c353f69d085d85c",
- "evalMode": "required",
- "severity": "error",
- "words": [
- {
- "type": "literal",
- "value": "<token from configuration> or <regex pattern> or <variable name>"
}
], - "lines": [
- null
]
}, - "configWords": [
- {
- "type": "literal",
- "value": "word"
}
], - "candidates": [
- {
- "type": "literal",
- "value": "word"
}
]
}
], - "score": 0
}
Get the details of a particular JSON compliance report
reportId required | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ Examples: 5c35355dbebaa82eaf8113f0 reportId |
{- "id": "5c35355dbebaa82eaf8113f0",
- "batchId": "5c35355dbebaa82eaf8113f0",
- "treeId": "5c35355dbebaa82eaf8113f0",
- "version": "initial",
- "nodePath": "base",
- "deviceType": "cisco-ios",
- "specId": "5c35355dbebaa82eaf8113f0",
- "inheritedSpecIds": [
- "5c35355dbebaa82eaf8113f0"
], - "deviceName": "xr9kv-atl",
- "variables": [
- {
- "name": "variable name",
- "type": "literal",
- "value": "variable value"
}
], - "timestamp": "2019-04-12T14:42:47.958Z",
- "totals": {
- "errors": 0,
- "warnings": 0,
- "infos": 0,
- "passes": 0
}, - "issues": [
- {
- "severity": "error",
- "type": "required",
- "message": "Required config not found",
- "specLineId": "5c353f69d085d85c",
- "path": [
- "interface GigE1"
], - "spec": {
- "id": "5c353f69d085d85c",
- "evalMode": "required",
- "severity": "error",
- "words": [
- {
- "type": "literal",
- "value": "<token from configuration> or <regex pattern> or <variable name>"
}
], - "lines": [
- null
]
}, - "configWords": [
- {
- "type": "literal",
- "value": "word"
}
], - "candidates": [
- {
- "type": "literal",
- "value": "word"
}
]
}
], - "score": 0
}
Get details of a particular set of compliance checks.
request body
reportIds | Array of strings (reportIds) [ items^[0-9a-f]{24}$ ] |
{- "reportIds": [
- "5c35355dbebaa82eaf8113f0"
]
}
[- {
- "id": "5c35355dbebaa82eaf8113f0",
- "batchId": "5c35355dbebaa82eaf8113f0",
- "treeId": "5c35355dbebaa82eaf8113f0",
- "version": "initial",
- "nodePath": "base",
- "deviceType": "cisco-ios",
- "specId": "5c35355dbebaa82eaf8113f0",
- "inheritedSpecIds": [
- "5c35355dbebaa82eaf8113f0"
], - "deviceName": "xr9kv-atl",
- "variables": [
- {
- "name": "variable name",
- "type": "literal",
- "value": "variable value"
}
], - "timestamp": "2019-04-12T14:42:47.958Z",
- "totals": {
- "errors": 0,
- "warnings": 0,
- "infos": 0,
- "passes": 0
}, - "issues": [
- {
- "severity": "error",
- "type": "required",
- "message": "Required config not found",
- "specLineId": "5c353f69d085d85c",
- "path": [
- "interface GigE1"
], - "spec": {
- "id": "5c353f69d085d85c",
- "evalMode": "required",
- "severity": "error",
- "words": [
- {
- "type": "literal",
- "value": "<token from configuration> or <regex pattern> or <variable name>"
}
], - "lines": [
- null
]
}, - "configWords": [
- {
- "type": "literal",
- "value": "word"
}
], - "candidates": [
- {
- "type": "literal",
- "value": "word"
}
]
}
], - "score": 0
}
]
Get the top most offending issues from all latest compliance reports
request body
object (options) |
{- "options": {
- "treeId": "5c35355dbebaa82eaf8113f0",
- "version": "v3",
- "nodePath": "base"
}
}
[- {
- "id": "5c353f69d085d85c",
- "specWords": [
- {
- "type": "literal",
- "value": "<token from configuration> or <regex pattern> or <variable name>"
}
], - "count": 0
}
]
Get the top most offending issues from all latest JSON compliance reports
request body
object (options) |
{- "options": {
- "treeId": "5c35355dbebaa82eaf8113f0",
- "version": "v3",
- "nodePath": "base"
}
}
[- { }
]
Apply specified changes to a device configuration
deviceName required | string (name) Examples: xr9kv-atl deviceName |
request body
Array of objects (changes) |
{- "changes": [
- {
- "parents": [
- "parent line of config"
], - "old": "old config line",
- "new": "new config line"
}
]
}
{- "response": [
- {
- "result": true,
- "parents": [
- "string"
], - "new": "string",
- "old": "string"
}
]
}
Apply specified changes to a device configuration with additional options
deviceName required | string (name) Examples: xr9kv-atl deviceName |
request body
Array of objects (changes) | |
object (options) |
{- "changes": [
- {
- "parents": [
- "parent line of config"
], - "old": "old config line",
- "new": "new config line"
}
], - "options": {
- "backupDevice": true
}
}
{- "response": [
- {
- "result": true,
- "parents": [
- "string"
], - "new": "string",
- "old": "string"
}
]
}
Converts the config patch data into a readable native config.
request body
deviceType | string (deviceType) |
Array of objects (changes) |
{- "deviceType": "cisco-ios",
- "changes": [
- {
- "parents": [
- "parent line of config"
], - "old": "old config line",
- "new": "new config line"
}
]
}
{- "config": "interface Loopback01\n description loopback01",
- "changes": [
- null
]
}
Perform south bound specific logic via direct adapter call(s)
device required | string (name) Examples: xr9kv-atl device name |
origin required | string (origin) Examples: nso46 ansible-us origin name |
action required | string (action) Examples: checkSync adapter action/function to be called |
{ }
Creates a new device template in pronghorn
request body
name | string (name) |
template | string (template) |
variables | object (variables) |
object (options) |
{- "name": "string",
- "template": "interface Loopback1\n description {{ description }}",
- "variables": { },
- "options": {
- "deviceOSTypes": [ ]
}
}
{- "result": "success",
- "data": {
- "id": "610315295595a5fcb99f8ce2",
- "name": "Cisco Login Banner",
- "template": "banner login {{ bannerBody }}",
- "variables": {
- "bannerBody": "Welcome to this Cisco Device."
}, - "created": "2021-07-29T20:52:57.378Z",
- "updated": "2021-07-29T20:52:57.378Z",
- "createdBy": "5eaaf3796b16027c8aeb612a",
- "updatedBy": "5eaaf3796b16027c8aeb612a",
- "gbac": {
- "write": [ ],
- "read": [ ]
}
}
}
Updates a new device template in pronghorn
request body
id | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ |
object (data) | |
object (options) |
{- "id": "5c35355dbebaa82eaf8113f0",
- "data": {
- "template": "ntp server {{ ipAddress }}",
- "variables": "{ \"ipAddress\": \"1.2.3.4\" }",
- "name": "NTP Server Template"
}, - "options": {
- "deviceOSTypes": [ ]
}
}
{- "status": "success",
- "updated": 2
}
This API call will delete device templates based on given Ids
request body
templateIds | Array of strings (templateIds) [ items^[0-9a-f]{24}$ ] |
{- "templateIds": [
- "5c35355dbebaa82eaf8113f0"
]
}
{- "status": "success",
- "deleted": 0
}
Gets a new device template in pronghorn
request body
name | string (name) |
options | object (options) |
{- "name": "string",
- "options": { }
}
{- "total": 1,
- "list": [
- {
- "id": "610315295595a5fcb99f8ce2",
- "name": "Cisco Login Banner",
- "template": "banner login {{ bannerBody }}",
- "variables": {
- "bannerBody": "Welcome to this Cisco Device."
}, - "created": "2021-07-29T20:52:57.378Z",
- "updated": "2021-07-29T20:52:57.378Z",
- "createdBy": "5eaaf3796b16027c8aeb612a",
- "updatedBy": "5eaaf3796b16027c8aeb612a",
- "gbac": {
- "write": [ ],
- "read": [ ]
}
}
]
}
Insert device config template documents into the device_templates collection
request body
templates | Array of any (templates) |
{- "templates": [
- null
]
}
{- "status": "success",
- "message": "2 device template imported successfully"
}
This API call will apply a configuration to a specified device
deviceName required | string (name) Examples: xr9kv-atl Device name |
request body
object (configuration_manager_deviceData_deviceConfiguration) | |
options | object (options) |
{- "config": {
- "device": "xr9kv-atl",
- "config": "hostname ios0\nno service password-encryption\n..."
}, - "options": { }
}
{ }
This API call will apply a configuration template to a specified device
request body
deviceName | string (configuration_manager_deviceData_deviceName) |
templateId | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ |
options | object (options) |
{- "deviceName": "xr9kv-atl",
- "templateId": "5c35355dbebaa82eaf8113f0",
- "options": { }
}
{ }
Gets all the operational data for the specified device
deviceName required | string (name) Examples: xr9kv-atl Device name |
request body
object (options) |
{- "options": {
- "filter": [
- "string"
]
}
}
{ }
Insert compliance plan documents into the ucm_compliance_plans collection
request body
Array of objects (plans) |
{- "plans": [
- {
- "_id": "string",
- "name": "string",
- "description": "string",
- "nodes": [
- {
- "treeId": "string",
- "version": "string",
- "nodeId": "string",
- "variables": "{ \"ipAddress\": \"1.2.3.4\" }"
}
], - "gbac": {
- "read": [
- "63696917c49ecc7b03b5f02b"
], - "write": [
- "63696917c49ecc7b03b5f02b"
]
}
}
]
}
{- "status": "success",
- "message": "2 compliance plan(s) imported successfully."
}
Creates a compliance plan which can be used to execute compliance reports
request body
name | string (name) |
object (options) |
{- "name": "Firewall Policies",
- "options": {
- "description": "A compliance plan for firewall configs.",
- "nodes": [
- {
- "treeId": "string",
- "version": "string",
- "nodeId": "string",
- "variables": "{ \"ipAddress\": \"1.2.3.4\" }",
- "devices": [
- "xr9kv-atl"
], - "deviceGroups": [
- "5c35355dbebaa82eaf8113f0"
], - "tasks": [
- "5c35355dbebaa82eaf8113f0"
]
}
]
}
}
{ }
Updates a compliance plan that already exists
request body
planId | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ |
object (options) |
{- "planId": "5c35355dbebaa82eaf8113f0",
- "options": {
- "description": "A compliance plan for firewall configs.",
- "name": "Firewall Policies",
- "nodes": [
- {
- "treeId": "string",
- "version": "string",
- "nodeId": "string",
- "variables": "{ \"ipAddress\": \"1.2.3.4\" }",
- "devices": [
- "xr9kv-atl"
], - "deviceGroups": [
- "5c35355dbebaa82eaf8113f0"
], - "tasks": [
- "5c35355dbebaa82eaf8113f0"
]
}
], - "gbac": {
- "read": [
- "63696917c49ecc7b03b5f02b"
], - "write": [
- "63696917c49ecc7b03b5f02b"
]
}
}
}
{- "status": "success",
- "message": "Compliance Plan updated"
}
Delete the specified compliance plans
request body
planIds | Array of strings (planIds) [ items^[0-9a-f]{24}$ ] |
{- "planIds": [
- "5c35355dbebaa82eaf8113f0"
]
}
{- "status": "string",
- "deleted": 0
}
Fetches a compliance plan with the provided ID
planId required | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ Examples: 5c35355dbebaa82eaf8113f0 planId |
{ }
Gets a list of all Compliance Plans that match the search criteria
request body
name | string (name) |
object (options) |
{- "name": "string",
- "options": {
- "start": 0,
- "limit": 20,
- "sort": 1
}
}
{- "totalCount": 0,
- "groups": [
- null
]
}
Gets a list of all Compliance Plan Instances that match the search criteria
request body
searchParams (object) or searchParams (object) or searchParams (object) (searchParams) |
{- "searchParams": {
- "instanceId": "string",
- "planId": "string",
- "planName": "string",
- "description": [
- "A description for my compliance plan."
], - "status": "running",
- "dateRange": [
- null
], - "start": 0,
- "limit": 20,
- "sort": {
- "started": -1,
- "jobStatus": -1,
- "name": -1
}
}
}
{- "totalCount": 0,
- "groups": [
- null
]
}
Adds new node(s) to an already existing compliance plan
request body
planId | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ |
Array of objects (nodes) | |
options | object (options) |
{- "planId": "5c35355dbebaa82eaf8113f0",
- "nodes": [
- {
- "treeId": "string",
- "version": "string",
- "nodeId": "string",
- "variables": "{ \"ipAddress\": \"1.2.3.4\" }",
- "devices": [
- "xr9kv-atl"
], - "deviceGroups": [
- "5c35355dbebaa82eaf8113f0"
], - "tasks": [
- "5c35355dbebaa82eaf8113f0"
]
}
], - "options": { }
}
{- "status": "success",
- "message": "Successfully added node(s) to compliance plan"
}
Removes new node(s) from an already existing compliance plan
request body
planId | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ |
nodeIds | Array of strings (nodeIds) [ items^[0-9a-f]{24}$ ] |
options | object (options) |
{- "planId": "5c35355dbebaa82eaf8113f0",
- "nodeIds": [
- "5c35355dbebaa82eaf8113f0"
], - "options": { }
}
{- "status": "success",
- "message": "Successfully added node(s) to compliance plan"
}
This API call will create WF job that will execute the compliance plan
request body
planId | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ |
options | object (options) |
{- "planId": "5c35355dbebaa82eaf8113f0",
- "options": { }
}
{ }
Update properties of the specified compliance plan instance
request body
planId | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ |
instanceId | string (configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ |
object (options) |
{- "planId": "5c35355dbebaa82eaf8113f0",
- "instanceId": "5c35355dbebaa82eaf8113f0",
- "options": {
- "description": "Compliance plan instance description"
}
}
{- "status": "success",
- "message": "Compliance Run Report updated"
}
{- "result": {
- "_id": "5cb7b531d06cceb89fd21b1c",
- "active": true,
- "text": "string",
- "backgroundColor": "#fff",
- "dismissible": true,
- "startTime": "2018-08-02T15:56:12.912Z",
- "endTime": "2018-08-02T15:56:12.912Z",
- "allPages": true,
- "image": "string",
- "messageLastUpdated": "2018-08-02T15:56:12.912Z"
}
}
Update the banner
updates
_id | string^[0-9a-f]{24}$ String representation of a MongoDB ObjectId |
active required | boolean A flag indicating if the banner will be displayed to users |
text required | string Text in the banner when displayed |
backgroundColor | string The background color for the banner displayed |
dismissible required | boolean A flag indicating if a banner should be dismissible by users |
startTime required | string^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z$ An ISO Timestring value indicating when the banner will show |
endTime | string^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z$ A, ISO Timestring value indicating when the banner will no longer show |
allPages required | boolean A flag indicating if the banner should show on all pages or only the IAP home page |
image | string A base64 image string containing the image that will be shown on the banner |
messageLastUpdated | string^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z$ An ISO Timestring value indicating when the banner message was last updated |
{- "_id": "5cb7b531d06cceb89fd21b1c",
- "active": true,
- "text": "string",
- "backgroundColor": "#fff",
- "dismissible": true,
- "startTime": "2018-08-02T15:56:12.912Z",
- "endTime": "2018-08-02T15:56:12.912Z",
- "allPages": true,
- "image": "string",
- "messageLastUpdated": "2018-08-02T15:56:12.912Z"
}
{- "status": "OK",
- "message": "A sample success message"
}
Get device count history
skip | integer (iap_common-schema_skip) >= 0 Default: 0 Examples: skip=1 skip=10 skip=50 skip |
limit | integer (iap_common-schema_limit) >= 0 Default: 25 Examples: limit=1 limit=10 limit=50 limit |
order | string Default: "newest" Enum: "newest" "oldest" order |
serverId | string The server ID where the device counts came from |
before | integer The timestamp in milliseconds used as an upper range. Should be higher than the after value. |
after | integer The timestamp in milliseconds used as a lower range. Should be lower than the after value. |
{- "results": {
- "timestamp": "2023-02-14T20:06:50.569Z",
- "serverId": "string",
- "counts": {
- "property1": 0,
- "property2": 0
}
}, - "total": 1
}
Get all links
object (Itential External Link Query Schema) multiContains | |
object (Itential External Link Query Schema) multiEquals | |
object (Itential External Link Query Schema) multiStartsWith | |
skip | integer (iap_common-schema_skip) >= 0 Default: 0 Examples: skip=1 skip=10 skip=50 skip |
limit | integer (iap_common-schema_limit) >= 0 Default: 25 Examples: limit=1 limit=10 limit=50 limit |
sort | string (iap_common-schema_sort) Default: "name" Value: "name" sort |
order | integer (iap_common-schema_order) Default: 1 Enum: -1 1 order |
{- "results": {
- "name": "Google",
- "description": "A link to Google",
- "_meta": {
- "created": "2018-08-02T15:56:12.912Z",
- "updated": "2018-08-02T15:56:12.912Z"
}
}, - "total": 1
}
Create a link
request body
object (iap_links-schema) This is the schema for an IAP external link stored in Mongo |
{- "link": {
- "name": "Google",
- "description": "A link to Google",
- "_meta": {
- "created": "2018-08-02T15:56:12.912Z",
- "updated": "2018-08-02T15:56:12.912Z"
}
}
}
{- "status": "OK",
- "message": "A sample success message",
- "data": {
- "name": "Google",
- "description": "A link to Google",
- "_meta": {
- "created": "2018-08-02T15:56:12.912Z",
- "updated": "2018-08-02T15:56:12.912Z"
}
}
}
Get an individual link
linkId required | string (linkId) The id for the requested link. |
{- "name": "Google",
- "description": "A link to Google",
- "_meta": {
- "created": "2018-08-02T15:56:12.912Z",
- "updated": "2018-08-02T15:56:12.912Z"
}
}
Update a link
linkId required | string (linkId) The individual link to update. |
request body
object (updates) |
{- "updates": {
- "name": "Google",
- "description": "A link to Google"
}
}
{- "status": "OK",
- "message": "A sample success message",
- "data": {
- "name": "Google",
- "description": "A link to Google",
- "_meta": {
- "created": "2018-08-02T15:56:12.912Z",
- "updated": "2018-08-02T15:56:12.912Z"
}
}
}
Retrieve a project from Git
gitType required | string (iap_git-common_type) Enum: "GitHub" "GitLab" The name of the Git provider that is used |
repoPath required | string (repoPath) Examples: github-organization gitlabGroup%2FsubGroup The path in Git to the repository |
branchName required | string (branchName) Examples: main The name of the branch that is used. |
projectPath required | string (repoPath) Examples: directory%2Fproject.json example.json The file path within a Git repository to a project file |
{ }
Initialize a project in Git
gitType required | string (iap_git-common_type) Enum: "GitHub" "GitLab" The name of the Git provider that is used |
repoPath required | string (repoPath) Examples: github-organization gitlabGroup%2FsubGroup The path in Git to the repository |
branchName required | string (branchName) Examples: main The name of the branch that is used. |
projectPath required | string (repoPath) Examples: directory%2Fproject.json example.json The file path within a Git repository to a project file |
project required | object (project) The project document being pushed to Git |
request body
commitMessage | string (iap_git-common_commitMessage) The commit message sent to Git when updating a project |
{- "commitMessage": "This is an example commit message."
}
{- "message": "Successfully initialized project",
- "data": { }
}
Update a project in Git
gitType required | string (iap_git-common_type) Enum: "GitHub" "GitLab" The name of the Git provider that is used |
repoPath required | string (repoPath) Examples: github-organization gitlabGroup%2FsubGroup The path in Git to the repository |
branchName required | string (branchName) Examples: main The name of the branch that is used. |
projectPath required | string (repoPath) Examples: directory%2Fproject.json example.json The file path within a Git repository to a project file |
project required | object (project) The project document being pushed to Git |
request body
commitMessage | string (iap_git-common_commitMessage) The commit message sent to Git when updating a project |
{- "commitMessage": "This is an example commit message."
}
{- "message": "Successfully updated project",
- "data": { }
}
Create a new branch in a repository
gitType required | string (iap_git-common_type) Enum: "GitHub" "GitLab" The name of the Git provider that is used |
repoPath required | string (repoPath) Examples: github-organization gitlabGroup%2FsubGroup The path in Git to the repository |
request body
originBranch | string (iap_git-common_branchName) The name of the branch inside a Git repository |
newBranch | string (iap_git-common_branchName) The name of the branch inside a Git repository |
{- "originBranch": "main",
- "newBranch": "main"
}
{- "message": "Successfully created branch: exampleBranch"
}
List the available branches for a repository
gitType required | string (iap_git-common_type) Enum: "GitHub" "GitLab" The name of the Git provider that is used |
repoPath required | string (repoPath) Examples: github-organization gitlabGroup%2FsubGroup The path in Git to the repository |
[- {
- "name": "main",
- "protected": true
}
]
Create a new repository in Git for storing projects
gitType required | string (iap_git-common_type) Enum: "GitHub" "GitLab" The name of the Git provider that is used |
repoPath required | string (repoPath) Examples: github-organization gitlabGroup%2FsubGroup The path in Git to the repository |
request body
repoName | string (repoName) |
{- "repoName": "RepositoryName"
}
{- "message": "`Successfully created repository: ExampleRepo",
- "data": {
- "path": "group1/group2/ExampleRepo",
- "default_branch": "main",
- "visibility": "private"
}
}
Get all group mappings
multiContains | object multiContains |
multiEquals | object multiEquals |
multiStartsWith | object multiStartsWith |
expand | string (List of fields to get expanded data) Examples: expand=iapGroups Sets the fields to expand |
skip | integer (iap_common-schema_skip) >= 0 Default: 0 Examples: skip=1 skip=10 skip=50 skip |
limit | integer (iap_common-schema_limit) >= 0 Default: 25 Examples: limit=1 limit=10 limit=50 limit |
sort | string (iap_common-schema_sort) Default: "name" Value: "name" sort |
order | integer (iap_common-schema_order) Default: 1 Enum: -1 1 order |
{- "results": {
- "externalGroup": "string",
- "provenance": "Okta",
- "iapGroups": [
- "string"
]
}, - "total": 1
}
Create a group mapping
request body
object (iap_mapping-schema) This is the schema for an IAP group mapping stored in Mongo |
{- "groupMapping": {
- "externalGroup": "string",
- "provenance": "Okta",
- "iapGroups": [
- "string"
]
}
}
{- "status": "OK",
- "message": "A sample success message",
- "data": {
- "externalGroup": "string",
- "provenance": "Okta",
- "iapGroups": [
- "string"
]
}
}
Get an individual group mapping
provenance required | string (provenance) The provenance for the requested group mapping. |
externalGroup required | string (externalGroup) The name of the external group that is mapped. |
{- "externalGroup": "string",
- "provenance": "Okta",
- "iapGroups": [
- "string"
]
}
Update a group mapping
provenance required | string (provenance) The provenance for the requested group mapping. |
externalGroup required | string (externalGroup) The individual group mapping to update. |
request body
object (updates) |
{- "updates": {
- "iapGroups": [
- "string"
]
}
}
{- "status": "OK",
- "message": "A sample success message",
- "data": {
- "externalGroup": "string",
- "provenance": "Okta",
- "iapGroups": [
- "string"
]
}
}
Delete a group mapping
provenance required | string (provenance) The provenance for the requested group mapping. |
externalGroup required | string (externalGroup) The individual group mapping to delete. |
{- "status": "OK",
- "message": "A sample success message"
}
Get the health of a single adapter in IAP.
name required | string (Name) ^[^\/]+$ Default: "" Examples: Local AAA The name for the selected adapter. |
{- "id": "AdminEssentials",
- "package_id": "@itential/adapter-local_aaa",
- "version": "0.0.1",
- "type": "Adapter",
- "description": "A basic description",
- "state": "DEAD",
- "connection": { },
- "uptime": 2245.9722,
- "memoryUsage": {
- "rss": 7125982,
- "heapTotal": 7125982,
- "heapUsed": 7125982,
- "external": 7125982
}, - "cpuUsage": {
- "user": 7125982,
- "system": 7125982
}, - "pid": 7125982,
- "logger": {
- "console": "error",
- "file": "error",
- "syslog": "debug"
}, - "routePrefix": "admin",
- "prevUptime": 2245.9722
}
Get the health of a single application in IAP.
name required | string (Name) ^[^\/]+$ Default: "" Examples: Local AAA The name for the selected application. |
{- "id": "AdminEssentials",
- "package_id": "@itential/adapter-local_aaa",
- "version": "0.0.1",
- "type": "Adapter",
- "description": "A basic description",
- "state": "DEAD",
- "connection": { },
- "uptime": 2245.9722,
- "memoryUsage": {
- "rss": 7125982,
- "heapTotal": 7125982,
- "heapUsed": 7125982,
- "external": 7125982
}, - "cpuUsage": {
- "user": 7125982,
- "system": 7125982
}, - "pid": 7125982,
- "logger": {
- "console": "error",
- "file": "error",
- "syslog": "debug"
}, - "routePrefix": "admin",
- "prevUptime": 2245.9722
}
Get the health of all the adapters in IAP.
contains | string Examples: contains=redis contains |
containsField | string Examples: containsField=name containsField |
equals | string Examples: equals=redis equals |
equalsField | string Examples: equalsField=name equalsField |
startsWith | string Examples: startsWith=redis startsWith |
startsWithField | string Examples: startsWithField=name startsWithField |
skip | integer (iap_common-schema_skip) >= 0 Default: 0 Examples: skip=1 skip=10 skip=50 skip |
limit | integer (iap_common-schema_limit) >= 0 Default: 25 Examples: limit=1 limit=10 limit=50 limit |
sort | string (iap_common-schema_sort) Default: "name" Value: "name" sort |
order | integer (iap_common-schema_order) Default: 1 Enum: -1 1 order |
{- "results": [
- {
- "id": "AdminEssentials",
- "package_id": "@itential/adapter-local_aaa",
- "version": "0.0.1",
- "type": "Adapter",
- "description": "A basic description",
- "state": "DEAD",
- "connection": { },
- "uptime": 2245.9722,
- "memoryUsage": {
- "rss": 7125982,
- "heapTotal": 7125982,
- "heapUsed": 7125982,
- "external": 7125982
}, - "cpuUsage": {
- "user": 7125982,
- "system": 7125982
}, - "pid": 7125982,
- "logger": {
- "console": "error",
- "file": "error",
- "syslog": "debug"
}, - "routePrefix": "admin",
- "prevUptime": 2245.9722
}
], - "total": 1
}
Get the health of all the applications in IAP.
contains | string Examples: contains=redis contains |
containsField | string Examples: containsField=name containsField |
equals | string Examples: equals=redis equals |
equalsField | string Examples: equalsField=name equalsField |
startsWith | string Examples: startsWith=redis startsWith |
startsWithField | string Examples: startsWithField=name startsWithField |
skip | integer (iap_common-schema_skip) >= 0 Default: 0 Examples: skip=1 skip=10 skip=50 skip |
limit | integer (iap_common-schema_limit) >= 0 Default: 25 Examples: limit=1 limit=10 limit=50 limit |
sort | string (iap_common-schema_sort) Default: "name" Value: "name" sort |
order | integer (iap_common-schema_order) Default: 1 Enum: -1 1 order |
{- "results": [
- {
- "id": "AdminEssentials",
- "package_id": "@itential/adapter-local_aaa",
- "version": "0.0.1",
- "type": "Adapter",
- "description": "A basic description",
- "state": "DEAD",
- "connection": { },
- "uptime": 2245.9722,
- "memoryUsage": {
- "rss": 7125982,
- "heapTotal": 7125982,
- "heapUsed": 7125982,
- "external": 7125982
}, - "cpuUsage": {
- "user": 7125982,
- "system": 7125982
}, - "pid": 7125982,
- "logger": {
- "console": "error",
- "file": "error",
- "syslog": "debug"
}, - "routePrefix": "admin",
- "prevUptime": 2245.9722
}
], - "total": 1
}
Get the health of the server.
{- "version": "0.0.1",
- "release": "0.0.1",
- "arch": "arm",
- "platform": "aix",
- "versions": {
- "node": "0.0.1",
- "v8": "0.0.1",
- "uv": "0.0.1",
- "zlib": "0.0.1",
- "brotli": "0.0.1",
- "ares": "0.0.1",
- "modules": "0.0.1",
- "nghttp2": "0.0.1",
- "napi": "0.0.1",
- "llhttp": "0.0.1",
- "http_parser": "0.0.1",
- "openssl": "0.0.1",
- "cldr": "0.0.1",
- "icu": "0.0.1",
- "tz": "0.0.1",
- "unicode": "0.0.1"
}, - "memoryUsage": {
- "rss": 7125982,
- "heapTotal": 7125982,
- "heapUsed": 7125982,
- "external": 7125982
}, - "cpuUsage": {
- "user": 7125982,
- "system": 7125982
}, - "uptime": 2245.9722,
- "pid": 7125982,
- "dependencies": {
- "@itential/logger": "0.0.1",
- "@itential/database": "0.0.1",
- "@itential/itential-utils": "0.0.1"
}
}
Get the health of the system.
{- "arch": "x64",
- "release": "0.0.1",
- "uptime": 12539,
- "freemem": 14377422848,
- "totalmem": 34359738368,
- "loadavg": [
- 3.0166015625
], - "cpus": [
- {
- "model": "Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz",
- "speed": 2300,
- "times": {
- "user": 604790,
- "nice": 0,
- "sys": 322560,
- "idle": 6071010,
- "irq": 0
}
}
]
}
Get all pre-defined indexes to be used in Mongo.
application | string Examples: application=@itential/app-workflow_engine application |
{- "property1": [
- {
- "key": {
- "name": 1
}, - "name": "name_1",
- "background": true,
- "unique": true
}
], - "property2": [
- {
- "key": {
- "name": 1
}, - "name": "name_1",
- "background": true,
- "unique": true
}
]
}
Check the status of pre-defined indexes for a specific collection.
collection required | string (collection) The name of a collection in Mongo. |
{- "missing": [
- {
- "key": {
- "name": 1
}, - "name": "name_1",
- "background": true,
- "unique": true
}
], - "misnamed": [
- {
- "key": {
- "name": 1
}, - "name": "name_1",
- "background": true,
- "unique": true
}
], - "external": [
- {
- "key": {
- "name": 1
}, - "name": "name_1",
- "background": true,
- "unique": true
}
], - "indexed": 0,
- "total": 1,
- "collectionSize": 0,
- "inProgress": true
}
Check the status of pre-defined indexes for multiple collections.
Array of strings or string collections |
{- "property1": {
- "missing": [
- {
- "key": {
- "name": 1
}, - "name": "name_1",
- "background": true,
- "unique": true
}
], - "misnamed": [
- {
- "key": {
- "name": 1
}, - "name": "name_1",
- "background": true,
- "unique": true
}
], - "indexed": 0,
- "total": 1,
- "collectionSize": 0,
- "inProgress": true
}, - "property2": {
- "missing": [
- {
- "key": {
- "name": 1
}, - "name": "name_1",
- "background": true,
- "unique": true
}
], - "misnamed": [
- {
- "key": {
- "name": 1
}, - "name": "name_1",
- "background": true,
- "unique": true
}
], - "indexed": 0,
- "total": 1,
- "collectionSize": 0,
- "inProgress": true
}
}
Create all pre-defined indexes for a specific collection.
collection required | string (collection) The name of a collection in Mongo. |
{- "unchanged": 0,
- "changed": 0,
- "total": 1,
- "running": true
}
Create a new integration model in IAP.
request body
model | any (model) Refer to OpenAPI specifications for the structure of an OpenAPI document. |
{- "model": null
}
{- "status": "OK",
- "message": "A sample success message",
- "data": { }
}
Get all the integration models in IAP.
contains | string Examples: contains=git contains=hub contains=v5 Filter the response based on each item that includes the provided query. |
containsField | string Value: "versionId" containsField |
equals | string Examples: equals=GitHub:v5 Filter the response based on each item that is an exact match to the provided query. |
equalsField | string Value: "versionId" equalsField |
startsWith | string Examples: startsWith=g Filter the response based on each item that starts with the provided query. |
startsWithField | string Value: "versionId" startsWithField |
skip | integer (iap_common-schema_skip) >= 0 Default: 0 Examples: skip=1 skip=10 skip=50 skip |
limit | integer (iap_common-schema_limit) >= 0 Default: 25 Examples: limit=1 limit=10 limit=50 limit |
sort | string Value: "versionId" Field to sort by. Default is versionId. |
order | integer (iap_common-schema_order) Default: 1 Enum: -1 1 order |
{- "integrationModels": {
- "model": "@itential/adapter_GitHub:v5",
- "versionId": "GitHub:v5",
- "description": "A standard description about the integration model",
- "properties": { }
}, - "total": 1
}
Update an integration model in IAP.
request body
model | any (model) Refer to OpenAPI specifications for the structure of an OpenAPI document. |
{- "model": null
}
{- "status": "OK",
- "message": "A sample success message",
- "data": { }
}
Delete an integration model from IAP.
name required | string (name) Examples: GitHub:v5 The name of the integration model. |
{- "status": "OK",
- "message": "A sample success message"
}
Get a specific integration model in IAP.
name required | string (name) Examples: Gitlab:v5 The name of the integration model. |
{- "model": "@itential/adapter_GitHub:v5",
- "versionId": "GitHub:v5",
- "description": "A standard description about the integration model",
- "properties": { }
}
Projection simplification for exportIntegrationModel
name required | string (name) Examples: GitHub:v5 The name of the integration model. |
{ }
Validate an integration model.
request body
model | any (model) Refer to OpenAPI specifications for the structure of an OpenAPI document. |
{- "model": null
}
{- "status": "OK",
- "message": "string"
}
Create a new integration in IAP.
request body
object (properties) |
{- "properties": {
- "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_timezone_offset": -5,
- "log_level": "error",
- "console_level": "error",
- "metrics_filename": "metrics.log",
- "metrics_max_files": 31,
- "metrics_rotation_interval": "7d",
- "metrics_rotation_size": "10M",
- "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "isEncrypted": true,
- "model": "@itential/adapter-local_aaa",
- "name": "Local AAA",
- "type": "Application",
- "properties": { },
- "virtual": true
}
}
{- "status": "OK",
- "message": "A sample success message",
- "data": {
- "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_timezone_offset": -5,
- "log_level": "error",
- "console_level": "error",
- "metrics_filename": "metrics.log",
- "metrics_max_files": 31,
- "metrics_rotation_interval": "7d",
- "metrics_rotation_size": "10M",
- "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "isEncrypted": true,
- "profiling": true,
- "model": "@itential/adapter-local_aaa",
- "name": "Local AAA",
- "type": "Application",
- "properties": { },
- "virtual": true,
- "systemProps": {
- "maxOldSpaceSize": 2048
}, - "eventDeduplication": {
- "active": true,
- "cacheTtl": 10000,
- "uniqueProps": [
- "/messageId"
]
}
}
}
Get all integrations in IAP.
contains | string Examples: contains=GitHub contains |
containsField | string Examples: containsField=name containsField |
equals | string Examples: equals=GitHub equals |
equalsField | string Examples: equalsField=name equalsField |
startsWith | string Examples: startsWith=GitHub startsWith |
startsWithField | string Examples: startsWithField=name startsWithField |
skip | integer (iap_common-schema_skip) >= 0 Default: 0 Examples: skip=1 skip=10 skip=50 skip |
limit | integer (iap_common-schema_limit) >= 0 Default: 25 Examples: limit=1 limit=10 limit=50 limit |
sort | string (iap_common-schema_sort) Default: "name" Value: "name" sort |
order | integer (iap_common-schema_order) Default: 1 Enum: -1 1 order |
skipActiveSync | boolean Default: false skipActiveSync |
{- "results": [
- {
- "metadata": {
- "isActive": true,
- "activeSync": true
}, - "data": {
- "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_timezone_offset": -5,
- "log_level": "error",
- "console_level": "error",
- "metrics_filename": "metrics.log",
- "metrics_max_files": 31,
- "metrics_rotation_interval": "7d",
- "metrics_rotation_size": "10M",
- "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "isEncrypted": true,
- "profiling": true,
- "model": "@itential/adapter-local_aaa",
- "name": "Local AAA",
- "type": "Application",
- "properties": { },
- "virtual": true,
- "systemProps": {
- "maxOldSpaceSize": 2048
}, - "eventDeduplication": {
- "active": true,
- "cacheTtl": 10000,
- "uniqueProps": [
- "/messageId"
]
}
}
}
], - "total": 1
}
Delete an integration from IAP.
name required | string (Name) ^[^\/]+$ Default: "" Examples: Local AAA The name of the selected integration. |
{- "status": "OK",
- "message": "A sample success message"
}
Get a single integration in IAP.
name required | string (Name) ^[^\/]+$ Default: "" Examples: Local AAA The name of the selected integration. |
{- "metadata": {
- "isActive": true,
- "activeSync": true
}, - "data": {
- "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_timezone_offset": -5,
- "log_level": "error",
- "console_level": "error",
- "metrics_filename": "metrics.log",
- "metrics_max_files": 31,
- "metrics_rotation_interval": "7d",
- "metrics_rotation_size": "10M",
- "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "isEncrypted": true,
- "profiling": true,
- "model": "@itential/adapter-local_aaa",
- "name": "Local AAA",
- "type": "Application",
- "properties": { },
- "virtual": true,
- "systemProps": {
- "maxOldSpaceSize": 2048
}, - "eventDeduplication": {
- "active": true,
- "cacheTtl": 10000,
- "uniqueProps": [
- "/messageId"
]
}
}
}
Update an integration in IAP.
name required | string (Name) ^[^\/]+$ Default: "" Examples: Local AAA Contains the name for the selected integration. |
request body
object (properties) |
{- "properties": {
- "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_timezone_offset": -5,
- "log_level": "error",
- "console_level": "error",
- "metrics_filename": "metrics.log",
- "metrics_max_files": 31,
- "metrics_rotation_interval": "7d",
- "metrics_rotation_size": "10M",
- "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "isEncrypted": true,
- "type": "Application",
- "properties": { }
}
}
{- "status": "OK",
- "message": "A sample success message",
- "data": {
- "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_timezone_offset": -5,
- "log_level": "error",
- "console_level": "error",
- "metrics_filename": "metrics.log",
- "metrics_max_files": 31,
- "metrics_rotation_interval": "7d",
- "metrics_rotation_size": "10M",
- "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "isEncrypted": true,
- "profiling": true,
- "model": "@itential/adapter-local_aaa",
- "name": "Local AAA",
- "type": "Application",
- "properties": { },
- "virtual": true,
- "systemProps": {
- "maxOldSpaceSize": 2048
}, - "eventDeduplication": {
- "active": true,
- "cacheTtl": 10000,
- "uniqueProps": [
- "/messageId"
]
}
}
}
Initiates the Authorization Code exchange for an access token and stores the change
name required | string (Name) ^[^\/]+$ Default: "" Examples: Local AAA The name of the selected integration. |
request body
authorizationCode | string (authorizationCode) |
redirectUri | string (redirectUri) |
{- "authorizationCode": "string",
- "redirectUri": "string"
}
{ }
Update the properties of an integration in IAP.
name required | string (Name) ^[^\/]+$ Default: "" Examples: Local AAA The name for the selected integration. |
request body
properties | any (properties) |
{- "properties": null
}
{- "status": "OK",
- "message": "A sample success message",
- "data": {
- "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_timezone_offset": -5,
- "log_level": "error",
- "console_level": "error",
- "metrics_filename": "metrics.log",
- "metrics_max_files": 31,
- "metrics_rotation_interval": "7d",
- "metrics_rotation_size": "10M",
- "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "isEncrypted": true,
- "profiling": true,
- "model": "@itential/adapter-local_aaa",
- "name": "Local AAA",
- "type": "Application",
- "properties": { },
- "virtual": true,
- "systemProps": {
- "maxOldSpaceSize": 2048
}, - "eventDeduplication": {
- "active": true,
- "cacheTtl": 10000,
- "uniqueProps": [
- "/messageId"
]
}
}
}
Creates a new JSON form document with a unique name.
request body
name | string (name) |
description | string (description) |
object (json-forms_formStruct) | |
object (json-forms_formSchema_container) | |
object (json-forms_formUISchema_container) | |
bindingSchema | object (json-forms_formBindingSchema_bindingSchema) |
validationSchema | object (json-forms_formValidationSchema_validationSchema) |
{- "name": "Device Form",
- "description": "This form describes the connection information for a device.",
- "struct": {
- "nodeId": "kdWO-g4oS3GkzrbqDqCZUw",
- "projectId": "string",
- "type": "string",
- "items": [
- {
- "nodeId": "kdWO-g4oS3GkzrbqDqCZUw",
- "type": "string",
- "title": "Connection Information",
- "required": true,
- "options": { },
- "description": "This section describes the connection information for a device.",
- "helper": "Tooltip help message goes here",
- "items": [
- { }
], - "collapsed": true,
- "readOnly": true,
- "schemaOption": true,
- "combinationType": "string",
- "widget": "string",
- "uniqueItems": true,
- "minItems": 0,
- "maxItems": 0,
- "customKey": "string"
}
]
}, - "schema": {
- "_id": "string",
- "uniqueItems": true,
- "minItems": 0,
- "maxItems": 0,
- "type": "string",
- "title": "Connection Information",
- "description": "This form describes the connection information for a device.",
- "required": [
- "kdWO-g4oS3GkzrbqDqCZUw"
], - "readOnly": true,
- "options": { },
- "properties": { },
- "items": {
- "_id": "string",
- "type": "string",
- "required": [
- "string"
], - "readOnly": true,
- "properties": { }
}, - "anyOf": [
- { }
], - "oneOf": [
- { }
], - "allOf": [
- { }
]
}, - "uiSchema": { },
- "bindingSchema": { },
- "validationSchema": { }
}
{- "_id": "5cb5252a1bbc5a00def564c1",
- "created": "2019-04-16T00:43:22.038Z",
- "createdBy": "5cb08d4f16640f00182c3890",
- "lastUpdated": "2019-04-16T00:43:22.038Z",
- "lastUpdatedBy": "5cb08d4f16640f00182c3890",
- "name": "Device Form",
- "tags": [
- "5cb5252a1bbc5a00def564c1"
], - "description": "This form describes the connection information for a device.",
- "struct": {
- "nodeId": "kdWO-g4oS3GkzrbqDqCZUw",
- "projectId": "string",
- "type": "string",
- "items": [
- {
- "nodeId": "kdWO-g4oS3GkzrbqDqCZUw",
- "type": "string",
- "title": "Connection Information",
- "required": true,
- "options": { },
- "description": "This section describes the connection information for a device.",
- "helper": "Tooltip help message goes here",
- "items": [
- { }
], - "collapsed": true,
- "readOnly": true,
- "schemaOption": true,
- "combinationType": "string",
- "widget": "string",
- "uniqueItems": true,
- "minItems": 0,
- "maxItems": 0,
- "customKey": "string"
}
]
}, - "schema": {
- "_id": "string",
- "uniqueItems": true,
- "minItems": 0,
- "maxItems": 0,
- "type": "string",
- "title": "Connection Information",
- "description": "This form describes the connection information for a device.",
- "required": [
- "kdWO-g4oS3GkzrbqDqCZUw"
], - "readOnly": true,
- "options": { },
- "properties": { },
- "items": {
- "_id": "string",
- "type": "string",
- "required": [
- "string"
], - "readOnly": true,
- "properties": { }
}, - "anyOf": [
- { }
], - "oneOf": [
- { }
], - "allOf": [
- { }
]
}, - "uiSchema": { },
- "validationSchema": { },
- "bindingSchema": { },
- "version": "2020.1",
- "id": "5cb5252a1bbc5a00def564c1",
- "namespace": { }
}
Returns all JSON form documents that have previously been created.
[- {
- "id": "62bf2e8333385420ffe7bdd7",
- "createdBy": "admin@pronoghorn",
- "lastUpdatedBy": "admin@pronghorn",
- "struct": {
- "type": "object",
- "description": "",
- "items": [ ]
}, - "bindingSchema": { },
- "validationSchema": { },
- "tags": [ ],
- "created": "2022-07-01T17:27:31.335Z",
- "lastUpdated": "2022-07-01T17:27:31.335Z",
- "name": "form-name",
- "description": "",
- "schema": {
- "title": "form-name",
- "description": "",
- "type": "object",
- "required": [ ],
- "properties": { }
}, - "uiSchema": { },
- "version": "2022.1"
}
]
Delete a list of JSON Forms from IAP.
request body
ids | Array of strings (ids) |
{- "ids": [
- "5cb5252a1bbc5a00def564c1"
]
}
{- "status": "success",
- "n": 0
}
Finds a previously created JSON form, based on a supplied document ID.
id required | string (json-forms_formDocument_formId) Examples: 5cb5252a1bbc5a00def564c1 Unique name of the form |
{- "_id": "5cb5252a1bbc5a00def564c1",
- "created": "2019-04-16T00:43:22.038Z",
- "createdBy": "5cb08d4f16640f00182c3890",
- "lastUpdated": "2019-04-16T00:43:22.038Z",
- "lastUpdatedBy": "5cb08d4f16640f00182c3890",
- "name": "Device Form",
- "tags": [
- "5cb5252a1bbc5a00def564c1"
], - "description": "This form describes the connection information for a device.",
- "struct": {
- "nodeId": "kdWO-g4oS3GkzrbqDqCZUw",
- "projectId": "string",
- "type": "string",
- "items": [
- {
- "nodeId": "kdWO-g4oS3GkzrbqDqCZUw",
- "type": "string",
- "title": "Connection Information",
- "required": true,
- "options": { },
- "description": "This section describes the connection information for a device.",
- "helper": "Tooltip help message goes here",
- "items": [
- { }
], - "collapsed": true,
- "readOnly": true,
- "schemaOption": true,
- "combinationType": "string",
- "widget": "string",
- "uniqueItems": true,
- "minItems": 0,
- "maxItems": 0,
- "customKey": "string"
}
]
}, - "schema": {
- "_id": "string",
- "uniqueItems": true,
- "minItems": 0,
- "maxItems": 0,
- "type": "string",
- "title": "Connection Information",
- "description": "This form describes the connection information for a device.",
- "required": [
- "kdWO-g4oS3GkzrbqDqCZUw"
], - "readOnly": true,
- "options": { },
- "properties": { },
- "items": {
- "_id": "string",
- "type": "string",
- "required": [
- "string"
], - "readOnly": true,
- "properties": { }
}, - "anyOf": [
- { }
], - "oneOf": [
- { }
], - "allOf": [
- { }
]
}, - "uiSchema": { },
- "validationSchema": { },
- "bindingSchema": { },
- "version": "2020.1",
- "id": "5cb5252a1bbc5a00def564c1",
- "namespace": { }
}
Updates a previously created JSON form, based on a supplied document ID and an object of fields to update.
id required | string (json-forms_formDocument_formId) Examples: 5cb5252a1bbc5a00def564c1 The ID of the form. |
request body
object (json-forms_formDocument_form) |
{- "options": {
- "_id": "5cb5252a1bbc5a00def564c1",
- "created": "2019-04-16T00:43:22.038Z",
- "createdBy": "5cb08d4f16640f00182c3890",
- "lastUpdated": "2019-04-16T00:43:22.038Z",
- "lastUpdatedBy": "5cb08d4f16640f00182c3890",
- "name": "Device Form",
- "tags": [
- "5cb5252a1bbc5a00def564c1"
], - "description": "This form describes the connection information for a device.",
- "struct": {
- "nodeId": "kdWO-g4oS3GkzrbqDqCZUw",
- "projectId": "string",
- "type": "string",
- "items": [
- {
- "nodeId": "kdWO-g4oS3GkzrbqDqCZUw",
- "type": "string",
- "title": "Connection Information",
- "required": true,
- "options": { },
- "description": "This section describes the connection information for a device.",
- "helper": "Tooltip help message goes here",
- "items": [
- { }
], - "collapsed": true,
- "readOnly": true,
- "schemaOption": true,
- "combinationType": "string",
- "widget": "string",
- "uniqueItems": true,
- "minItems": 0,
- "maxItems": 0,
- "customKey": "string"
}
]
}, - "schema": {
- "_id": "string",
- "uniqueItems": true,
- "minItems": 0,
- "maxItems": 0,
- "type": "string",
- "title": "Connection Information",
- "description": "This form describes the connection information for a device.",
- "required": [
- "kdWO-g4oS3GkzrbqDqCZUw"
], - "readOnly": true,
- "options": { },
- "properties": { },
- "items": {
- "_id": "string",
- "type": "string",
- "required": [
- "string"
], - "readOnly": true,
- "properties": { }
}, - "anyOf": [
- { }
], - "oneOf": [
- { }
], - "allOf": [
- { }
]
}, - "uiSchema": { },
- "validationSchema": { },
- "bindingSchema": { },
- "version": "2020.1",
- "id": "5cb5252a1bbc5a00def564c1",
- "namespace": { }
}
}
{- "status": "success",
- "message": "Form updated"
}
Insert form documents into the forms collection from a user supplied JSON document.
request body
Array of objects (forms) |
{- "forms": [
- {
- "_id": "5cb5252a1bbc5a00def564c1",
- "created": "2019-04-16T00:43:22.038Z",
- "createdBy": "5cb08d4f16640f00182c3890",
- "lastUpdated": "2019-04-16T00:43:22.038Z",
- "lastUpdatedBy": "5cb08d4f16640f00182c3890",
- "name": "Device Form",
- "tags": [
- "5cb5252a1bbc5a00def564c1"
], - "description": "This form describes the connection information for a device.",
- "struct": {
- "nodeId": "kdWO-g4oS3GkzrbqDqCZUw",
- "projectId": "string",
- "type": "string",
- "items": [
- {
- "nodeId": "kdWO-g4oS3GkzrbqDqCZUw",
- "type": "string",
- "title": "Connection Information",
- "required": true,
- "options": { },
- "description": "This section describes the connection information for a device.",
- "helper": "Tooltip help message goes here",
- "items": [
- { }
], - "collapsed": true,
- "readOnly": true,
- "schemaOption": true,
- "combinationType": "string",
- "widget": "string",
- "uniqueItems": true,
- "minItems": 0,
- "maxItems": 0,
- "customKey": "string"
}
]
}, - "schema": {
- "_id": "string",
- "uniqueItems": true,
- "minItems": 0,
- "maxItems": 0,
- "type": "string",
- "title": "Connection Information",
- "description": "This form describes the connection information for a device.",
- "required": [
- "kdWO-g4oS3GkzrbqDqCZUw"
], - "readOnly": true,
- "options": { },
- "properties": { },
- "items": {
- "_id": "string",
- "type": "string",
- "required": [
- "string"
], - "readOnly": true,
- "properties": { }
}, - "anyOf": [
- { }
], - "oneOf": [
- { }
], - "allOf": [
- { }
]
}, - "uiSchema": { },
- "validationSchema": { },
- "bindingSchema": { },
- "version": "2020.1",
- "id": "5cb5252a1bbc5a00def564c1",
- "namespace": { }
}
]
}
{- "status": "success",
- "message": "2 forms imported successfully",
- "imported": [
- {
- "success": true,
- "message": "string",
- "original": {
- "_id": "5cb5252a1bbc5a00def564c1",
- "created": "2019-04-16T00:43:22.038Z",
- "createdBy": "5cb08d4f16640f00182c3890",
- "lastUpdated": "2019-04-16T00:43:22.038Z",
- "lastUpdatedBy": "5cb08d4f16640f00182c3890",
- "name": "Device Form",
- "description": "This form describes the connection information for a device."
}, - "created": { }
}
]
}
Retrieves the JSON schema for a given form ID and validates the supplied form data again it.
id required | string (json-forms_formDocument_formId) Examples: 5cb5252a1bbc5a00def564c1 Unique ID of the form |
request body
object (json-forms_formDocument_formData) |
{- "formData": { }
}
{- "status": 200,
- "validation": {
- "valid": true,
- "errors": [
- "string"
]
}, - "message": "Form data is valid."
}
Performs data validation, given a JSON schema and form data.
request body
boolean or object (json-forms_metaSchema) | |
object (json-forms_formDocument_formData) |
{- "jsonSchema": true,
- "data": { }
}
{- "status": 200,
- "validation": {
- "valid": true,
- "errors": [
- "string"
]
}, - "message": "Form data is valid."
}
onverts a list of YANG inputs into JSON Schemas
request body
yangData | Array of strings (yang) |
{- "yangData": [
- "module Test { list interface { key \"name\"; leaf name { type string; } } }"
]
}
[- { }
]
Decodes an encoded JSON Schema.
request body
jsonSchema | object (jsonSchema) |
{- "jsonSchema": { }
}
{ }
Cancels an action execution, if targeting a bulk action execution, all its child executions will also be canceled.
executionId required | string (MongoDB.ObjectId) ^[0-9a-fA-F]{24}$ Examples: 62a1f3d2ebedfc54e6e0065c executionId |
{- "message": "A server error occurred while processing this request",
- "data": {
- "_id": null,
- "modelId": null,
- "modelName": "string",
- "executionType": "individual",
- "instanceId": null,
- "instanceName": "string",
- "actionId": null,
- "actionName": "string",
- "actionType": null,
- "jobId": { },
- "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "progress": { },
- "status": "running",
- "errors": [
- {
- "message": "string",
- "origin": "preTransformation",
- "timestamp": "2019-08-24T14:15:22Z",
- "metadata": null,
- "stepId": "0a2f"
}
], - "initiator": null,
- "initiatorName": "string",
- "initialInstanceData": { },
- "finalInstanceData": { }
}, - "metadata": {
- "errors": [ ]
}
}
Creates a new instance group
required | lifecycle-manager_common_ObjectIdLikeString (string) or lifecycle-manager_common_name (string) (modelIdentifier) modelIdentifier |
instanceGroup
name required | string non-empty The name of the document |
description | string The description of the document |
modelId required | string^[0-9a-f]{24}$ A string which is formatted like an ObjectId, Distinct from an actual ObjectId. |
type | any Value: "manual" |
instances | Array of strings[ items^[0-9a-f]{24}$ ] |
{- "name": "myCoolDocumentName",
- "description": "Some helpful information about the document",
- "modelId": "string",
- "type": "dynamic",
- "filter": {
- "name": "string",
- "lastAction": [
- "import"
], - "created": {
- "before": "2019-08-24T14:15:22Z",
- "after": "2019-08-24T14:15:22Z"
}, - "updated": {
- "before": "2019-08-24T14:15:22Z",
- "after": "2019-08-24T14:15:22Z"
}
}
}
{- "message": "A server error occurred while processing this request",
- "data": {
- "createdBy": {
- "firstname": "string",
- "provenance": "string",
- "username": "string",
- "_id": "string"
}, - "created": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": {
- "firstname": "string",
- "provenance": "string",
- "username": "string",
- "_id": "string"
}, - "lastUpdated": "2019-08-24T14:15:22Z",
- "_id": "string",
- "name": "myCoolDocumentName",
- "description": "Some helpful information about the document",
- "modelId": "string",
- "type": "manual",
- "instances": [
- "string"
], - "lastAction": {
- "_id": null,
- "executionId": "string",
- "name": "Create",
- "type": "import",
- "status": "running"
}
}, - "metadata": {
- "errors": [ ]
}
}
Gets multiple instance groups
required | lifecycle-manager_common_ObjectIdLikeString (string) or lifecycle-manager_common_name (string) (modelIdentifier) modelIdentifier |
{- "message": "A server error occurred while processing this request",
- "data": [
- {
- "createdBy": {
- "firstname": "string",
- "provenance": "string",
- "username": "string",
- "_id": "string"
}, - "created": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": {
- "firstname": "string",
- "provenance": "string",
- "username": "string",
- "_id": "string"
}, - "lastUpdated": "2019-08-24T14:15:22Z",
- "_id": "string",
- "name": "myCoolDocumentName",
- "description": "Some helpful information about the document",
- "modelId": "string",
- "type": "manual",
- "instances": [
- "string"
], - "lastAction": {
- "_id": null,
- "executionId": "string",
- "name": "Create",
- "type": "import",
- "status": "running"
}
}
], - "metadata": {
- "errors": [ ],
- "skip": 0,
- "limit": 0,
- "total": 0,
- "nextPageSkip": 0,
- "previousPageSkip": 0,
- "currentPageSize": 0
}
}
Creates a new resource model
resourceModelData
name required | string The name of the resource model |
description | string Default: "" Free-form text describing the resource model |
schema | any A draft-07 JSON Schema which defines the validation applied to instances of the resource model |
Array of objects |
{- "name": "VLAN Service",
- "description": "This resource model represents something we use on a day-to-day basis.",
- "schema": null,
- "actions": [
- {
- "_id": null,
- "name": "Create",
- "type": "create",
- "preWorkflowJst": { },
- "postWorkflowJst": { },
- "workflow": { }
}
]
}
{- "message": "A server error occurred while processing this request",
- "data": {
- "_id": null,
- "name": "VLAN Service",
- "description": "This resource model represents something we use on a day-to-day basis.",
- "schema": null,
- "actions": [
- {
- "_id": null,
- "name": "Create",
- "type": "create",
- "preWorkflowJst": { },
- "postWorkflowJst": { },
- "workflow": { },
- "inputSchema": { },
- "outputSchema": { }
}
], - "created": null,
- "createdBy": null,
- "lastUpdated": null,
- "lastUpdatedBy": null
}, - "metadata": {
- "errors": [ ]
}
}
Searches resource models
{- "message": "A server error occurred while processing this request",
- "data": [
- {
- "_id": null,
- "name": "VLAN Service",
- "description": "This resource model represents something we use on a day-to-day basis.",
- "schema": null,
- "actions": [
- {
- "_id": null,
- "name": "Create",
- "type": "create",
- "preWorkflowJst": { },
- "postWorkflowJst": { },
- "workflow": { },
- "inputSchema": { },
- "outputSchema": { }
}
], - "created": null,
- "createdBy": null,
- "lastUpdated": null,
- "lastUpdatedBy": null
}
], - "metadata": {
- "errors": [ ],
- "skip": 0,
- "limit": 0,
- "total": 0,
- "nextPageSkip": 0,
- "previousPageSkip": 0,
- "currentPageSize": 0
}
}
Deletes an instance group
required | lifecycle-manager_common_ObjectIdLikeString (string) or lifecycle-manager_common_name (string) (modelIdentifier) modelIdentifier |
required | lifecycle-manager_common_ObjectIdLikeString (string) or lifecycle-manager_common_name (string) (groupIdentifier) groupIdentifier |
{- "message": "A server error occurred while processing this request",
- "data": "null",
- "metadata": {
- "errors": [ ]
}
}
Gets a single new instance group
required | lifecycle-manager_common_ObjectIdLikeString (string) or lifecycle-manager_common_name (string) (modelIdentifier) modelIdentifier |
required | lifecycle-manager_common_ObjectIdLikeString (string) or lifecycle-manager_common_name (string) (groupIdentifier) groupIdentifier |
{- "message": "A server error occurred while processing this request",
- "data": {
- "createdBy": {
- "firstname": "string",
- "provenance": "string",
- "username": "string",
- "_id": "string"
}, - "created": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": {
- "firstname": "string",
- "provenance": "string",
- "username": "string",
- "_id": "string"
}, - "lastUpdated": "2019-08-24T14:15:22Z",
- "_id": "string",
- "name": "myCoolDocumentName",
- "description": "Some helpful information about the document",
- "modelId": "string",
- "type": "manual",
- "instances": [
- "string"
], - "lastAction": {
- "_id": null,
- "executionId": "string",
- "name": "Create",
- "type": "import",
- "status": "running"
}
}, - "metadata": {
- "errors": [ ]
}
}
Updates a instance group
required | lifecycle-manager_common_ObjectIdLikeString (string) or lifecycle-manager_common_name (string) (modelIdentifier) modelIdentifier |
required | lifecycle-manager_common_ObjectIdLikeString (string) or lifecycle-manager_common_name (string) (groupIdentifier) groupIdentifier |
updates
name | string non-empty The name of the document |
description | string The description of the document |
modelId | string^[0-9a-f]{24}$ A string which is formatted like an ObjectId, Distinct from an actual ObjectId. |
type | any Value: "manual" |
instances | Array of strings[ items^[0-9a-f]{24}$ ] |
Array of strings or strings | |
Array of strings or strings |
{- "name": "myCoolDocumentName",
- "description": "Some helpful information about the document",
- "modelId": "string",
- "type": "dynamic",
- "filter": {
- "name": "string",
- "lastAction": [
- "import"
], - "created": {
- "before": "2019-08-24T14:15:22Z",
- "after": "2019-08-24T14:15:22Z"
}, - "updated": {
- "before": "2019-08-24T14:15:22Z",
- "after": "2019-08-24T14:15:22Z"
}
}, - "instancesToAdd": [
- "string"
], - "instancesToRemove": [
- "string"
]
}
{- "message": "A server error occurred while processing this request",
- "data": {
- "createdBy": {
- "firstname": "string",
- "provenance": "string",
- "username": "string",
- "_id": "string"
}, - "created": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": {
- "firstname": "string",
- "provenance": "string",
- "username": "string",
- "_id": "string"
}, - "lastUpdated": "2019-08-24T14:15:22Z",
- "_id": "string",
- "name": "myCoolDocumentName",
- "description": "Some helpful information about the document",
- "modelId": "string",
- "type": "manual",
- "instances": [
- "string"
], - "lastAction": {
- "_id": null,
- "executionId": "string",
- "name": "Create",
- "type": "import",
- "status": "running"
}
}, - "metadata": {
- "errors": [ ]
}
}
A resource model will not be deleted if it has associated instances. To override this behavior and delete the resource model along with any associated instances, set the 'delete-associated-instances' flag to 'true'.
id required | string (MongoDB.ObjectId) ^[0-9a-fA-F]{24}$ Examples: 62a1f3d2ebedfc54e6e0065c id |
request body
object (queryParameters) |
{- "queryParameters": {
- "delete-associated-instances": "string"
}
}
{- "message": "A server error occurred while processing this request",
- "data": "null",
- "metadata": {
- "errors": [ ]
}
}
Gets a resource model based on id
id required | string (MongoDB.ObjectId) ^[0-9a-fA-F]{24}$ Examples: 62a1f3d2ebedfc54e6e0065c The ObjectId of the resource model |
dereference | string dereference |
{- "message": "A server error occurred while processing this request",
- "data": {
- "_id": null,
- "name": "VLAN Service",
- "description": "This resource model represents something we use on a day-to-day basis.",
- "schema": null,
- "actions": [
- {
- "_id": null,
- "name": "Create",
- "type": "create",
- "preWorkflowJst": { },
- "postWorkflowJst": { },
- "workflow": { },
- "inputSchema": { },
- "outputSchema": { }
}
], - "created": null,
- "createdBy": null,
- "lastUpdated": null,
- "lastUpdatedBy": null
}, - "metadata": {
- "errors": [ ]
}
}
Updates a resource model
id required | string (MongoDB.ObjectId) ^[0-9a-fA-F]{24}$ Examples: 62a1f3d2ebedfc54e6e0065c id |
updates
{ }
{- "message": "A server error occurred while processing this request",
- "data": "null",
- "metadata": {
- "errors": [ ]
}
}
Performs edits to a resource model. This method exists to support specific resource edit activities required by the UI.
modelId required | string (MongoDB.ObjectId) ^[0-9a-fA-F]{24}$ Examples: 62a1f3d2ebedfc54e6e0065c Resource model ID |
properties
command required | string Enum: "generate-action-workflow" "generate-action-pre-transformation" "generate-action-post-transformation" Edit command to execute |
required | lifecycle-manager_resource-model-common_action-identifier (string) or lifecycle-manager_resource-model-common_action (string) Resource action ID or pending action definition |
overwrite | boolean Tells the component generator to either disregard and overwrite an existing component on the action (when true) or to refuse to generate a new component (when false). |
updateAction | boolean Tells the component generator to either update the action in the database (when true) or to only generate and return the new component (when false) |
{- "command": "generate-action-workflow",
- "action": "0a2f",
- "overwrite": true,
- "updateAction": true
}
{- "message": "A server error occurred while processing this request",
- "data": "null",
- "metadata": {
- "errors": [ ]
}
}
This method exports a resource instance.
required | lifecycle-manager_common_ObjectIdLikeString (string) or lifecycle-manager_common_name (string) (modelIdentifier) modelIdentifier |
required | lifecycle-manager_common_ObjectIdLikeString (string) or lifecycle-manager_common_name (string) (instanceIdentifier) instanceIdentifier |
{- "message": "A server error occurred while processing this request",
- "data": {
- "name": "VLAN Service",
- "description": "EC2 Instance in US-EAST-1 with ID ec2-12345678",
- "created": null,
- "createdBy": null,
- "lastUpdated": null,
- "lastUpdatedBy": null,
- "instanceData": { }
}, - "metadata": {
- "errors": [ ]
}
}
This method exports a resource model.
modelId required | string (MongoDB.ObjectId) ^[0-9a-fA-F]{24}$ Examples: 62a1f3d2ebedfc54e6e0065c modelId |
{- "message": "A server error occurred while processing this request",
- "data": {
- "_id": null,
- "name": "VLAN Service",
- "description": "This resource model represents something we use on a day-to-day basis.",
- "schema": null,
- "actions": [
- {
- "_id": null,
- "name": "Create",
- "type": "import",
- "preWorkflowJst": { },
- "workflow": { },
- "postWorkflowJst": { }
}
], - "created": null,
- "createdBy": null,
- "lastUpdated": null,
- "lastUpdatedBy": null
}, - "metadata": {
- "errors": [ ]
}
}
Gets a single action execution record
id required | string (MongoDB.ObjectId) ^[0-9a-fA-F]{24}$ Examples: 62a1f3d2ebedfc54e6e0065c id |
{- "message": "A server error occurred while processing this request",
- "data": {
- "_id": null,
- "modelId": null,
- "modelName": "string",
- "executionType": "individual",
- "instanceId": null,
- "instanceName": "string",
- "actionId": null,
- "actionName": "string",
- "actionType": null,
- "jobId": { },
- "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "progress": { },
- "status": "running",
- "errors": [
- {
- "message": "string",
- "origin": "preTransformation",
- "timestamp": "2019-08-24T14:15:22Z",
- "metadata": null,
- "stepId": "0a2f"
}
], - "initiator": null,
- "initiatorName": "string",
- "initialInstanceData": { },
- "finalInstanceData": { }
}, - "metadata": {
- "errors": [ ]
}
}
Searches resource action history documents
{- "message": "A server error occurred while processing this request",
- "data": [
- {
- "_id": null,
- "modelId": null,
- "modelName": "string",
- "executionType": "individual",
- "instanceId": null,
- "instanceName": "string",
- "actionId": null,
- "actionName": "string",
- "actionType": null,
- "jobId": { },
- "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "progress": { },
- "status": "running",
- "errors": [
- {
- "message": "string",
- "origin": "preTransformation",
- "timestamp": "2019-08-24T14:15:22Z",
- "metadata": null,
- "stepId": "0a2f"
}
], - "initiator": null,
- "initiatorName": "string",
- "initialInstanceData": { },
- "finalInstanceData": { }
}
], - "metadata": {
- "errors": [ ],
- "skip": 0,
- "limit": 0,
- "total": 0,
- "nextPageSkip": 0,
- "previousPageSkip": 0,
- "currentPageSize": 0
}
}
Gets a single resource instance
modelId required | string (MongoDB.ObjectId) ^[0-9a-fA-F]{24}$ Examples: 62a1f3d2ebedfc54e6e0065c modelId |
instanceId required | string (MongoDB.ObjectId) ^[0-9a-fA-F]{24}$ Examples: 62a1f3d2ebedfc54e6e0065c The identifier of the resource instance |
{- "message": "A server error occurred while processing this request",
- "data": {
- "_id": null,
- "name": "VLAN Service",
- "description": "EC2 Instance in US-EAST-1 with ID ec2-12345678",
- "modelId": null,
- "instanceData": { },
- "lastAction": {
- "_id": null,
- "executionId": null,
- "name": "Create",
- "type": "import",
- "status": "running"
}, - "created": null,
- "createdBy": null,
- "lastUpdated": null,
- "lastUpdatedBy": null,
- "instanceGroups": [
- {
- "_id": "string",
- "name": "myCoolDocumentName"
}
]
}, - "metadata": {
- "errors": [ ]
}
}
Updates the name
and description
fields of a resource instance
modelId required | string (MongoDB.ObjectId) ^[0-9a-fA-F]{24}$ Examples: 62a1f3d2ebedfc54e6e0065c modelId |
instanceId required | string (MongoDB.ObjectId) ^[0-9a-fA-F]{24}$ Examples: 62a1f3d2ebedfc54e6e0065c instanceId |
updates
name | string (lifecycle-manager_resource-instance-common_name) The name of the resource instance |
description | string (lifecycle-manager_resource-instance-common_description) Free-form text describing the resource instance |
{- "name": "VLAN Service",
- "description": "EC2 Instance in US-EAST-1 with ID ec2-12345678"
}
{- "message": "A server error occurred while processing this request",
- "data": {
- "_id": null,
- "name": "VLAN Service",
- "description": "EC2 Instance in US-EAST-1 with ID ec2-12345678",
- "modelId": null,
- "instanceData": { },
- "lastAction": {
- "_id": null,
- "executionId": null,
- "name": "Create",
- "type": "import",
- "status": "running"
}, - "created": null,
- "createdBy": null,
- "lastUpdated": null,
- "lastUpdatedBy": null,
- "instanceGroups": [
- {
- "_id": "string",
- "name": "myCoolDocumentName"
}
]
}, - "metadata": {
- "errors": [ ]
}
}
Searches resource instances
modelId required | string (MongoDB.ObjectId) ^[0-9a-fA-F]{24}$ Examples: 62a1f3d2ebedfc54e6e0065c modelId |
{- "message": "A server error occurred while processing this request",
- "data": [
- {
- "_id": null,
- "name": "VLAN Service",
- "description": "EC2 Instance in US-EAST-1 with ID ec2-12345678",
- "modelId": null,
- "instanceData": { },
- "lastAction": {
- "_id": null,
- "executionId": null,
- "name": "Create",
- "type": "import",
- "status": "running"
}, - "created": null,
- "createdBy": null,
- "lastUpdated": null,
- "lastUpdatedBy": null,
- "instanceGroups": [
- {
- "_id": "string",
- "name": "myCoolDocumentName"
}
]
}
], - "metadata": {
- "errors": [ ],
- "skip": 0,
- "limit": 0,
- "total": 0,
- "nextPageSkip": 0,
- "previousPageSkip": 0,
- "currentPageSize": 0
}
}
Imports an instance into a resource
required | lifecycle-manager_common_ObjectIdLikeString (string) or lifecycle-manager_common_name (string) (modelIdentifier) modelIdentifier |
instance
name required | string The name of the resource instance |
description required | string Default: "" Free-form text describing the resource instance |
created required | any An ISO date string denoting when this resource instance was created |
createdBy required | any The account identifier of the user who created this resource instance |
lastUpdated required | any An ISO date string denoting when this resource instance was last updated |
lastUpdatedBy required | any The account identifier of the user who last updated this resource instance |
required | object or null The data for the resource instance |
{- "name": "VLAN Service",
- "description": "EC2 Instance in US-EAST-1 with ID ec2-12345678",
- "created": null,
- "createdBy": null,
- "lastUpdated": null,
- "lastUpdatedBy": null,
- "instanceData": { }
}
{- "message": "A server error occurred while processing this request",
- "data": {
- "_id": null,
- "name": "VLAN Service",
- "description": "EC2 Instance in US-EAST-1 with ID ec2-12345678",
- "modelId": null,
- "instanceData": { },
- "lastAction": {
- "_id": null,
- "executionId": null,
- "name": "Create",
- "type": "import",
- "status": "running"
}, - "created": null,
- "createdBy": null,
- "lastUpdated": null,
- "lastUpdatedBy": null,
- "instanceGroups": [
- {
- "_id": "string",
- "name": "myCoolDocumentName"
}
]
}, - "metadata": {
- "errors": [ ]
}
}
Imports a resource model
importParameters
required | object |
overwrite | boolean |
{- "model": {
- "_id": null,
- "name": "VLAN Service",
- "description": "This resource model represents something we use on a day-to-day basis.",
- "schema": null,
- "actions": [
- {
- "_id": null,
- "name": "Create",
- "type": "import",
- "preWorkflowJst": { },
- "workflow": { },
- "postWorkflowJst": { }
}
], - "created": null,
- "createdBy": null,
- "lastUpdated": null,
- "lastUpdatedBy": null
}, - "overwrite": true
}
{- "message": "A server error occurred while processing this request",
- "data": {
- "_id": "62a1f3d2ebedfc54e6e0065c",
- "name": "VLAN Service"
}, - "metadata": {
- "errors": [ ]
}
}
Runs a resource action
modelId required | string (MongoDB.ObjectId) ^[0-9a-fA-F]{24}$ Examples: 62a1f3d2ebedfc54e6e0065c The ID of the Resource Model to run an action on |
options
actionId required | string (lifecycle-manager_resource-model-common_action-identifier) ^[0-9a-fA-F]{4}$ A 4-digit hexadecimal id |
string or lifecycle-manager_resource-instance-http (object) | |
instanceName | string (lifecycle-manager_resource-instance-common_name) The name of the resource instance |
instanceDescription | string (lifecycle-manager_resource-instance-common_description) Free-form text describing the resource instance |
object or null |
{- "actionId": "0a2f",
- "instance": "string",
- "instanceName": "VLAN Service",
- "instanceDescription": "EC2 Instance in US-EAST-1 with ID ec2-12345678",
- "inputs": { }
}
{- "message": "A server error occurred while processing this request",
- "data": "null",
- "metadata": {
- "errors": [ ]
}
}
Runs a resource action against multiple instances
required | lifecycle-manager_resource-model-common_name (string) or MongoDB.ObjectId (string) The ID of the Resource Model to run an action on. |
options
actionId required | string (lifecycle-manager_resource-model-common_action-identifier) ^[0-9a-fA-F]{4}$ A 4-digit hexadecimal id |
lifecycle-manager_common_ObjectIdLikeString (string) or lifecycle-manager_common_name (string) (groupIdentifier) | |
instances | Array of strings (lifecycle-manager_common_name) [ items non-empty ] |
object or null | |
Array of arrays or null |
{- "actionId": "0a2f",
- "group": "string",
- "instances": [
- "myCoolDocumentName"
], - "inputs": { },
- "inputOverrides": [ ]
}
{- "message": "A server error occurred while processing this request",
- "data": "null",
- "metadata": {
- "errors": [ ]
}
}
This method validates the actions on a resource model. Each validation report has an associate severity, and designates whether or not it will prevent the action from saving, prevent the model from running, or both. It accepts pending edits to actions in the optional 'actions' body parameter in order to check for validation issues on unsaved, pending changes to an action
modelId required | string (MongoDB.ObjectId) ^[0-9a-fA-F]{24}$ Examples: 62a1f3d2ebedfc54e6e0065c Resource model ID |
properties
Array of objects (lifecycle-manager_resource-model-common_actions) |
{- "actions": [
- {
- "_id": null,
- "name": "Create",
- "type": "import",
- "preWorkflowJst": { },
- "workflow": { },
- "postWorkflowJst": { }
}
]
}
{- "message": "A server error occurred while processing this request",
- "data": "null",
- "metadata": {
- "errors": [ ]
}
}
Export a single template
request body
options | object (options) |
type | string (type) Enum: "templates" "analytics" |
{- "options": {
- "_id": "mop_test_123"
}, - "type": "templates"
}
{- "_id": "ASR1K-MOP",
- "name": "ASR1K-MOP",
- "namespace": { },
- "os": "cisco-ios",
- "passRule": true,
- "commands": [
- {
- "command": "show running-config ip vrf",
- "passRule": true,
- "rules": [
- {
- "rule": "show version",
- "eval": "contains",
- "raw": "show version",
- "result": true
}
]
}
], - "created": 1508182880981,
- "createdBy": { },
- "lastUpdated": 1508182880981,
- "lastUpdatedBy": { }
}
Import a single template
request body
mop template (object) or mop analytic template (object) | |
type | string (type) Enum: "templates" "analytics" |
{- "template": {
- "_id": "ASR1K-MOP",
- "name": "ASR1K-MOP",
- "namespace": { },
- "os": "cisco-ios",
- "passRule": true,
- "commands": [
- {
- "command": "show running-config ip vrf",
- "passRule": true,
- "rules": [
- {
- "rule": "show version",
- "eval": "contains",
- "raw": "show version",
- "result": true
}
]
}
], - "created": 1508182880981,
- "createdBy": { },
- "lastUpdated": 1508182880981,
- "lastUpdatedBy": { }
}, - "type": "templates"
}
true
Get all Command Templates.
[- {
- "_id": "ASR1K-MOP",
- "name": "ASR1K-MOP",
- "namespace": { },
- "os": "cisco-ios",
- "passRule": true,
- "commands": [
- {
- "command": "show running-config ip vrf",
- "passRule": true,
- "rules": [
- {
- "rule": "show version",
- "eval": "contains",
- "raw": "show version",
- "result": true
}
]
}
], - "created": 1508182880981,
- "createdBy": { },
- "lastUpdated": 1508182880981,
- "lastUpdatedBy": { }
}
]
Get a Command Template by name.
name required | string (mop_mopTemplateDoc_name) Examples: ASR1K-MOP Name of the Command Template. |
[- {
- "_id": "ASR1K-MOP",
- "name": "ASR1K-MOP",
- "namespace": { },
- "os": "cisco-ios",
- "passRule": true,
- "commands": [
- {
- "command": "show running-config ip vrf",
- "passRule": true,
- "rules": [
- {
- "rule": "show version",
- "eval": "contains",
- "raw": "show version",
- "result": true
}
]
}
], - "created": 1508182880981,
- "createdBy": { },
- "lastUpdated": 1508182880981,
- "lastUpdatedBy": { }
}
]
Get an Analytic Template by name.
name required | string (mop_mopAnalyticTemplateDoc_name) Examples: ASR1K-MOP Name of the Analytic Template. |
[- {
- "_id": "ASR1K-MOP",
- "name": "ASR1K-MOP",
- "namespace": { },
- "os": "cisco-ios",
- "passRule": true,
- "prepostCommands": [
- {
- "preRawCommand": "show running-config ip prefix-list",
- "postRawCommand": "show running-config ip prefix-list",
- "passRule": true,
- "rules": [
- {
- "type": "regex",
- "preRegex": "",
- "postRegex": "",
- "evaluation": "="
}
], - "preCommandResHTML": "Test a command or the template to get results here",
- "postCommandResHTML": "Test a command or the template to get results here"
}
], - "created": 1508182880981,
- "createdBy": { },
- "lastUpdated": 1508182880981,
- "lastUpdatedBy": { }
}
]
Get all Analytic Templates.
[- {
- "_id": "ASR1K-MOP",
- "name": "ASR1K-MOP",
- "namespace": { },
- "os": "cisco-ios",
- "passRule": true,
- "prepostCommands": [
- {
- "preRawCommand": "show running-config ip prefix-list",
- "postRawCommand": "show running-config ip prefix-list",
- "passRule": true,
- "rules": [
- {
- "type": "regex",
- "preRegex": "",
- "postRegex": "",
- "evaluation": "="
}
], - "preCommandResHTML": "Test a command or the template to get results here",
- "postCommandResHTML": "Test a command or the template to get results here"
}
], - "created": 1508182880981,
- "createdBy": { },
- "lastUpdated": 1508182880981,
- "lastUpdatedBy": { }
}
]
Create a Command Template.
request body
object (mop_mopTemplateDoc) A mop template object |
{- "mop": {
- "_id": "ASR1K-MOP",
- "name": "ASR1K-MOP",
- "namespace": { },
- "os": "cisco-ios",
- "passRule": true,
- "commands": [
- {
- "command": "show running-config ip vrf",
- "passRule": true,
- "rules": [
- {
- "rule": "show version",
- "eval": "contains",
- "raw": "show version",
- "result": true
}
]
}
], - "created": 1508182880981,
- "createdBy": { },
- "lastUpdated": 1508182880981,
- "lastUpdatedBy": { }
}
}
{- "n": 1,
- "ok": 1,
- "nModified": 1
}
Create an Analytic Template.
request body
object (mop_mopAnalyticTemplateDoc) A mop analytic template object |
{- "template": {
- "_id": "ASR1K-MOP",
- "name": "ASR1K-MOP",
- "namespace": { },
- "os": "cisco-ios",
- "passRule": true,
- "prepostCommands": [
- {
- "preRawCommand": "show running-config ip prefix-list",
- "postRawCommand": "show running-config ip prefix-list",
- "passRule": true,
- "rules": [
- {
- "type": "regex",
- "preRegex": "",
- "postRegex": "",
- "evaluation": "="
}
], - "preCommandResHTML": "Test a command or the template to get results here",
- "postCommandResHTML": "Test a command or the template to get results here"
}
], - "created": 1508182880981,
- "createdBy": { },
- "lastUpdated": 1508182880981,
- "lastUpdatedBy": { }
}
}
{- "result": {
- "n": 1,
- "ok": 1
}, - "ops": [
- {
- "_id": "ASR1K-MOP",
- "name": "ASR1K-MOP",
- "namespace": { },
- "os": "cisco-ios",
- "passRule": true,
- "prepostCommands": [
- {
- "preRawCommand": "show running-config ip prefix-list",
- "postRawCommand": "show running-config ip prefix-list",
- "passRule": true,
- "rules": [
- {
- "type": "regex",
- "preRegex": "",
- "postRegex": "",
- "evaluation": "="
}
], - "preCommandResHTML": "Test a command or the template to get results here",
- "postCommandResHTML": "Test a command or the template to get results here"
}
], - "created": 1508182880981,
- "createdBy": { },
- "lastUpdated": 1508182880981,
- "lastUpdatedBy": { }
}
], - "insertedCount": 1,
- "insertedIds": {
- "0": "TestAnalysisTemp"
}
}
Delete a Command Template by ID.
id required | string (mop_mopTemplateDoc__id) Examples: ASR1K-MOP ID of the template to delete. |
{- "n": 1,
- "ok": 1,
- "nModified": 1
}
Delete an Analytic Template by ID.
id required | string (mop_mopAnalyticTemplateDoc__id) Examples: ASR1K-MOP ID of the Analytic Template to delete. |
{- "n": 1,
- "ok": 1,
- "nModified": 1
}
Update a Command Template by ID.
mopID required | string (mop_mopTemplateDoc_name) Examples: ASR1K-MOP ID of the Command Template to update. |
required | object (mop template) Command Template to update. |
{- "n": 1,
- "ok": 1,
- "nModified": 1
}
Update an Analytic Template by ID.
mopID required | string (mop_mopAnalyticTemplateDoc__id) Examples: ASR1K-MOP ID of the Analytic Template to update. |
request body
object (mop_mopAnalyticTemplateDoc) A mop analytic template object |
{- "template": {
- "_id": "ASR1K-MOP",
- "name": "ASR1K-MOP",
- "namespace": { },
- "os": "cisco-ios",
- "passRule": true,
- "prepostCommands": [
- {
- "preRawCommand": "show running-config ip prefix-list",
- "postRawCommand": "show running-config ip prefix-list",
- "passRule": true,
- "rules": [
- {
- "type": "regex",
- "preRegex": "",
- "postRegex": "",
- "evaluation": "="
}
], - "preCommandResHTML": "Test a command or the template to get results here",
- "postCommandResHTML": "Test a command or the template to get results here"
}
], - "created": 1508182880981,
- "createdBy": { },
- "lastUpdated": 1508182880981,
- "lastUpdatedBy": { }
}
}
{- "n": 1,
- "ok": 1,
- "nModified": 1
}
Run a command against devices.
request body
command | string (command) |
variables | object (mop_mopTemplateDoc_variables) |
devices | Array of strings (mop_mopTemplateDoc_devices) |
{- "command": "show version",
- "variables": {
- "device_name": "my-device1"
}, - "devices": [
- "Device 2"
]
}
[- {
- "raw": "show version",
- "all_pass_flag": true,
- "evaluated": "show version",
- "parameters": { },
- "rules": [
- {
- "rule": "show version",
- "eval": "contains",
- "raw": "show version",
- "result": true
}
], - "device": "device1",
- "response": "version: 10.0.0",
- "result": true
}
]
Run a command against a device.
request body
command | string (command) |
variables | object (mop_mopTemplateDoc_variables) |
device | string (mop_mopTemplateDoc_device) |
{- "command": "show version",
- "variables": {
- "device_name": "my-device1"
}, - "device": "device1"
}
{- "raw": "show version",
- "all_pass_flag": true,
- "evaluated": "show version",
- "parameters": { },
- "rules": [
- {
- "rule": "show version",
- "eval": "contains",
- "raw": "show version",
- "result": true
}
], - "device": "device1",
- "response": "version: 10.0.0",
- "result": true
}
Run a Command Template against devices.
request body
template | string (template) |
variables | object (mop_mopTemplateDoc_variables) |
devices | Array of strings (mop_mopTemplateDoc_devices) |
{- "template": "show version",
- "variables": {
- "device_name": "my-device1"
}, - "devices": [
- "Device 2"
]
}
{- "raw": "show version",
- "all_pass_flag": true,
- "evaluated": "show version",
- "parameters": { },
- "rules": [
- {
- "rule": "show version",
- "eval": "contains",
- "raw": "show version",
- "result": true
}
], - "device": "device1",
- "response": "version: 10.0.0",
- "result": true
}
Run a single command from a template on a devices.
request body
templateId | string (mop_mopTemplateDoc__id) |
commandIndex | integer (commandIndex) |
variables | object (mop_mopTemplateDoc_variables) |
devices | Array of strings (mop_mopTemplateDoc_devices) |
{- "templateId": "ASR1K-MOP",
- "commandIndex": 0,
- "variables": {
- "device_name": "my-device1"
}, - "devices": [
- "Device 2"
]
}
{- "raw": "show version",
- "all_pass_flag": true,
- "evaluated": "show version",
- "parameters": { },
- "rules": [
- {
- "rule": "show version",
- "eval": "contains",
- "raw": "show version",
- "result": true
}
], - "device": "device1",
- "response": "version: 10.0.0",
- "result": true
}
Get the boot flash image
request body
device | string (mop_mopTemplateDoc_device) |
{- "device": "device1"
}
"10011011"
Pass Through to execute direct device commands
device required | string (mop_mopTemplateDoc_device) Examples: device1 device |
request body
command | string (command) |
{- "command": "show version"
}
{ }
Get the devices with name matching the given options.
request body
object (mop_mopTemplateDoc_options) |
{- "options": {
- "start": 0,
- "limit": 25,
- "entity": "device1",
- "filter": "filter",
- "sort": [
- {
- "name": 1
}
]
}
}
[- {
- "name": "ASR1K-MOP",
- "authgroup": "csr-aws",
- "address": "127.0.0.1",
- "port": "12035",
- "device-type": "netconf",
- "ned": "nso46",
- "admin": true,
- "host": "Local Host",
- "groups": [
- "Group1"
]
}
]
Get the devices with name matching the given string. Also returns the number of results found and number returned
substring required | string (substring) Examples: tes String to filter devices |
{- "num_results": 0,
- "results": [
- "Device 2"
], - "total_results": 0
}
Find the diff of two config strings.
request body
value_a | string (value_a) |
value_b | string (value_b) |
{- "value_a": "any string",
- "value_b": "other string"
}
[- [
- {
- "count": 1,
- "value": "example string\n"
}, - {
- "count": 2,
- "removed": true,
- "value": "example string\nextra added line"
}
]
]
Generates a diff for the input. By default, the API call timeout is 5 minutes for the platform. If this API call needs additional time, it can be modified in the Express timeout property. The supported timeout range would be a minimum of 8 minutes for a 2MB payload and a maximum of 32 minutes for a 4MB payload.
request body
pre | Array of strings (pre) |
post | Array of strings (post) |
{- "pre": [
- "show version"
], - "post": [
- "show version"
]
}
{- "onlyPre": { },
- "diff": { },
- "onlyPost": { },
- "analytics": { }
}
Run an Analytic Template.
request body
object (pre) | |
object (post) | |
analytic_template_name | string (analytic_template_name) |
variables | object (mop_mopTemplateDoc_variables) |
{- "pre": {
- "command": "show version",
- "commands_results": "Cisco IOS Software, Version 1.2.3"
}, - "post": {
- "command": "show version",
- "commands_results": "Cisco IOS Software, Version 1.2.3"
}, - "analytic_template_name": "test",
- "variables": {
- "device_name": "my-device1"
}
}
{- "_id": "ASR1K-MOP",
- "name": "ASR1K-MOP",
- "namespace": { },
- "os": "cisco-ios",
- "passRule": true,
- "prepostCommands": [
- {
- "preRawCommand": "show running-config ip prefix-list",
- "postRawCommand": "show running-config ip prefix-list",
- "passRule": true,
- "rules": [
- {
- "type": "regex",
- "preRegex": "",
- "postRegex": "",
- "evaluation": "="
}
], - "preCommandResHTML": "Test a command or the template to get results here",
- "postCommandResHTML": "Test a command or the template to get results here"
}
], - "created": 1508182880981,
- "createdBy": { },
- "lastUpdated": 1508182880981,
- "lastUpdatedBy": { }
}
Run an Analytic Template for Devices.
request body
object (pre) | |
object (post) | |
analytic_template_name | string (analytic_template_name) |
variables | object (mop_mopTemplateDoc_variables) |
{- "pre": {
- "pre": {
- "commands_results": [
- { }
]
}
}, - "post": {
- "post": {
- "commands_results": [
- { }
]
}
}, - "analytic_template_name": "test",
- "variables": {
- "device_name": "my-device1"
}
}
{- "_id": "ASR1K-MOP",
- "name": "ASR1K-MOP",
- "namespace": { },
- "os": "cisco-ios",
- "passRule": true,
- "prepostCommands": [
- {
- "preRawCommand": "show running-config ip prefix-list",
- "postRawCommand": "show running-config ip prefix-list",
- "passRule": true,
- "rules": [
- {
- "type": "regex",
- "preRegex": "",
- "postRegex": "",
- "evaluation": "="
}
], - "preCommandResHTML": "Test a command or the template to get results here",
- "postCommandResHTML": "Test a command or the template to get results here"
}
], - "created": 1508182880981,
- "createdBy": { },
- "lastUpdated": 1508182880981,
- "lastUpdatedBy": { }
}
Workflow will follow reattempt task's outgoing transition after n minutes of delay.
request body
job_id | string (job_id) |
attemptID | string (attemptID) |
minutes | integer (minutes) |
attempts | integer (attempts) |
{- "job_id": "test",
- "attemptID": "test1234",
- "minutes": 1,
- "attempts": 2
}
"Success"
Create a service account in the database.
request body
object |
{- "accountData": {
- "name": "ExampleName",
- "description": "This is a service account for the external Example system"
}
}
{- "client_id": "5cb7b531d06cceb89fd21b1c",
- "client_secret": "d4c673d6-17f8-4e76-8034-a87820f96618"
}
Get service accounts from the database.
object multiContains | |
object multiEquals | |
object multiStartsWith | |
skip | integer (iap_common-schema_skip) >= 0 Default: 0 Examples: skip=1 skip=10 skip=50 skip |
limit | integer (iap_common-schema_limit) >= 0 Default: 25 Examples: limit=1 limit=10 limit=50 limit |
sort | string (iap_common-schema_sort) Default: "name" Value: "name" sort |
order | integer (iap_common-schema_order) Default: 1 Enum: -1 1 order |
{- "results": [
- {
- "name": "ExampleName",
- "description": "This is a service account for the external Example system",
- "client_id": "5cb7b531d06cceb89fd21b1c",
- "_meta": {
- "created": "2018-08-02T15:56:12.912Z",
- "createdBy": {
- "_id": "5cb7b531d06cceb89fd21b1c",
- "username": "username@itential"
}, - "updated": "2018-08-02T15:56:12.912Z",
- "updatedBy": {
- "_id": "5cb7b531d06cceb89fd21b1c",
- "username": "username@itential"
}, - "secretUpdated": "2018-08-02T15:56:12.912Z"
}
}
], - "total": 1
}
Updates a service account in the database.
client_id required | string (iap_service-accounts-schema_clientId) ^[0-9a-f]{24}$ Examples: 5cb7b531d06cceb89fd21b1c The clientId for the service account |
request body
object (updates) |
{- "updates": {
- "description": "This is a service account for the external Example system"
}
}
{- "status": "OK",
- "message": "A sample success message",
- "data": {
- "description": "This is a service account for the external Example system"
}
}
Deletes a service account in the database.
client_id required | string (iap_service-accounts-schema_clientId) ^[0-9a-f]{24}$ Examples: 5cb7b531d06cceb89fd21b1c The clientId for the service account |
{- "status": "OK",
- "message": "A sample success message"
}
Regenerates the client_secret and returns the new value
client_id required | string (iap_service-accounts-schema_clientId) ^[0-9a-f]{24}$ Examples: 5cb7b531d06cceb89fd21b1c The clientId for the service account |
{- "client_id": "5cb7b531d06cceb89fd21b1c",
- "client_secret": "d4c673d6-17f8-4e76-8034-a87820f96618"
}
Retrieve a JWT from a client's credentials
request body
client_id | string (iap_service-accounts-schema_clientId) ^[0-9a-f]{24}$ String representation of a MongoDB ObjectId |
client_secret | string (iap_service-accounts-schema_clientSecret) Uuid representation of client secret |
grant_type | string Value: "client_credentials" |
{- "access_token": "string",
- "token_type": "bearer",
- "expires_in": 3600
}
Clone an Automation.
automation
id | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ A string which is formatted like an ObjectId, Distinct from an actual ObjectId. |
null or operations-manager_common_name (string) An optional name to use for the clone. |
{- "id": "string",
- "name": { }
}
{- "message": "Successfully created the requested item",
- "data": {
- "name": "Cisco IOS upgrade",
- "description": "Turn up the port",
- "componentType": "workflows",
- "createdBy": "admin@pronghorn",
- "created": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": "admin@pronghorn",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "_id": "string",
- "gbac": {
- "write": [
- "string"
], - "read": [
- "string"
]
}, - "componentId": "string",
- "componentName": "addDuration"
}, - "metadata": {
- "automaticChanges": [
- "Disabled trigger 628672e8f677b67b3b0f20d7"
], - "triggerCloneResults": {
- "message": "Imported 3 of 3 document(s).",
- "metadata": { },
- "data": [
- {
- "success": true,
- "data": {
- "name": "Cisco IOS upgrade",
- "description": "Turn up the port",
- "enabled": true,
- "actionType": "automations",
- "actionId": "string",
- "options": {
- "targetType": "instance",
- "targetIdentifier": "string",
- "chooseTargetAtRuntime": true,
- "actionId": "0a2f"
}, - "lastExecuted": 0,
- "migrationVersion": 1,
- "createdBy": "admin@pronghorn",
- "created": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": "admin@pronghorn",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "type": "endpoint",
- "verb": "POST",
- "routeName": "runSoftwareUpgrade",
- "schema": { },
- "_id": "string",
- "jst": "string"
}, - "automaticChanges": [
- "Disabled trigger 628672e8f677b67b3b0f20d7"
]
}
]
}
}
}
Create a new Automation.
automation
name required | string non-empty The name of the document |
description | string The description of the document |
"workflows" (any) or "ucm_compliance_plans" (any) or "resource_models" (any) or null The type of component linked to this Automation. | |
object | |
string or string or null or "" (any) The id of the component linked to this Automation. |
{- "name": "Cisco IOS upgrade",
- "description": "Turn up the port",
- "componentType": "workflows",
- "gbac": {
- "write": [
- "string"
], - "read": [
- "string"
]
}, - "componentId": "string"
}
{- "message": "Successfully created the requested item",
- "data": {
- "name": "Cisco IOS upgrade",
- "description": "Turn up the port",
- "componentType": "workflows",
- "createdBy": "Pronghorn",
- "created": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": "Pronghorn",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "_id": "string",
- "gbac": {
- "write": [
- "string"
], - "read": [
- "string"
]
}, - "componentId": "string"
}, - "metadata": { }
}
Search the Automation collection.
{- "message": "Successfully created the requested item",
- "data": [
- {
- "name": "Cisco IOS upgrade",
- "description": "Turn up the port",
- "componentType": "workflows",
- "createdBy": "admin@pronghorn",
- "created": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": "admin@pronghorn",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "_id": "string",
- "gbac": {
- "write": [
- "string"
], - "read": [
- "string"
]
}, - "componentId": "string",
- "componentName": "addDuration"
}
], - "metadata": {
- "skip": 0,
- "limit": 0,
- "total": 0,
- "nextPageSkip": { },
- "previousPageSkip": { },
- "currentPageSize": 0
}
}
Import Automations.
request body
Array of objects (automations) | |
object (options) |
{- "automations": [
- {
- "name": "Cisco IOS upgrade",
- "description": "Turn up the port",
- "componentType": "workflows",
- "createdBy": "admin@pronghorn",
- "created": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": "admin@pronghorn",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "_id": "string",
- "gbac": {
- "write": [
- {
- "provenance": "ldap",
- "name": "operators",
- "description": "Description of a group"
}
], - "read": [
- {
- "provenance": "ldap",
- "name": "operators",
- "description": "Description of a group"
}
]
}, - "triggers": [
- {
- "name": "Cisco IOS upgrade",
- "description": "Turn up the port",
- "enabled": true,
- "actionType": "automations",
- "actionId": "string",
- "options": {
- "targetType": "instance",
- "targetIdentifier": "string",
- "chooseTargetAtRuntime": true,
- "actionId": "0a2f"
}, - "lastExecuted": 0,
- "migrationVersion": 1,
- "type": "endpoint",
- "verb": "POST",
- "routeName": "runSoftwareUpgrade",
- "schema": { },
- "createdBy": "admin@pronghorn",
- "created": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": "admin@pronghorn",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "_id": "string",
- "jst": { }
}
], - "componentName": "addDuration"
}
], - "options": {
- "adapterMap": {
- "staging": "production"
}
}
}
{- "message": "Successfully created the requested item",
- "data": [
- {
- "success": true,
- "data": {
- "name": "Cisco IOS upgrade",
- "description": "Turn up the port",
- "componentType": "workflows",
- "createdBy": "Pronghorn",
- "created": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": "Pronghorn",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "_id": "string",
- "gbac": {
- "write": [
- "string"
], - "read": [
- "string"
]
}, - "componentId": "string"
}
}
], - "metadata": { }
}
Delete an Automation.
id required | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ The id of the Automation to delete. |
{- "message": "Successfully created the requested item",
- "data": null,
- "metadata": { }
}
Get an Automation.
id required | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ The id of the Automation to get. |
{- "message": "Successfully created the requested item",
- "data": {
- "name": "Cisco IOS upgrade",
- "description": "Turn up the port",
- "componentType": "workflows",
- "createdBy": "admin@pronghorn",
- "created": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": "admin@pronghorn",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "_id": "string",
- "gbac": {
- "write": [
- "string"
], - "read": [
- "string"
]
}, - "componentId": "string",
- "componentName": "addDuration"
}, - "metadata": { }
}
Update an Automation.
id required | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ The id of the Automation to update. |
updates
name | string non-empty The name of the document |
description | string The description of the document |
"workflows" (any) or "ucm_compliance_plans" (any) or "resource_models" (any) or null The type of component linked to this Automation. | |
object | |
string or string or null or "" (any) The id of the component linked to this Automation. |
{- "name": "Cisco IOS upgrade",
- "description": "Turn up the port",
- "componentType": "workflows",
- "gbac": {
- "write": [
- "string"
], - "read": [
- "string"
]
}, - "componentId": "string"
}
{- "message": "Successfully created the requested item",
- "data": {
- "name": "Cisco IOS upgrade",
- "description": "Turn up the port",
- "componentType": "workflows",
- "createdBy": "Pronghorn",
- "created": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": "Pronghorn",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "_id": "string",
- "gbac": {
- "write": [
- "string"
], - "read": [
- "string"
]
}, - "componentId": "string"
}, - "metadata": { }
}
Export an Automation.
id required | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ The id of the Automation to export. |
{- "message": "Successfully created the requested item",
- "data": {
- "name": "Cisco IOS upgrade",
- "description": "Turn up the port",
- "componentType": "workflows",
- "createdBy": "admin@pronghorn",
- "created": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": "admin@pronghorn",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "_id": "string",
- "gbac": {
- "write": [
- {
- "provenance": "ldap",
- "name": "operators",
- "description": "Description of a group"
}
], - "read": [
- {
- "provenance": "ldap",
- "name": "operators",
- "description": "Description of a group"
}
]
}, - "triggers": [
- {
- "name": "Cisco IOS upgrade",
- "description": "Turn up the port",
- "enabled": true,
- "actionType": "automations",
- "actionId": "string",
- "options": {
- "targetType": "instance",
- "targetIdentifier": "string",
- "chooseTargetAtRuntime": true,
- "actionId": "0a2f"
}, - "lastExecuted": 0,
- "migrationVersion": 1,
- "type": "endpoint",
- "verb": "POST",
- "routeName": "runSoftwareUpgrade",
- "schema": { },
- "createdBy": "admin@pronghorn",
- "created": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": "admin@pronghorn",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "_id": "string",
- "jst": { }
}
], - "componentName": "addDuration"
}, - "metadata": { }
}
Search the Trigger collection.
contains | string Examples: contains=event the value for a contains query. if the property with the key of containsField does not have a value that contains this string, then filter out the document |
containsField | string Examples: containsField=name the field to run a contains query on |
equals | string Examples: equals=my event trigger the value for an equals query. if the property with the key of equalsField does not have a value that equals this string, then filter out the document |
equalsField | string Examples: equalsField=name the field to run an equals query on |
startsWith | string Examples: startsWith=my the value for a startsWith query. if the property with the key of startsWithField does not have a value that starts with this string, then filter out the document |
startsWithField | string Examples: startsWithField=name the field to run a startsWith query on |
greaterThanField | string Examples: greaterThanField=lastExecuted the field to run a greater than query on |
greaterThan | string Examples: greaterThan=04/06/2021 greaterThan=Thu Dec 03 2020 14:55:00 GMT-0500 (Eastern Standard Time) greaterThan=2020-12-03T19:55:43.189Z greaterThan=1617681600000 the value to use for the greater than query. If the value is a valid date string, then it will be converted to a unix timestamp in milliseconds |
lessThanField | string Examples: lessThanField=lastExecuted the field to run a less than query on |
lessThan | string Examples: lessThan=04/06/2021 lessThan=Thu Nov 15 2018 01:30:00 GMT-0500 (Eastern Standard Time) lessThan=2020-12-03T19:55:43.189Z lessThan=1615611600000 the value to use for the less than query. If the value is a valid date string, then it will be converted to a unix timestamp in milliseconds |
enabled | boolean if true, then only return trigger documents that are enabled |
actionId | string if provided, only return trigger documents with this action id |
limit | integer >= 0 Default: 25 Examples: limit=1 limit=10 limit=50 Number of results to return. Used for pagination. |
skip | integer >= 0 Default: 0 Examples: skip=1 skip=10 skip=50 Number of results to skip. Used for pagination. |
order | integer Default: 1 Enum: -1 1 The sort direction: 1 for ascending or -1 for descending. |
sort | string Default: "name" Value: "name" Field to sort by. Default is name. |
{- "message": "Successfully created the requested item",
- "data": [
- {
- "name": "Cisco IOS upgrade",
- "description": "Turn up the port",
- "enabled": true,
- "actionType": "automations",
- "actionId": "string",
- "options": {
- "targetType": "instance",
- "targetIdentifier": "string",
- "chooseTargetAtRuntime": true,
- "actionId": "0a2f"
}, - "lastExecuted": 0,
- "migrationVersion": 1,
- "createdBy": "admin@pronghorn",
- "created": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": "admin@pronghorn",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "type": "endpoint",
- "verb": "POST",
- "routeName": "runSoftwareUpgrade",
- "schema": { },
- "_id": "string",
- "jst": "string"
}
], - "metadata": { }
}
Create a new Trigger.
trigger
name required | string non-empty The name of the document |
description | string The description of the document |
enabled | boolean A flag to determine if this Trigger is enabled or not. |
actionType | string Value: "automations" The type of component this Trigger will invoke. |
actionId | string^[0-9a-f]{24}$ A string which is formatted like an ObjectId, Distinct from an actual ObjectId. |
object Configuration options specific to this trigger. | |
integer or null A timestamp in milliseconds of the time this Trigger was last executed. | |
migrationVersion | integer The current document version of this document. |
"Pronghorn" (any) or string | |
created | string <date-time> An ISO 8601 date string |
"Pronghorn" (any) or string | |
lastUpdated | string <date-time> An ISO 8601 date string |
type required | any Value: "endpoint" |
verb | any Value: "POST" |
routeName required | string^[a-zA-Z0-9_-]+$ User defined route name. |
object or null POST body filter schema. | |
string or null |
{- "name": "Cisco IOS upgrade",
- "description": "Turn up the port",
- "enabled": true,
- "actionType": "automations",
- "actionId": "string",
- "options": {
- "targetType": "instance",
- "targetIdentifier": "string",
- "chooseTargetAtRuntime": true,
- "actionId": "0a2f"
}, - "lastExecuted": 0,
- "migrationVersion": 1,
- "createdBy": "Pronghorn",
- "created": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": "Pronghorn",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "type": "endpoint",
- "verb": "POST",
- "routeName": "runSoftwareUpgrade",
- "schema": { },
- "jst": "string"
}
{- "message": "Successfully created the requested item",
- "data": {
- "name": "Cisco IOS upgrade",
- "description": "Turn up the port",
- "enabled": true,
- "actionType": "automations",
- "actionId": "string",
- "options": {
- "targetType": "instance",
- "targetIdentifier": "string",
- "chooseTargetAtRuntime": true,
- "actionId": "0a2f"
}, - "lastExecuted": 0,
- "migrationVersion": 1,
- "createdBy": "Pronghorn",
- "created": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": "Pronghorn",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "_id": "string"
}, - "metadata": { }
}
Import Triggers.
request body
Array of Endpoint Trigger (object) or EventSystem Trigger (object) or Manual Trigger (object) or (object or objects or objects) (triggers) | |
object (options) |
{- "triggers": [
- {
- "name": "Cisco IOS upgrade",
- "description": "Turn up the port",
- "enabled": true,
- "actionType": "automations",
- "actionId": "string",
- "options": {
- "targetType": "instance",
- "targetIdentifier": "string",
- "chooseTargetAtRuntime": true,
- "actionId": "0a2f"
}, - "lastExecuted": 0,
- "migrationVersion": 1,
- "type": "endpoint",
- "verb": "POST",
- "routeName": "runSoftwareUpgrade",
- "schema": { },
- "createdBy": "admin@pronghorn",
- "created": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": "admin@pronghorn",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "_id": "string",
- "jst": { }
}
], - "options": {
- "adapterMap": {
- "staging": "production"
}
}
}
{- "message": "Successfully created the requested item",
- "data": [
- {
- "success": true,
- "data": {
- "name": "Cisco IOS upgrade",
- "description": "Turn up the port",
- "enabled": true,
- "actionType": "automations",
- "actionId": "string",
- "options": {
- "targetType": "instance",
- "targetIdentifier": "string",
- "chooseTargetAtRuntime": true,
- "actionId": "0a2f"
}, - "lastExecuted": 0,
- "migrationVersion": 1,
- "createdBy": "Pronghorn",
- "created": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": "Pronghorn",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "_id": "string"
}
}
], - "metadata": { }
}
Get a Trigger.
id required | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ The id of the Trigger to get. |
{- "message": "Successfully created the requested item",
- "data": {
- "name": "Cisco IOS upgrade",
- "description": "Turn up the port",
- "enabled": true,
- "actionType": "automations",
- "actionId": "string",
- "options": {
- "targetType": "instance",
- "targetIdentifier": "string",
- "chooseTargetAtRuntime": true,
- "actionId": "0a2f"
}, - "lastExecuted": 0,
- "migrationVersion": 1,
- "createdBy": "admin@pronghorn",
- "created": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": "admin@pronghorn",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "type": "endpoint",
- "verb": "POST",
- "routeName": "runSoftwareUpgrade",
- "schema": { },
- "_id": "string",
- "jst": "string"
}, - "metadata": { }
}
Update a Trigger.
id required | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ The id of the Trigger to update. |
updates
name | string non-empty The name of the document |
description | string The description of the document |
enabled | boolean A flag to determine if this Trigger is enabled or not. |
actionType | string Value: "automations" The type of component this Trigger will invoke. |
actionId | string^[0-9a-f]{24}$ A string which is formatted like an ObjectId, Distinct from an actual ObjectId. |
object Configuration options specific to this trigger. | |
integer or null A timestamp in milliseconds of the time this Trigger was last executed. | |
migrationVersion | integer The current document version of this document. |
type | any Value: "endpoint" |
verb | any Value: "POST" |
routeName | string^[a-zA-Z0-9_-]+$ User defined route name. |
object or null POST body filter schema. | |
string or null |
{- "name": "Cisco IOS upgrade",
- "description": "Turn up the port",
- "enabled": true,
- "actionType": "automations",
- "actionId": "string",
- "options": {
- "targetType": "instance",
- "targetIdentifier": "string",
- "chooseTargetAtRuntime": true,
- "actionId": "0a2f"
}, - "lastExecuted": 0,
- "migrationVersion": 1,
- "type": "endpoint",
- "verb": "POST",
- "routeName": "runSoftwareUpgrade",
- "schema": { },
- "jst": "string"
}
{- "message": "Successfully created the requested item",
- "data": {
- "name": "Cisco IOS upgrade",
- "description": "Turn up the port",
- "enabled": true,
- "actionType": "automations",
- "actionId": "string",
- "options": {
- "targetType": "instance",
- "targetIdentifier": "string",
- "chooseTargetAtRuntime": true,
- "actionId": "0a2f"
}, - "lastExecuted": 0,
- "migrationVersion": 1,
- "createdBy": "Pronghorn",
- "created": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": "Pronghorn",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "_id": "string"
}, - "metadata": { }
}
Delete a Trigger.
id required | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ The id of the Trigger to delete. |
{- "message": "Successfully created the requested item",
- "data": null,
- "metadata": { }
}
Deletes all Triggers associated with the provided Automation id.
id required | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ The id of the parent Automation. |
{- "message": "Successfully created the requested item",
- "data": null,
- "metadata": { }
}
Export a Trigger.
id required | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ The id of the Trigger to export. |
{- "message": "Successfully created the requested item",
- "data": {
- "name": "Cisco IOS upgrade",
- "description": "Turn up the port",
- "enabled": true,
- "actionType": "automations",
- "actionId": "string",
- "options": {
- "targetType": "instance",
- "targetIdentifier": "string",
- "chooseTargetAtRuntime": true,
- "actionId": "0a2f"
}, - "lastExecuted": 0,
- "migrationVersion": 1,
- "type": "endpoint",
- "verb": "POST",
- "routeName": "runSoftwareUpgrade",
- "schema": { },
- "createdBy": "admin@pronghorn",
- "created": "2019-08-24T14:15:22Z",
- "lastUpdatedBy": "admin@pronghorn",
- "lastUpdated": "2019-08-24T14:15:22Z",
- "_id": "string",
- "jst": { }
}, - "metadata": { }
}
Export large data for a job or task variable
id required | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ The id of the job_data document in GridFS |
null
Search the system events that can be used in an event Trigger.
source | string (operations-manager_eventSystem-trigger-common_source) Examples: source=@itential/app-operations_manager source |
topic | string (operations-manager_eventSystem-trigger-common_topic) Examples: topic=missedJobs topic |
{- "message": "Successfully created the requested item",
- "data": [
- {
- "source": "@itential/app-operations_manager",
- "topic": "missedJobs"
}
], - "metadata": { }
}
Get an event definition.
source required | string (operations-manager_eventSystem-trigger-common_source) Examples: @itential/app-operations_manager source |
topic required | string (operations-manager_eventSystem-trigger-common_topic) Examples: missedJobs topic |
{- "source": "@itential/app-operations_manager",
- "topic": "missedJobs",
- "definition": { }
}
Runs the Automation associated with the API Trigger.
routeName required | string (routeName) The routeName of the API Trigger. |
body
property name* additional property | any |
{ }
{- "message": "Successfully created the requested item",
- "data": {
- "_id": "string",
- "font_size": 12,
- "type": "automation",
- "created": "2019-08-24T14:15:22Z",
- "last_updated": "2019-08-24T14:15:22Z",
- "createdVersion": "5.55.5",
- "lastUpdatedVersion": "5.55.6",
- "canvasVersion": 1,
- "encodingVersion": 1,
- "migrationVersion": 1,
- "name": "Cisco IOS upgrade",
- "description": "Turn up the port",
- "preAutomationTime": 0,
- "sla": 0,
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
], - "transitions": { },
- "status": "error",
- "variables": {
- "initiator": {
- "location": "job_data",
- "_id": "67be20c2dda0df69ebe60826"
}, - "_id": {
- "location": "job_data",
- "_id": "67be20c2dda0df69ebe60825"
}
}, - "tags": [ ],
- "error": [
- {
- "task": "f9a9",
- "message": {
- "code": 500,
- "message": {
- "apiVersion": "1",
- "method": "transformations.run",
- "error": {
- "code": 500,
- "message": "Missing one of the following required instances: arg2, arg1",
- "errors": [
- { }
]
}
}
}, - "timestamp": 1627323002561
}
], - "warnings": [
- {
- "task": "workflow_start",
- "name": "Cisco IOS upgrade",
- "message": { }
}
], - "ancestors": [
- "string"
], - "validationErrors": [
- {
- "keyword": "string",
- "instancePath": "string",
- "schemaPath": "string",
- "params": { },
- "message": "string"
}
], - "namespace": { },
- "created_by": "Pronghorn",
- "last_updated_by": "Pronghorn",
- "tasks": {
- "workflow_start": {
- "x": 0,
- "y": 0,
- "gridCoordinate": {
- "x": 0,
- "y": 0
}, - "name": "workflow_start",
- "summary": "workflow_start",
- "taskId": "workflow_start",
- "metrics": {
- "start_time": 0,
- "finish_state": "success",
- "user": "Pronghorn"
}, - "groups": [
- "string"
], - "iterations": [
- "string"
]
}, - "workflow_end": {
- "x": 0,
- "y": 0,
- "gridCoordinate": {
- "x": 0,
- "y": 0
}, - "name": "workflow_end",
- "summary": "workflow_end",
- "taskId": "workflow_end",
- "endTasks": {
- "incomplete": [
- "workflow_start"
], - "complete": [
- "workflow_start"
], - "error": [
- "workflow_start"
]
}, - "metrics": {
- "end_time": 0,
- "run_time": 0
}, - "groups": [
- "string"
], - "iterations": [
- "string"
]
}, - "error_handler": {
- "x": 0,
- "y": 0,
- "gridCoordinate": {
- "x": 0,
- "y": 0
}, - "name": "childJob",
- "location": "Adapter",
- "locationType": "string",
- "app": "string",
- "canvasName": null,
- "displayName": "string",
- "summary": "string",
- "description": "string",
- "variables": {
- "incoming": { },
- "outgoing": { },
- "error": "string",
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
]
}, - "deprecated": true,
- "scheduled": true,
- "matched": [
- {
- "key": "string",
- "highlightString": "string"
}
], - "status": "incomplete",
- "previous": {
- "incomplete": [
- "workflow_start"
], - "complete": [
- "workflow_start"
], - "error": [
- "workflow_start"
]
}, - "taskId": "workflow_start",
- "transitions": {
- "success": [
- {
- "task": "workflow_start",
- "type": "standard"
}
], - "failure": [
- {
- "task": "workflow_start",
- "type": "standard"
}
], - "error": [
- {
- "task": "workflow_start",
- "type": "standard"
}
]
}, - "serverId": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": 0,
- "finish_state": "success",
- "retrySettings": { },
- "type": "operation",
- "actor": "Pronghorn",
- "groups": [
- "string"
], - "iterations": [
- "string"
]
}
}, - "parent": {
- "job": "fe7043ac41d24206aa556c49",
- "task": "defc",
- "iteration": 1,
- "element": 0
}, - "errorHandler": { },
- "groups": [
- "string"
], - "watchers": [
- "Pronghorn"
], - "metrics": {
- "start_time": 0,
- "progress": 1,
- "end_time": 0,
- "user": "Pronghorn",
- "owner": "Pronghorn"
}, - "output": { },
- "outputData": { }
}, - "metadata": { }
}
Runs the Automation associated with the Manual Trigger.
id required | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ The id of the Manual Trigger to run. |
request body
formData | object (formData) |
object (runtimeOptions) Default: {} |
{- "formData": { },
- "runtimeOptions": { }
}
{- "message": "Successfully created the requested item",
- "data": {
- "_id": "string",
- "font_size": 12,
- "type": "automation",
- "created": "2019-08-24T14:15:22Z",
- "last_updated": "2019-08-24T14:15:22Z",
- "createdVersion": "5.55.5",
- "lastUpdatedVersion": "5.55.6",
- "canvasVersion": 1,
- "encodingVersion": 1,
- "migrationVersion": 1,
- "name": "Cisco IOS upgrade",
- "description": "Turn up the port",
- "preAutomationTime": 0,
- "sla": 0,
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
], - "transitions": { },
- "status": "error",
- "variables": {
- "initiator": {
- "location": "job_data",
- "_id": "67be20c2dda0df69ebe60826"
}, - "_id": {
- "location": "job_data",
- "_id": "67be20c2dda0df69ebe60825"
}
}, - "tags": [ ],
- "error": [
- {
- "task": "f9a9",
- "message": {
- "code": 500,
- "message": {
- "apiVersion": "1",
- "method": "transformations.run",
- "error": {
- "code": 500,
- "message": "Missing one of the following required instances: arg2, arg1",
- "errors": [
- { }
]
}
}
}, - "timestamp": 1627323002561
}
], - "warnings": [
- {
- "task": "workflow_start",
- "name": "Cisco IOS upgrade",
- "message": { }
}
], - "ancestors": [
- "string"
], - "validationErrors": [
- {
- "keyword": "string",
- "instancePath": "string",
- "schemaPath": "string",
- "params": { },
- "message": "string"
}
], - "namespace": { },
- "created_by": "Pronghorn",
- "last_updated_by": "Pronghorn",
- "tasks": {
- "workflow_start": {
- "x": 0,
- "y": 0,
- "gridCoordinate": {
- "x": 0,
- "y": 0
}, - "name": "workflow_start",
- "summary": "workflow_start",
- "taskId": "workflow_start",
- "metrics": {
- "start_time": 0,
- "finish_state": "success",
- "user": "Pronghorn"
}, - "groups": [
- "string"
], - "iterations": [
- "string"
]
}, - "workflow_end": {
- "x": 0,
- "y": 0,
- "gridCoordinate": {
- "x": 0,
- "y": 0
}, - "name": "workflow_end",
- "summary": "workflow_end",
- "taskId": "workflow_end",
- "endTasks": {
- "incomplete": [
- "workflow_start"
], - "complete": [
- "workflow_start"
], - "error": [
- "workflow_start"
]
}, - "metrics": {
- "end_time": 0,
- "run_time": 0
}, - "groups": [
- "string"
], - "iterations": [
- "string"
]
}, - "error_handler": {
- "x": 0,
- "y": 0,
- "gridCoordinate": {
- "x": 0,
- "y": 0
}, - "name": "childJob",
- "location": "Adapter",
- "locationType": "string",
- "app": "string",
- "canvasName": null,
- "displayName": "string",
- "summary": "string",
- "description": "string",
- "variables": {
- "incoming": { },
- "outgoing": { },
- "error": "string",
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
]
}, - "deprecated": true,
- "scheduled": true,
- "matched": [
- {
- "key": "string",
- "highlightString": "string"
}
], - "status": "incomplete",
- "previous": {
- "incomplete": [
- "workflow_start"
], - "complete": [
- "workflow_start"
], - "error": [
- "workflow_start"
]
}, - "taskId": "workflow_start",
- "transitions": {
- "success": [
- {
- "task": "workflow_start",
- "type": "standard"
}
], - "failure": [
- {
- "task": "workflow_start",
- "type": "standard"
}
], - "error": [
- {
- "task": "workflow_start",
- "type": "standard"
}
]
}, - "serverId": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": 0,
- "finish_state": "success",
- "retrySettings": { },
- "type": "operation",
- "actor": "Pronghorn",
- "groups": [
- "string"
], - "iterations": [
- "string"
]
}
}, - "parent": {
- "job": "fe7043ac41d24206aa556c49",
- "task": "defc",
- "iteration": 1,
- "element": 0
}, - "errorHandler": { },
- "groups": [
- "string"
], - "watchers": [
- "Pronghorn"
], - "metrics": {
- "start_time": 0,
- "progress": 1,
- "end_time": 0,
- "user": "Pronghorn",
- "owner": "Pronghorn"
}, - "output": { },
- "outputData": { }
}, - "metadata": { }
}
Retry a Task that has failed execution.
jobId required | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ The id of the Job containing the Task. |
taskId required | string (operations-manager_task-common_taskId) ^[0-9a-f]{1,4}$ Examples: e28f 3a1f b4f The id of the Task to be retried. |
request body
variables | object (variables) |
{- "variables": { }
}
{- "message": "Successfully created the requested item",
- "data": null,
- "metadata": { }
}
Assign a Task to the current user.
taskId required | string (operations-manager_common_uuid-v4) ^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-... The id of the Task iteration to be claimed. |
{- "message": "Successfully created the requested item",
- "data": {
- "_id": "string",
- "location": "Adapter",
- "view": { },
- "status": "incomplete",
- "app": "WorkFlowEngine",
- "name": "ViewData",
- "variables": {
- "incoming": { },
- "outgoing": { },
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
]
}, - "last_updated": "2019-08-24T14:15:22Z",
- "encodingVersion": 1,
- "job": {
- "_id": "string",
- "task": "e28f",
- "name": "Cisco IOS upgrade",
- "description": { },
- "ancestors": [
- "string"
]
}, - "incomingRefs": [ ],
- "groups": [
- {
- "_id": "string",
- "provenance": "Local AAA",
- "name": "admin",
- "description": "string",
- "memberOf": [
- {
- "groupId": "string",
- "aaaManaged": true
}
], - "assignedRoles": [
- {
- "roleId": "66ec91e12b18975149d9e0d9"
}
], - "inactive": true,
- "_meta": {
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "migrationVersion": 1
}
}
], - "type": "manual",
- "metrics": {
- "start_time": [
- "2025-03-11T19:03:31.515Z"
], - "claim_time": "2019-08-24T14:15:22Z",
- "end_time": 1740438512495,
- "server_id": "9349c650f70d50e4fe89c95327b7d4d9e6b5228ac83fe4fae120045b37b67860",
- "finish_state": "success",
- "run_time": 5,
- "user": {
- "_id": "string",
- "provenance": "Local AAA",
- "username": "admin@pronghorn",
- "firstname": "admin",
- "memberOf": [
- {
- "groupId": "string",
- "aaaManaged": true
}
], - "assignedRoles": [
- {
- "roleId": "66ec91e12b18975149d9e0d9"
}
], - "inactive": true,
- "lastLogin": "2019-08-24T14:15:22Z",
- "_meta": {
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "migrationVersion": 1
}, - "email": "admin@itential.com"
}, - "owner": {
- "_id": "string",
- "provenance": "Local AAA",
- "username": "admin@pronghorn",
- "firstname": "admin",
- "memberOf": [
- {
- "groupId": "string",
- "aaaManaged": true
}
], - "assignedRoles": [
- {
- "roleId": "66ec91e12b18975149d9e0d9"
}
], - "inactive": true,
- "lastLogin": "2019-08-24T14:15:22Z",
- "_meta": {
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "migrationVersion": 1
}, - "email": "admin@itential.com"
}
}
}, - "metadata": { }
}
Assign a Task to a user.
taskId required | string (operations-manager_common_uuid-v4) ^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-... The id of the Task iteration to be assigned. |
request body
userId | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ A string which is formatted like an ObjectId, Distinct from an actual ObjectId. |
{- "userId": "string"
}
{- "message": "Successfully created the requested item",
- "data": {
- "_id": "string",
- "location": "Adapter",
- "view": { },
- "status": "incomplete",
- "app": "WorkFlowEngine",
- "name": "ViewData",
- "variables": {
- "incoming": { },
- "outgoing": { },
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
]
}, - "last_updated": "2019-08-24T14:15:22Z",
- "encodingVersion": 1,
- "job": {
- "_id": "string",
- "task": "e28f",
- "name": "Cisco IOS upgrade",
- "description": { },
- "ancestors": [
- "string"
]
}, - "incomingRefs": [ ],
- "groups": [
- {
- "_id": "string",
- "provenance": "Local AAA",
- "name": "admin",
- "description": "string",
- "memberOf": [
- {
- "groupId": "string",
- "aaaManaged": true
}
], - "assignedRoles": [
- {
- "roleId": "66ec91e12b18975149d9e0d9"
}
], - "inactive": true,
- "_meta": {
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "migrationVersion": 1
}
}
], - "type": "manual",
- "metrics": {
- "start_time": [
- "2025-03-11T19:03:31.515Z"
], - "claim_time": "2019-08-24T14:15:22Z",
- "end_time": 1740438512495,
- "server_id": "9349c650f70d50e4fe89c95327b7d4d9e6b5228ac83fe4fae120045b37b67860",
- "finish_state": "success",
- "run_time": 5,
- "user": {
- "_id": "string",
- "provenance": "Local AAA",
- "username": "admin@pronghorn",
- "firstname": "admin",
- "memberOf": [
- {
- "groupId": "string",
- "aaaManaged": true
}
], - "assignedRoles": [
- {
- "roleId": "66ec91e12b18975149d9e0d9"
}
], - "inactive": true,
- "lastLogin": "2019-08-24T14:15:22Z",
- "_meta": {
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "migrationVersion": 1
}, - "email": "admin@itential.com"
}, - "owner": {
- "_id": "string",
- "provenance": "Local AAA",
- "username": "admin@pronghorn",
- "firstname": "admin",
- "memberOf": [
- {
- "groupId": "string",
- "aaaManaged": true
}
], - "assignedRoles": [
- {
- "roleId": "66ec91e12b18975149d9e0d9"
}
], - "inactive": true,
- "lastLogin": "2019-08-24T14:15:22Z",
- "_meta": {
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "migrationVersion": 1
}, - "email": "admin@itential.com"
}
}
}, - "metadata": { }
}
Remove user assignment from a currently assigned Task.
taskId required | string (operations-manager_common_uuid-v4) ^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-... The id of the Task iteration to be released. |
{- "message": "Successfully created the requested item",
- "data": {
- "_id": "string",
- "location": "Adapter",
- "view": { },
- "status": "incomplete",
- "app": "WorkFlowEngine",
- "name": "ViewData",
- "variables": {
- "incoming": { },
- "outgoing": { },
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
]
}, - "last_updated": "2019-08-24T14:15:22Z",
- "encodingVersion": 1,
- "job": {
- "_id": "string",
- "task": "e28f",
- "name": "Cisco IOS upgrade",
- "description": { },
- "ancestors": [
- "string"
]
}, - "incomingRefs": [ ],
- "groups": [
- {
- "_id": "string",
- "provenance": "Local AAA",
- "name": "admin",
- "description": "string",
- "memberOf": [
- {
- "groupId": "string",
- "aaaManaged": true
}
], - "assignedRoles": [
- {
- "roleId": "66ec91e12b18975149d9e0d9"
}
], - "inactive": true,
- "_meta": {
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "migrationVersion": 1
}
}
], - "type": "manual",
- "metrics": {
- "start_time": [
- "2025-03-11T19:03:31.515Z"
], - "claim_time": "2019-08-24T14:15:22Z",
- "end_time": 1740438512495,
- "server_id": "9349c650f70d50e4fe89c95327b7d4d9e6b5228ac83fe4fae120045b37b67860",
- "finish_state": "success",
- "run_time": 5,
- "user": {
- "_id": "string",
- "provenance": "Local AAA",
- "username": "admin@pronghorn",
- "firstname": "admin",
- "memberOf": [
- {
- "groupId": "string",
- "aaaManaged": true
}
], - "assignedRoles": [
- {
- "roleId": "66ec91e12b18975149d9e0d9"
}
], - "inactive": true,
- "lastLogin": "2019-08-24T14:15:22Z",
- "_meta": {
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "migrationVersion": 1
}, - "email": "admin@itential.com"
}, - "owner": {
- "_id": "string",
- "provenance": "Local AAA",
- "username": "admin@pronghorn",
- "firstname": "admin",
- "memberOf": [
- {
- "groupId": "string",
- "aaaManaged": true
}
], - "assignedRoles": [
- {
- "roleId": "66ec91e12b18975149d9e0d9"
}
], - "inactive": true,
- "lastLogin": "2019-08-24T14:15:22Z",
- "_meta": {
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "migrationVersion": 1
}, - "email": "admin@itential.com"
}
}
}, - "metadata": { }
}
Search the Task collection.
limit | integer >= 0 Default: 25 Examples: limit=1 limit=10 limit=50 Number of results to return. Used for pagination. |
skip | integer >= 0 Default: 0 Examples: skip=1 skip=10 skip=50 Number of results to skip. Used for pagination. |
order | integer Default: 1 Enum: -1 1 Sort direction, 1 for ascending and -1 for descending. |
sort | string Default: "name" Value: "name" Field to sort by |
include | string Examples: include=name include=description include=name,description Inclusive projection operator formatted as a comma-delineated list. '_id' will be included implicitly unless excluded with 'exclude=_id'. May only be used in conjunction with 'exclude' when 'exclude=_id'. |
exclude | string Examples: exclude=_id exclude=description exclude=_id,description Exclusive projection operator formatted as a comma-delineated list. May only be used in conjunction with 'include' when 'exclude=_id'. |
in | string Search for fields exactly matching one of the given list options |
not-in | string Search for fields not exactly matching one of the given list options |
equals | string Returns results where the specified fields exactly match the given match string(s). |
contains | string Returns results where the specified fields contain the given match string(s). |
starts-with | string Returns results where the specified fields start with the given match string(s). |
ends-with | string Returns results where the specified fields end in the given match string(s). |
dereference | string Designates foreign key fields to dereference in the API output. |
gt | string Returns results where the specified fields have values greater than the specified values. |
gte | string Returns results where the specified fields have values greater than or equal to the specified values. |
lt | string Returns results where the specified fields have values less than the specified values. |
lte | string Returns results where the specified fields have values less than or equal to the specified values. |
q | string Accepts a full query expression as a URL-encoded JSON object. Supports all other query operators, in addition to logical conjunction with 'and', disjunction with 'or', and negation with 'not'. May be combined with other top-level operators. |
actionableTasks | boolean Default: false If true, only returns actionable tasks that the current user has write access to. |
{- "message": "Successfully created the requested item",
- "data": [
- {
- "_id": "string",
- "location": "Adapter",
- "view": { },
- "status": "incomplete",
- "app": "WorkFlowEngine",
- "name": "ViewData",
- "variables": {
- "incoming": { },
- "outgoing": { },
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
]
}, - "last_updated": "2019-08-24T14:15:22Z",
- "encodingVersion": 1,
- "job": {
- "_id": "string",
- "task": "e28f",
- "name": "Cisco IOS upgrade",
- "description": { },
- "ancestors": [
- "string"
]
}, - "incomingRefs": [ ],
- "groups": [
- {
- "_id": "string",
- "provenance": "Local AAA",
- "name": "admin",
- "description": "string",
- "memberOf": [
- {
- "groupId": "string",
- "aaaManaged": true
}
], - "assignedRoles": [
- {
- "roleId": "66ec91e12b18975149d9e0d9"
}
], - "inactive": true,
- "_meta": {
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "migrationVersion": 1
}
}
], - "type": "manual",
- "metrics": {
- "start_time": [
- "2025-03-11T19:03:31.515Z"
], - "claim_time": "2019-08-24T14:15:22Z",
- "end_time": 1740438512495,
- "server_id": "9349c650f70d50e4fe89c95327b7d4d9e6b5228ac83fe4fae120045b37b67860",
- "finish_state": "success",
- "run_time": 5,
- "user": {
- "_id": "string",
- "provenance": "Local AAA",
- "username": "admin@pronghorn",
- "firstname": "admin",
- "memberOf": [
- {
- "groupId": "string",
- "aaaManaged": true
}
], - "assignedRoles": [
- {
- "roleId": "66ec91e12b18975149d9e0d9"
}
], - "inactive": true,
- "lastLogin": "2019-08-24T14:15:22Z",
- "_meta": {
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "migrationVersion": 1
}, - "email": "admin@itential.com"
}, - "owner": {
- "_id": "string",
- "provenance": "Local AAA",
- "username": "admin@pronghorn",
- "firstname": "admin",
- "memberOf": [
- {
- "groupId": "string",
- "aaaManaged": true
}
], - "assignedRoles": [
- {
- "roleId": "66ec91e12b18975149d9e0d9"
}
], - "inactive": true,
- "lastLogin": "2019-08-24T14:15:22Z",
- "_meta": {
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "migrationVersion": 1
}, - "email": "admin@itential.com"
}
}
}
], - "metadata": {
- "skip": 0,
- "limit": 0,
- "total": 0,
- "nextPageSkip": { },
- "previousPageSkip": { },
- "currentPageSize": 0
}
}
Get a Task.
id required | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ The id of the Task to get. |
include | string Examples: include=name include=description include=name,description Inclusive projection operator formatted as a comma-delineated list. '_id' will be included implicitly unless excluded with 'exclude=_id'. May only be used in conjunction with 'exclude' when 'exclude=_id'. |
exclude | string Examples: exclude=_id exclude=description exclude=_id,description Exclusive projection operator formatted as a comma-delineated list. May only be used in conjunction with 'include' when 'exclude=_id'. |
dereference | string Examples: dereference=job dereference=accounts.metrics.owner Designates foreign key fields to dereference in the API output. The main function of this parameter is to retrieve extra information on a task that would not ordinarily be included. If information is needed on the task's parent job, the dereference parameter may be given a value of 'job'. This will look up the full job document and place it under the 'job' property in the task document. If the output of a child job task is needed, the dereference parameter may be given a value of 'child-job-output'. This will look up the output of the job initiated by the child job task. If the child job has loop settings each individual output will be provided in an array under the property 'variables.outgoing.job_details.loop'. If the child job does not have loop settings, the output of the single job document will be provided under the property 'variables.outgoing.job_details.output'. |
{- "message": "Successfully created the requested item",
- "data": {
- "_id": "string",
- "location": "Adapter",
- "view": { },
- "status": "incomplete",
- "app": "WorkFlowEngine",
- "name": "ViewData",
- "variables": {
- "incoming": { },
- "outgoing": { },
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
]
}, - "last_updated": "2019-08-24T14:15:22Z",
- "encodingVersion": 1,
- "job": {
- "_id": "string",
- "task": "e28f",
- "name": "Cisco IOS upgrade",
- "description": { },
- "ancestors": [
- "string"
]
}, - "incomingRefs": [ ],
- "groups": [
- {
- "_id": "string",
- "provenance": "Local AAA",
- "name": "admin",
- "description": "string",
- "memberOf": [
- {
- "groupId": "string",
- "aaaManaged": true
}
], - "assignedRoles": [
- {
- "roleId": "66ec91e12b18975149d9e0d9"
}
], - "inactive": true,
- "_meta": {
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "migrationVersion": 1
}
}
], - "type": "manual",
- "metrics": {
- "start_time": [
- "2025-03-11T19:03:31.515Z"
], - "claim_time": "2019-08-24T14:15:22Z",
- "end_time": 1740438512495,
- "server_id": "9349c650f70d50e4fe89c95327b7d4d9e6b5228ac83fe4fae120045b37b67860",
- "finish_state": "success",
- "run_time": 5,
- "user": {
- "_id": "string",
- "provenance": "Local AAA",
- "username": "admin@pronghorn",
- "firstname": "admin",
- "memberOf": [
- {
- "groupId": "string",
- "aaaManaged": true
}
], - "assignedRoles": [
- {
- "roleId": "66ec91e12b18975149d9e0d9"
}
], - "inactive": true,
- "lastLogin": "2019-08-24T14:15:22Z",
- "_meta": {
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "migrationVersion": 1
}, - "email": "admin@itential.com"
}, - "owner": {
- "_id": "string",
- "provenance": "Local AAA",
- "username": "admin@pronghorn",
- "firstname": "admin",
- "memberOf": [
- {
- "groupId": "string",
- "aaaManaged": true
}
], - "assignedRoles": [
- {
- "roleId": "66ec91e12b18975149d9e0d9"
}
], - "inactive": true,
- "lastLogin": "2019-08-24T14:15:22Z",
- "_meta": {
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "migrationVersion": 1
}, - "email": "admin@itential.com"
}
}
}, - "metadata": { }
}
Adds the current user to the list of watchers on a Job.
jobId required | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ The id of the Job to watch. |
{- "message": "Successfully created the requested item",
- "data": null,
- "metadata": { }
}
Removes the current user from the list of watchers on multiple Jobs.
request body
jobIds | Array of strings (jobIds) [ items^[0-9a-f]{24}$ ] |
{- "jobIds": [
- "string"
]
}
{- "message": "Successfully created the requested item",
- "data": null,
- "metadata": { }
}
Adds the current user to the list of watchers on multiple Jobs.
request body
jobIds | Array of strings (jobIds) [ items^[0-9a-f]{24}$ ] |
{- "jobIds": [
- "string"
]
}
{- "message": "Successfully created the requested item",
- "data": null,
- "metadata": { }
}
Removes the current user from the list of watchers on a Job.
jobId required | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ The id of the Job to unwatch. |
{- "message": "Successfully created the requested item",
- "data": null,
- "metadata": { }
}
Adds user ids to the list of watchers on a Job.
jobId required | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ The id of the Job to assign watchers to. |
request body
userIds | Array of strings (userIds) [ items^[0-9a-f]{24}$ ] |
{- "userIds": [
- "string"
]
}
{- "message": "Successfully created the requested item",
- "data": null,
- "metadata": { }
}
Work a manual Task.
jobId required | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ The id of the Job containing the Task to be worked. |
required | any or string (operations-manager_job-common_taskId) The id of the Task to be worked. |
request body
object (taskData) |
{- "taskData": {
- "finish_state": "string",
- "variables": { }
}
}
{- "message": "Successfully created the requested item",
- "data": {
- "_id": "string",
- "font_size": 12,
- "type": "automation",
- "created": "2019-08-24T14:15:22Z",
- "last_updated": "2019-08-24T14:15:22Z",
- "createdVersion": "5.55.5",
- "lastUpdatedVersion": "5.55.6",
- "canvasVersion": 1,
- "encodingVersion": 1,
- "migrationVersion": 1,
- "name": "Cisco IOS upgrade",
- "description": "Turn up the port",
- "preAutomationTime": 0,
- "sla": 0,
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
], - "transitions": { },
- "status": "error",
- "variables": {
- "initiator": {
- "location": "job_data",
- "_id": "67be20c2dda0df69ebe60826"
}, - "_id": {
- "location": "job_data",
- "_id": "67be20c2dda0df69ebe60825"
}
}, - "tags": [ ],
- "error": [
- {
- "task": "f9a9",
- "message": {
- "code": 500,
- "message": {
- "apiVersion": "1",
- "method": "transformations.run",
- "error": {
- "code": 500,
- "message": "Missing one of the following required instances: arg2, arg1",
- "errors": [
- { }
]
}
}
}, - "timestamp": 1627323002561
}
], - "warnings": [
- {
- "task": "workflow_start",
- "name": "Cisco IOS upgrade",
- "message": { }
}
], - "ancestors": [
- "string"
], - "validationErrors": [
- {
- "keyword": "string",
- "instancePath": "string",
- "schemaPath": "string",
- "params": { },
- "message": "string"
}
], - "namespace": { },
- "created_by": "Pronghorn",
- "last_updated_by": "Pronghorn",
- "tasks": {
- "workflow_start": {
- "x": 0,
- "y": 0,
- "gridCoordinate": {
- "x": 0,
- "y": 0
}, - "name": "workflow_start",
- "summary": "workflow_start",
- "taskId": "workflow_start",
- "metrics": {
- "start_time": 0,
- "finish_state": "success",
- "user": "Pronghorn"
}, - "groups": [
- "string"
], - "iterations": [
- "string"
]
}, - "workflow_end": {
- "x": 0,
- "y": 0,
- "gridCoordinate": {
- "x": 0,
- "y": 0
}, - "name": "workflow_end",
- "summary": "workflow_end",
- "taskId": "workflow_end",
- "endTasks": {
- "incomplete": [
- "workflow_start"
], - "complete": [
- "workflow_start"
], - "error": [
- "workflow_start"
]
}, - "metrics": {
- "end_time": 0,
- "run_time": 0
}, - "groups": [
- "string"
], - "iterations": [
- "string"
]
}, - "error_handler": {
- "x": 0,
- "y": 0,
- "gridCoordinate": {
- "x": 0,
- "y": 0
}, - "name": "childJob",
- "location": "Adapter",
- "locationType": "string",
- "app": "string",
- "canvasName": null,
- "displayName": "string",
- "summary": "string",
- "description": "string",
- "variables": {
- "incoming": { },
- "outgoing": { },
- "error": "string",
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
]
}, - "deprecated": true,
- "scheduled": true,
- "matched": [
- {
- "key": "string",
- "highlightString": "string"
}
], - "status": "incomplete",
- "previous": {
- "incomplete": [
- "workflow_start"
], - "complete": [
- "workflow_start"
], - "error": [
- "workflow_start"
]
}, - "taskId": "workflow_start",
- "transitions": {
- "success": [
- {
- "task": "workflow_start",
- "type": "standard"
}
], - "failure": [
- {
- "task": "workflow_start",
- "type": "standard"
}
], - "error": [
- {
- "task": "workflow_start",
- "type": "standard"
}
]
}, - "serverId": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": 0,
- "finish_state": "success",
- "retrySettings": { },
- "type": "operation",
- "actor": "Pronghorn",
- "groups": [
- "string"
], - "iterations": [
- "string"
]
}
}, - "parent": {
- "job": "fe7043ac41d24206aa556c49",
- "task": "defc",
- "iteration": 1,
- "element": 0
}, - "errorHandler": { },
- "groups": [
- "string"
], - "watchers": [
- "Pronghorn"
], - "metrics": {
- "start_time": 0,
- "progress": 1,
- "end_time": 0,
- "user": "Pronghorn",
- "owner": "Pronghorn"
}, - "output": { },
- "outputData": { }
}, - "metadata": { }
}
Get a client-side dialog controller for a manual task
jobId required | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ The id of the Job containing the task |
taskId required | string (operations-manager_task-common_taskId) ^[0-9a-f]{1,4}$ Examples: e28f 3a1f b4f The id of the Task containing the dialog controller. |
{- "message": "Successfully created the requested item",
- "data": {
- "variables": {
- "incoming": { },
- "outgoing": { },
- "error": "string",
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
]
}, - "finish_state": "string",
- "TaskController": "string"
}, - "metadata": { }
}
Get a Job.
id required | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ The id of the Job to get. |
include | string Examples: include=name include=description include=name,description Inclusive projection operator formatted as a comma-delineated list. '_id' will be included implicitly unless excluded with 'exclude=_id'. May only be used in conjunction with 'exclude' when 'exclude=_id'. |
exclude | string Examples: exclude=_id exclude=description exclude=_id,description Exclusive projection operator formatted as a comma-delineated list. May only be used in conjunction with 'include' when 'exclude=_id'. |
dereference | string Examples: dereference=tasks dereference=accounts.createdBy Designates foreign key fields to dereference in the API output. |
{- "message": "Successfully created the requested item",
- "data": {
- "_id": "string",
- "font_size": 12,
- "type": "automation",
- "created": "2019-08-24T14:15:22Z",
- "last_updated": "2019-08-24T14:15:22Z",
- "createdVersion": "5.55.5",
- "lastUpdatedVersion": "5.55.6",
- "canvasVersion": 1,
- "encodingVersion": 1,
- "migrationVersion": 1,
- "name": "Cisco IOS upgrade",
- "description": "Turn up the port",
- "preAutomationTime": 0,
- "sla": 0,
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
], - "transitions": { },
- "status": "error",
- "variables": {
- "initiator": {
- "location": "job_data",
- "_id": "67be20c2dda0df69ebe60826"
}, - "_id": {
- "location": "job_data",
- "_id": "67be20c2dda0df69ebe60825"
}
}, - "tags": [ ],
- "error": [
- {
- "task": "f9a9",
- "message": {
- "code": 500,
- "message": {
- "apiVersion": "1",
- "method": "transformations.run",
- "error": {
- "code": 500,
- "message": "Missing one of the following required instances: arg2, arg1",
- "errors": [
- { }
]
}
}
}, - "timestamp": 1627323002561
}
], - "warnings": [
- {
- "task": "workflow_start",
- "name": "Cisco IOS upgrade",
- "message": { }
}
], - "ancestors": [
- "string"
], - "validationErrors": [
- {
- "keyword": "string",
- "instancePath": "string",
- "schemaPath": "string",
- "params": { },
- "message": "string"
}
], - "namespace": { },
- "created_by": "Pronghorn",
- "last_updated_by": "Pronghorn",
- "tasks": {
- "workflow_start": {
- "x": 0,
- "y": 0,
- "gridCoordinate": {
- "x": 0,
- "y": 0
}, - "name": "workflow_start",
- "summary": "workflow_start",
- "taskId": "workflow_start",
- "metrics": {
- "start_time": 0,
- "finish_state": "success",
- "user": "Pronghorn"
}, - "groups": [
- "string"
], - "iterations": [
- "string"
]
}, - "workflow_end": {
- "x": 0,
- "y": 0,
- "gridCoordinate": {
- "x": 0,
- "y": 0
}, - "name": "workflow_end",
- "summary": "workflow_end",
- "taskId": "workflow_end",
- "endTasks": {
- "incomplete": [
- "workflow_start"
], - "complete": [
- "workflow_start"
], - "error": [
- "workflow_start"
]
}, - "metrics": {
- "end_time": 0,
- "run_time": 0
}, - "groups": [
- "string"
], - "iterations": [
- "string"
]
}, - "error_handler": {
- "x": 0,
- "y": 0,
- "gridCoordinate": {
- "x": 0,
- "y": 0
}, - "name": "childJob",
- "location": "Adapter",
- "locationType": "string",
- "app": "string",
- "canvasName": null,
- "displayName": "string",
- "summary": "string",
- "description": "string",
- "variables": {
- "incoming": { },
- "outgoing": { },
- "error": "string",
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
]
}, - "deprecated": true,
- "scheduled": true,
- "matched": [
- {
- "key": "string",
- "highlightString": "string"
}
], - "status": "incomplete",
- "previous": {
- "incomplete": [
- "workflow_start"
], - "complete": [
- "workflow_start"
], - "error": [
- "workflow_start"
]
}, - "taskId": "workflow_start",
- "transitions": {
- "success": [
- {
- "task": "workflow_start",
- "type": "standard"
}
], - "failure": [
- {
- "task": "workflow_start",
- "type": "standard"
}
], - "error": [
- {
- "task": "workflow_start",
- "type": "standard"
}
]
}, - "serverId": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": 0,
- "finish_state": "success",
- "retrySettings": { },
- "type": "operation",
- "actor": "Pronghorn",
- "groups": [
- "string"
], - "iterations": [
- "string"
]
}
}, - "parent": {
- "job": "fe7043ac41d24206aa556c49",
- "task": "defc",
- "iteration": 1,
- "element": 0
}, - "errorHandler": { },
- "groups": [
- "string"
], - "watchers": [
- "Pronghorn"
], - "metrics": {
- "start_time": 0,
- "progress": 1,
- "end_time": 0,
- "user": "Pronghorn",
- "owner": "Pronghorn"
}, - "output": { },
- "outputData": { }
}, - "metadata": { }
}
{- "message": "Successfully created the requested item",
- "data": [
- {
- "_id": "string",
- "font_size": 12,
- "type": "automation",
- "created": "2019-08-24T14:15:22Z",
- "last_updated": "2019-08-24T14:15:22Z",
- "createdVersion": "5.55.5",
- "lastUpdatedVersion": "5.55.6",
- "canvasVersion": 1,
- "encodingVersion": 1,
- "migrationVersion": 1,
- "name": "Cisco IOS upgrade",
- "description": "Turn up the port",
- "preAutomationTime": 0,
- "sla": 0,
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
], - "transitions": { },
- "status": "error",
- "variables": {
- "initiator": {
- "location": "job_data",
- "_id": "67be20c2dda0df69ebe60826"
}, - "_id": {
- "location": "job_data",
- "_id": "67be20c2dda0df69ebe60825"
}
}, - "tags": [ ],
- "error": [
- {
- "task": "f9a9",
- "message": {
- "code": 500,
- "message": {
- "apiVersion": "1",
- "method": "transformations.run",
- "error": {
- "code": 500,
- "message": "Missing one of the following required instances: arg2, arg1",
- "errors": [
- { }
]
}
}
}, - "timestamp": 1627323002561
}
], - "warnings": [
- {
- "task": "workflow_start",
- "name": "Cisco IOS upgrade",
- "message": { }
}
], - "ancestors": [
- "string"
], - "validationErrors": [
- {
- "keyword": "string",
- "instancePath": "string",
- "schemaPath": "string",
- "params": { },
- "message": "string"
}
], - "namespace": { },
- "created_by": "Pronghorn",
- "last_updated_by": "Pronghorn",
- "tasks": {
- "workflow_start": {
- "x": 0,
- "y": 0,
- "gridCoordinate": {
- "x": 0,
- "y": 0
}, - "name": "workflow_start",
- "summary": "workflow_start",
- "taskId": "workflow_start",
- "metrics": {
- "start_time": 0,
- "finish_state": "success",
- "user": "Pronghorn"
}, - "groups": [
- "string"
], - "iterations": [
- "string"
]
}, - "workflow_end": {
- "x": 0,
- "y": 0,
- "gridCoordinate": {
- "x": 0,
- "y": 0
}, - "name": "workflow_end",
- "summary": "workflow_end",
- "taskId": "workflow_end",
- "endTasks": {
- "incomplete": [
- "workflow_start"
], - "complete": [
- "workflow_start"
], - "error": [
- "workflow_start"
]
}, - "metrics": {
- "end_time": 0,
- "run_time": 0
}, - "groups": [
- "string"
], - "iterations": [
- "string"
]
}, - "error_handler": {
- "x": 0,
- "y": 0,
- "gridCoordinate": {
- "x": 0,
- "y": 0
}, - "name": "childJob",
- "location": "Adapter",
- "locationType": "string",
- "app": "string",
- "canvasName": null,
- "displayName": "string",
- "summary": "string",
- "description": "string",
- "variables": {
- "incoming": { },
- "outgoing": { },
- "error": "string",
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
]
}, - "deprecated": true,
- "scheduled": true,
- "matched": [
- {
- "key": "string",
- "highlightString": "string"
}
], - "status": "incomplete",
- "previous": {
- "incomplete": [
- "workflow_start"
], - "complete": [
- "workflow_start"
], - "error": [
- "workflow_start"
]
}, - "taskId": "workflow_start",
- "transitions": {
- "success": [
- {
- "task": "workflow_start",
- "type": "standard"
}
], - "failure": [
- {
- "task": "workflow_start",
- "type": "standard"
}
], - "error": [
- {
- "task": "workflow_start",
- "type": "standard"
}
]
}, - "serverId": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": 0,
- "finish_state": "success",
- "retrySettings": { },
- "type": "operation",
- "actor": "Pronghorn",
- "groups": [
- "string"
], - "iterations": [
- "string"
]
}
}, - "parent": {
- "job": "fe7043ac41d24206aa556c49",
- "task": "defc",
- "iteration": 1,
- "element": 0
}, - "errorHandler": { },
- "groups": [
- "string"
], - "watchers": [
- "Pronghorn"
], - "metrics": {
- "start_time": 0,
- "progress": 1,
- "end_time": 0,
- "user": "Pronghorn",
- "owner": "Pronghorn"
}, - "output": { },
- "outputData": { }
}
], - "metadata": {
- "skip": 0,
- "limit": 0,
- "total": 0,
- "nextPageSkip": { },
- "previousPageSkip": { },
- "currentPageSize": 0
}
}
Spawns a Job from a Workflow.
request body
workflow | string (workflow) |
object (options) |
{- "workflow": "string",
- "options": {
- "description": "Example job description",
- "type": "automation",
- "variables": { },
- "groups": [
- "string"
]
}
}
{- "message": "Successfully created the requested item",
- "data": {
- "_id": "string",
- "font_size": 12,
- "type": "automation",
- "created": "2019-08-24T14:15:22Z",
- "last_updated": "2019-08-24T14:15:22Z",
- "createdVersion": "5.55.5",
- "lastUpdatedVersion": "5.55.6",
- "canvasVersion": 1,
- "encodingVersion": 1,
- "migrationVersion": 1,
- "name": "Cisco IOS upgrade",
- "description": "Turn up the port",
- "preAutomationTime": 0,
- "sla": 0,
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
], - "transitions": { },
- "status": "error",
- "variables": {
- "initiator": {
- "location": "job_data",
- "_id": "67be20c2dda0df69ebe60826"
}, - "_id": {
- "location": "job_data",
- "_id": "67be20c2dda0df69ebe60825"
}
}, - "tags": [ ],
- "error": [
- {
- "task": "f9a9",
- "message": {
- "code": 500,
- "message": {
- "apiVersion": "1",
- "method": "transformations.run",
- "error": {
- "code": 500,
- "message": "Missing one of the following required instances: arg2, arg1",
- "errors": [
- { }
]
}
}
}, - "timestamp": 1627323002561
}
], - "warnings": [
- {
- "task": "workflow_start",
- "name": "Cisco IOS upgrade",
- "message": { }
}
], - "ancestors": [
- "string"
], - "validationErrors": [
- {
- "keyword": "string",
- "instancePath": "string",
- "schemaPath": "string",
- "params": { },
- "message": "string"
}
], - "namespace": { },
- "created_by": "Pronghorn",
- "last_updated_by": "Pronghorn",
- "tasks": {
- "workflow_start": {
- "x": 0,
- "y": 0,
- "gridCoordinate": {
- "x": 0,
- "y": 0
}, - "name": "workflow_start",
- "summary": "workflow_start",
- "taskId": "workflow_start",
- "metrics": {
- "start_time": 0,
- "finish_state": "success",
- "user": "Pronghorn"
}, - "groups": [
- "string"
], - "iterations": [
- "string"
]
}, - "workflow_end": {
- "x": 0,
- "y": 0,
- "gridCoordinate": {
- "x": 0,
- "y": 0
}, - "name": "workflow_end",
- "summary": "workflow_end",
- "taskId": "workflow_end",
- "endTasks": {
- "incomplete": [
- "workflow_start"
], - "complete": [
- "workflow_start"
], - "error": [
- "workflow_start"
]
}, - "metrics": {
- "end_time": 0,
- "run_time": 0
}, - "groups": [
- "string"
], - "iterations": [
- "string"
]
}, - "error_handler": {
- "x": 0,
- "y": 0,
- "gridCoordinate": {
- "x": 0,
- "y": 0
}, - "name": "childJob",
- "location": "Adapter",
- "locationType": "string",
- "app": "string",
- "canvasName": null,
- "displayName": "string",
- "summary": "string",
- "description": "string",
- "variables": {
- "incoming": { },
- "outgoing": { },
- "error": "string",
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
]
}, - "deprecated": true,
- "scheduled": true,
- "matched": [
- {
- "key": "string",
- "highlightString": "string"
}
], - "status": "incomplete",
- "previous": {
- "incomplete": [
- "workflow_start"
], - "complete": [
- "workflow_start"
], - "error": [
- "workflow_start"
]
}, - "taskId": "workflow_start",
- "transitions": {
- "success": [
- {
- "task": "workflow_start",
- "type": "standard"
}
], - "failure": [
- {
- "task": "workflow_start",
- "type": "standard"
}
], - "error": [
- {
- "task": "workflow_start",
- "type": "standard"
}
]
}, - "serverId": "string",
- "start_time": "2019-08-24T14:15:22Z",
- "end_time": 0,
- "finish_state": "success",
- "retrySettings": { },
- "type": "operation",
- "actor": "Pronghorn",
- "groups": [
- "string"
], - "iterations": [
- "string"
]
}
}, - "parent": {
- "job": "fe7043ac41d24206aa556c49",
- "task": "defc",
- "iteration": 1,
- "element": 0
}, - "errorHandler": { },
- "groups": [
- "string"
], - "watchers": [
- "Pronghorn"
], - "metrics": {
- "start_time": 0,
- "progress": 1,
- "end_time": 0,
- "user": "Pronghorn",
- "owner": "Pronghorn"
}, - "output": { },
- "outputData": { }
}, - "metadata": { }
}
Pause active Jobs.
request body
jobIds | Array of strings (jobIds) [ items^[0-9a-f]{24}$ ] |
{- "jobIds": [
- "string"
]
}
{- "message": "Successfully created the requested item",
- "data": null,
- "metadata": { }
}
Resumes paused Jobs.
request body
jobIds | Array of strings (jobIds) [ items^[0-9a-f]{24}$ ] |
{- "jobIds": [
- "string"
]
}
{- "message": "Successfully created the requested item",
- "data": null,
- "metadata": { }
}
Cancel Active Jobs.
request body
jobIds | Array of strings (jobIds) [ items^[0-9a-f]{24}$ ] |
{- "jobIds": [
- "string"
]
}
{- "message": "Successfully created the requested item",
- "data": null,
- "metadata": { }
}
Add a group id to the groups array of a Job.
jobId required | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ The id of the Job to modify. |
request body
groupId | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ A string which is formatted like an ObjectId, Distinct from an actual ObjectId. |
{- "groupId": "string"
}
{- "message": "Successfully created the requested item",
- "data": true,
- "metadata": { }
}
Remove all groups from the groups array of a Job.
jobId required | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ The id of the Job to modify. |
{- "message": "Successfully created the requested item",
- "data": true,
- "metadata": { }
}
Replace all groups from the groups array of a Job with the provided group array.
jobId required | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ The id of the Job to modify. |
request body
groups | Array of strings (groups) [ items^[0-9a-f]{24}$ ] |
{- "groups": [
- "string"
]
}
{- "message": "Successfully created the requested item",
- "data": true,
- "metadata": { }
}
Remove a group id from the groups array of a Job.
jobId required | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ The id of the Job to modify. |
groupId required | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ The group id to add to the Job. |
{- "message": "Successfully created the requested item",
- "data": true,
- "metadata": { }
}
Only succeeds on completed or cancelled root jobs. Recursively deletes children, tasks, job data, job history, and large files.
jobId required | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ The id of the Job to delete. |
{- "message": "string",
- "data": [
- { }
], - "metadata": { }
}
Only succeeds on completed or cancelled root jobs. Ignores jobs that don't fit that criteria. Recursively deletes children, tasks, job data, job history, and large files.
request body
jobIds | Array of strings (jobIds) [ items^[0-9a-f]{24}$ ] |
{- "jobIds": [
- "string"
]
}
{- "message": "string",
- "data": [
- { }
], - "metadata": { }
}
Continue a Job from a specified Task.
jobId required | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ The id of the Job to be continued. |
request body
fromTask | string (operations-manager_task-common_taskId) ^[0-9a-f]{1,4}$ |
{- "fromTask": "e28f"
}
{- "message": "Successfully created the requested item",
- "data": null,
- "metadata": { }
}
Revert a paused Job from an errored Task to a previously completed Task.
jobId required | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ The id of the Job to be reverted. |
request body
fromTask | string (operations-manager_task-common_taskId) ^[0-9a-f]{1,4}$ |
any or string (operations-manager_job-common_taskId) |
{- "fromTask": "e28f",
- "toTask": "workflow_start"
}
{- "message": "Successfully created the requested item",
- "data": null,
- "metadata": { }
}
Run configuration validations against an Automation.
required | operations-manager_common_ObjectIdLikeString (string) or operations-manager_common_name (string) (automationIdentifier) automationIdentifier |
{- "message": "Successfully created the requested item",
- "data": {
- "errors": [
- {
- "message": "string"
}
], - "warnings": [
- {
- "message": "string"
}
]
}, - "metadata": { }
}
Run configuration validations against a Trigger.
triggerId required | string (operations-manager_common_ObjectIdLikeString) ^[0-9a-f]{24}$ triggerId |
{- "message": "Successfully created the requested item",
- "data": {
- "errors": [
- {
- "message": "string"
}
], - "warnings": [
- {
- "message": "string"
}
]
}, - "metadata": { }
}
Create a new profile in IAP.
request body
object (properties) |
{- "properties": {
- "uiProps": {
- "description": "UI",
- "layout": "node_modules/@itential/pronghorn-core/ui/views/layout.jade",
- "home": "node_modules/@itential/pronghorn-core/ui/views/home.jade",
- "login": "node_modules/@itential/pronghorn-core/ui/views/login.jade",
- "profile": "node_modules/@itential/pronghorn-core/ui/views/profile.jade",
- "fav_icon": "node_modules/@itential/pronghorn-core/ui/img/favicon.ico"
}, - "authenticationProps": {
- "description": "Authentication",
- "logoutTime": 20,
- "uniqueSession": false,
- "admins": [
- {
- "provenance": "Local AAA",
- "group": "admin"
}
], - "cookieName": "pronghorn_token",
- "brokerPrincipal": false
}, - "expressProps": {
- "description": "Express Server",
- "cacheControl": false,
- "timeout": 300000,
- "access_control_allow_origin": "*",
- "express_http": {
- "enable": false,
- "port": 1
}, - "express_https": {
- "enable": true,
- "port": 1,
- "key": "/opt/pronghorn/current/keys/key.pem",
- "passphrase": "string",
- "cert": "/opt/pronghorn/current/keys/cert.pem",
- "secureProtocol": "TLSv1_2_method",
- "ciphers": "ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256",
- "client_reneg_limit": 1,
- "client_reneg_window": 600
}, - "allowedHttpOptionalVerbs": [
- "ACL"
]
}, - "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_level": "error",
- "console_level": "error",
- "webserver": {
- "log_directory": "/var/log/pronghorn",
- "log_filename": "webserver.log"
}, - "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "redisProps": {
- "db": 0,
- "username": "admin",
- "password": "$ENC87eb897b507afc1796db49409dd1251c87872e85afd2469e",
- "maxRetriesPerRequest": 20,
- "maxHeartbeatWriteRetries": 20,
- "host": "127.0.0.1",
- "port": 6379
}, - "auditProps": {
- "description": "Audit",
- "audit": true,
- "brokerValidation": true
}, - "pathProps": {
- "description": "string",
- "encrypted": true
}, - "alarmProps": [
- {
- "description": "string",
- "ip": "127.0.0.1",
- "community": "public",
- "properties": {
- "retries": 1,
- "timeout": 5000,
- "transport": "udp4",
- "trapPort": 162,
- "version": "V1"
}, - "type": "trap"
}
], - "id": "profile1",
- "services": [
- "WorkflowBuilder"
], - "description": "An IAP Profile",
- "adapterStrategy": {
- "device": {
- "adapterTypes": [
- "NSO"
], - "exceptions": {
- "runCommand": ""
}
}
}, - "systemProps": {
- "shutdownTimeout": 3,
- "servicesBlacklist": [
- "Local AAA"
], - "launchDelay": 5,
- "launchTimeout": 60,
- "serviceHealthCheckInterval": 1,
- "serviceHealthCheckUnhealthyThreshold": 1,
- "deadProcessCheck": false,
- "deadProcessCheckInterval": 5,
- "deadProcessMaxPeriod": 15,
- "externalRequestTimeout": 5,
- "deviceCountPollingInterval": 24
}, - "integrationProps": {
- "threadCount": 5,
- "timeout": 15000
}, - "retryStrategy": {
- "maxRetries": 5,
- "retryResetTimer": 30000
}, - "serviceDirectory": "string"
}
}
{- "status": "OK",
- "message": "A sample success message",
- "data": {
- "uiProps": {
- "description": "UI",
- "layout": "node_modules/@itential/pronghorn-core/ui/views/layout.jade",
- "home": "node_modules/@itential/pronghorn-core/ui/views/home.jade",
- "login": "node_modules/@itential/pronghorn-core/ui/views/login.jade",
- "profile": "node_modules/@itential/pronghorn-core/ui/views/profile.jade",
- "fav_icon": "node_modules/@itential/pronghorn-core/ui/img/favicon.ico"
}, - "authenticationProps": {
- "description": "Authentication",
- "logoutTime": 20,
- "uniqueSession": false,
- "admins": [
- {
- "provenance": "Local AAA",
- "group": "admin"
}
], - "cookieName": "pronghorn_token",
- "brokerPrincipal": false
}, - "expressProps": {
- "description": "Express Server",
- "cacheControl": false,
- "timeout": 300000,
- "access_control_allow_origin": "*",
- "express_http": {
- "enable": false,
- "port": 1
}, - "express_https": {
- "enable": true,
- "port": 1,
- "key": "/opt/pronghorn/current/keys/key.pem",
- "passphrase": "string",
- "cert": "/opt/pronghorn/current/keys/cert.pem",
- "secureProtocol": "TLSv1_2_method",
- "ciphers": "ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256",
- "client_reneg_limit": 1,
- "client_reneg_window": 600
}, - "allowedHttpOptionalVerbs": [
- "ACL"
]
}, - "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_level": "error",
- "console_level": "error",
- "webserver": {
- "log_directory": "/var/log/pronghorn",
- "log_filename": "webserver.log"
}, - "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "redisProps": {
- "db": 0,
- "username": "admin",
- "password": "$ENC87eb897b507afc1796db49409dd1251c87872e85afd2469e",
- "maxRetriesPerRequest": 20,
- "maxHeartbeatWriteRetries": 20,
- "host": "127.0.0.1",
- "port": 6379
}, - "auditProps": {
- "description": "Audit",
- "audit": true,
- "brokerValidation": true
}, - "pathProps": {
- "description": "string",
- "encrypted": true
}, - "alarmProps": [
- {
- "description": "string",
- "ip": "127.0.0.1",
- "community": "public",
- "properties": {
- "retries": 1,
- "timeout": 5000,
- "transport": "udp4",
- "trapPort": 162,
- "version": "V1"
}, - "type": "trap"
}
], - "id": "profile1",
- "services": [
- "WorkflowBuilder"
], - "description": "An IAP Profile",
- "adapterStrategy": {
- "device": {
- "adapterTypes": [
- "NSO"
], - "exceptions": {
- "runCommand": ""
}
}
}, - "systemProps": {
- "shutdownTimeout": 3,
- "servicesBlacklist": [
- "Local AAA"
], - "launchDelay": 5,
- "launchTimeout": 60,
- "serviceHealthCheckInterval": 1,
- "serviceHealthCheckUnhealthyThreshold": 1,
- "deadProcessCheck": false,
- "deadProcessCheckInterval": 5,
- "deadProcessMaxPeriod": 15,
- "externalRequestTimeout": 5,
- "deviceCountPollingInterval": 24
}, - "prebuiltProps": {
- "repoConfigs": {
- "@itentialopensource": {
- "enabled": true,
- "type": "gitlab",
- "hostname": "gitlab.com",
- "path": "itentialopensource/pre-built-automations",
- "credentials": {
- "token": "uTc_P4pnMAEsLbQHmyOt"
}
}
}
}, - "integrationProps": {
- "threadCount": 5,
- "timeout": 15000
}, - "retryStrategy": {
- "maxRetries": 5,
- "retryResetTimer": 30000
}, - "serviceDirectory": "string"
}
}
Get all the profiles in IAP.
contains | string Examples: contains=profile1 contains |
containsField | string Examples: containsField=id containsField |
equals | string Examples: equals=profile1 equals |
equalsField | string Examples: equalsField=id equalsField |
startsWith | string Examples: startsWith=profile startsWith |
startsWithField | string Examples: startsWithField=id startsWithField |
skip | integer (iap_common-schema_skip) >= 0 Default: 0 Examples: skip=1 skip=10 skip=50 skip |
limit | integer (iap_common-schema_limit) >= 0 Default: 25 Examples: limit=1 limit=10 limit=50 limit |
sort | string (iap_common-schema_sort) Default: "name" Value: "name" sort |
order | integer (iap_common-schema_order) Default: 1 Enum: -1 1 order |
{- "results": [
- {
- "metadata": {
- "isActive": true,
- "activeSync": true
}, - "profile": {
- "uiProps": {
- "description": "UI",
- "layout": "node_modules/@itential/pronghorn-core/ui/views/layout.jade",
- "home": "node_modules/@itential/pronghorn-core/ui/views/home.jade",
- "login": "node_modules/@itential/pronghorn-core/ui/views/login.jade",
- "profile": "node_modules/@itential/pronghorn-core/ui/views/profile.jade",
- "fav_icon": "node_modules/@itential/pronghorn-core/ui/img/favicon.ico"
}, - "authenticationProps": {
- "description": "Authentication",
- "logoutTime": 20,
- "uniqueSession": false,
- "admins": [
- {
- "provenance": "Local AAA",
- "group": "admin"
}
], - "cookieName": "pronghorn_token",
- "brokerPrincipal": false
}, - "expressProps": {
- "description": "Express Server",
- "cacheControl": false,
- "timeout": 300000,
- "access_control_allow_origin": "*",
- "express_http": {
- "enable": false,
- "port": 1
}, - "express_https": {
- "enable": true,
- "port": 1,
- "key": "/opt/pronghorn/current/keys/key.pem",
- "passphrase": "string",
- "cert": "/opt/pronghorn/current/keys/cert.pem",
- "secureProtocol": "TLSv1_2_method",
- "ciphers": "ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256",
- "client_reneg_limit": 1,
- "client_reneg_window": 600
}, - "allowedHttpOptionalVerbs": [
- "ACL"
]
}, - "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_level": "error",
- "console_level": "error",
- "webserver": {
- "log_directory": "/var/log/pronghorn",
- "log_filename": "webserver.log"
}, - "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "redisProps": {
- "db": 0,
- "username": "admin",
- "password": "$ENC87eb897b507afc1796db49409dd1251c87872e85afd2469e",
- "maxRetriesPerRequest": 20,
- "maxHeartbeatWriteRetries": 20,
- "host": "127.0.0.1",
- "port": 6379
}, - "auditProps": {
- "description": "Audit",
- "audit": true,
- "brokerValidation": true
}, - "pathProps": {
- "description": "string",
- "encrypted": true
}, - "alarmProps": [
- {
- "description": "string",
- "ip": "127.0.0.1",
- "community": "public",
- "properties": {
- "retries": 1,
- "timeout": 5000,
- "transport": "udp4",
- "trapPort": 162,
- "version": "V1"
}, - "type": "trap"
}
], - "id": "profile1",
- "services": [
- "WorkflowBuilder"
], - "description": "An IAP Profile",
- "adapterStrategy": {
- "device": {
- "adapterTypes": [
- "NSO"
], - "exceptions": {
- "runCommand": ""
}
}
}, - "systemProps": {
- "shutdownTimeout": 3,
- "servicesBlacklist": [
- "Local AAA"
], - "launchDelay": 5,
- "launchTimeout": 60,
- "serviceHealthCheckInterval": 1,
- "serviceHealthCheckUnhealthyThreshold": 1,
- "deadProcessCheck": false,
- "deadProcessCheckInterval": 5,
- "deadProcessMaxPeriod": 15,
- "externalRequestTimeout": 5,
- "deviceCountPollingInterval": 24
}, - "prebuiltProps": {
- "repoConfigs": {
- "@itentialopensource": {
- "enabled": true,
- "type": "gitlab",
- "hostname": "gitlab.com",
- "path": "itentialopensource/pre-built-automations",
- "credentials": {
- "token": "uTc_P4pnMAEsLbQHmyOt"
}
}
}
}, - "integrationProps": {
- "threadCount": 5,
- "timeout": 15000
}, - "retryStrategy": {
- "maxRetries": 5,
- "retryResetTimer": 30000
}, - "serviceDirectory": "string"
}
}
], - "total": 1
}
Import a new profile in IAP.
request body
object (properties) |
{- "properties": {
- "uiProps": {
- "description": "UI",
- "layout": "node_modules/@itential/pronghorn-core/ui/views/layout.jade",
- "home": "node_modules/@itential/pronghorn-core/ui/views/home.jade",
- "login": "node_modules/@itential/pronghorn-core/ui/views/login.jade",
- "profile": "node_modules/@itential/pronghorn-core/ui/views/profile.jade",
- "fav_icon": "node_modules/@itential/pronghorn-core/ui/img/favicon.ico"
}, - "authenticationProps": {
- "description": "Authentication",
- "logoutTime": 20,
- "uniqueSession": false,
- "admins": [
- {
- "provenance": "Local AAA",
- "group": "admin"
}
], - "cookieName": "pronghorn_token",
- "brokerPrincipal": false
}, - "expressProps": {
- "description": "Express Server",
- "cacheControl": false,
- "timeout": 300000,
- "access_control_allow_origin": "*",
- "express_http": {
- "enable": false,
- "port": 1
}, - "express_https": {
- "enable": true,
- "port": 1,
- "key": "/opt/pronghorn/current/keys/key.pem",
- "passphrase": "string",
- "cert": "/opt/pronghorn/current/keys/cert.pem",
- "secureProtocol": "TLSv1_2_method",
- "ciphers": "ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256",
- "client_reneg_limit": 1,
- "client_reneg_window": 600
}, - "allowedHttpOptionalVerbs": [
- "ACL"
]
}, - "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_level": "error",
- "console_level": "error",
- "webserver": {
- "log_directory": "/var/log/pronghorn",
- "log_filename": "webserver.log"
}, - "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "redisProps": {
- "db": 0,
- "username": "admin",
- "password": "$ENC87eb897b507afc1796db49409dd1251c87872e85afd2469e",
- "maxRetriesPerRequest": 20,
- "maxHeartbeatWriteRetries": 20,
- "host": "127.0.0.1",
- "port": 6379
}, - "auditProps": {
- "description": "Audit",
- "audit": true,
- "brokerValidation": true
}, - "pathProps": {
- "description": "string",
- "encrypted": true
}, - "alarmProps": [
- {
- "description": "string",
- "ip": "127.0.0.1",
- "community": "public",
- "properties": {
- "retries": 1,
- "timeout": 5000,
- "transport": "udp4",
- "trapPort": 162,
- "version": "V1"
}, - "type": "trap"
}
], - "id": "profile1",
- "services": [
- "WorkflowBuilder"
], - "description": "An IAP Profile",
- "adapterStrategy": {
- "device": {
- "adapterTypes": [
- "NSO"
], - "exceptions": {
- "runCommand": ""
}
}
}, - "systemProps": {
- "shutdownTimeout": 3,
- "servicesBlacklist": [
- "Local AAA"
], - "launchDelay": 5,
- "launchTimeout": 60,
- "serviceHealthCheckInterval": 1,
- "serviceHealthCheckUnhealthyThreshold": 1,
- "deadProcessCheck": false,
- "deadProcessCheckInterval": 5,
- "deadProcessMaxPeriod": 15,
- "externalRequestTimeout": 5,
- "deviceCountPollingInterval": 24
}, - "integrationProps": {
- "threadCount": 5,
- "timeout": 15000
}, - "retryStrategy": {
- "maxRetries": 5,
- "retryResetTimer": 30000
}, - "serviceDirectory": "string",
- "migrationVersion": 0
}
}
{- "status": "OK",
- "message": "A sample success message",
- "data": {
- "uiProps": {
- "description": "UI",
- "layout": "node_modules/@itential/pronghorn-core/ui/views/layout.jade",
- "home": "node_modules/@itential/pronghorn-core/ui/views/home.jade",
- "login": "node_modules/@itential/pronghorn-core/ui/views/login.jade",
- "profile": "node_modules/@itential/pronghorn-core/ui/views/profile.jade",
- "fav_icon": "node_modules/@itential/pronghorn-core/ui/img/favicon.ico"
}, - "authenticationProps": {
- "description": "Authentication",
- "logoutTime": 20,
- "uniqueSession": false,
- "admins": [
- {
- "provenance": "Local AAA",
- "group": "admin"
}
], - "cookieName": "pronghorn_token",
- "brokerPrincipal": false
}, - "expressProps": {
- "description": "Express Server",
- "cacheControl": false,
- "timeout": 300000,
- "access_control_allow_origin": "*",
- "express_http": {
- "enable": false,
- "port": 1
}, - "express_https": {
- "enable": true,
- "port": 1,
- "key": "/opt/pronghorn/current/keys/key.pem",
- "passphrase": "string",
- "cert": "/opt/pronghorn/current/keys/cert.pem",
- "secureProtocol": "TLSv1_2_method",
- "ciphers": "ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256",
- "client_reneg_limit": 1,
- "client_reneg_window": 600
}, - "allowedHttpOptionalVerbs": [
- "ACL"
]
}, - "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_level": "error",
- "console_level": "error",
- "webserver": {
- "log_directory": "/var/log/pronghorn",
- "log_filename": "webserver.log"
}, - "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "redisProps": {
- "db": 0,
- "username": "admin",
- "password": "$ENC87eb897b507afc1796db49409dd1251c87872e85afd2469e",
- "maxRetriesPerRequest": 20,
- "maxHeartbeatWriteRetries": 20,
- "host": "127.0.0.1",
- "port": 6379
}, - "auditProps": {
- "description": "Audit",
- "audit": true,
- "brokerValidation": true
}, - "pathProps": {
- "description": "string",
- "encrypted": true
}, - "alarmProps": [
- {
- "description": "string",
- "ip": "127.0.0.1",
- "community": "public",
- "properties": {
- "retries": 1,
- "timeout": 5000,
- "transport": "udp4",
- "trapPort": 162,
- "version": "V1"
}, - "type": "trap"
}
], - "id": "profile1",
- "services": [
- "WorkflowBuilder"
], - "description": "An IAP Profile",
- "adapterStrategy": {
- "device": {
- "adapterTypes": [
- "NSO"
], - "exceptions": {
- "runCommand": ""
}
}
}, - "systemProps": {
- "shutdownTimeout": 3,
- "servicesBlacklist": [
- "Local AAA"
], - "launchDelay": 5,
- "launchTimeout": 60,
- "serviceHealthCheckInterval": 1,
- "serviceHealthCheckUnhealthyThreshold": 1,
- "deadProcessCheck": false,
- "deadProcessCheckInterval": 5,
- "deadProcessMaxPeriod": 15,
- "externalRequestTimeout": 5,
- "deviceCountPollingInterval": 24
}, - "prebuiltProps": {
- "repoConfigs": {
- "@itentialopensource": {
- "enabled": true,
- "type": "gitlab",
- "hostname": "gitlab.com",
- "path": "itentialopensource/pre-built-automations",
- "credentials": {
- "token": "uTc_P4pnMAEsLbQHmyOt"
}
}
}
}, - "integrationProps": {
- "threadCount": 5,
- "timeout": 15000
}, - "retryStrategy": {
- "maxRetries": 5,
- "retryResetTimer": 30000
}, - "serviceDirectory": "string"
}
}
Delete a profile from IAP.
id required | string (Profile ID) ^[^\/]+$ Examples: profile1 Contains the id for the selected profile. |
{- "status": "OK",
- "message": "A sample success message"
}
Get a single profile in the current IAP.
id required | string (Profile ID) ^[^\/]+$ Examples: profile1 Contains the id for the selected profile. |
{- "metadata": {
- "isActive": true,
- "activeSync": true
}, - "profile": {
- "uiProps": {
- "description": "UI",
- "layout": "node_modules/@itential/pronghorn-core/ui/views/layout.jade",
- "home": "node_modules/@itential/pronghorn-core/ui/views/home.jade",
- "login": "node_modules/@itential/pronghorn-core/ui/views/login.jade",
- "profile": "node_modules/@itential/pronghorn-core/ui/views/profile.jade",
- "fav_icon": "node_modules/@itential/pronghorn-core/ui/img/favicon.ico"
}, - "authenticationProps": {
- "description": "Authentication",
- "logoutTime": 20,
- "uniqueSession": false,
- "admins": [
- {
- "provenance": "Local AAA",
- "group": "admin"
}
], - "cookieName": "pronghorn_token",
- "brokerPrincipal": false
}, - "expressProps": {
- "description": "Express Server",
- "cacheControl": false,
- "timeout": 300000,
- "access_control_allow_origin": "*",
- "express_http": {
- "enable": false,
- "port": 1
}, - "express_https": {
- "enable": true,
- "port": 1,
- "key": "/opt/pronghorn/current/keys/key.pem",
- "passphrase": "string",
- "cert": "/opt/pronghorn/current/keys/cert.pem",
- "secureProtocol": "TLSv1_2_method",
- "ciphers": "ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256",
- "client_reneg_limit": 1,
- "client_reneg_window": 600
}, - "allowedHttpOptionalVerbs": [
- "ACL"
]
}, - "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_level": "error",
- "console_level": "error",
- "webserver": {
- "log_directory": "/var/log/pronghorn",
- "log_filename": "webserver.log"
}, - "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "redisProps": {
- "db": 0,
- "username": "admin",
- "password": "$ENC87eb897b507afc1796db49409dd1251c87872e85afd2469e",
- "maxRetriesPerRequest": 20,
- "maxHeartbeatWriteRetries": 20,
- "host": "127.0.0.1",
- "port": 6379
}, - "auditProps": {
- "description": "Audit",
- "audit": true,
- "brokerValidation": true
}, - "pathProps": {
- "description": "string",
- "encrypted": true
}, - "alarmProps": [
- {
- "description": "string",
- "ip": "127.0.0.1",
- "community": "public",
- "properties": {
- "retries": 1,
- "timeout": 5000,
- "transport": "udp4",
- "trapPort": 162,
- "version": "V1"
}, - "type": "trap"
}
], - "id": "profile1",
- "services": [
- "WorkflowBuilder"
], - "description": "An IAP Profile",
- "adapterStrategy": {
- "device": {
- "adapterTypes": [
- "NSO"
], - "exceptions": {
- "runCommand": ""
}
}
}, - "systemProps": {
- "shutdownTimeout": 3,
- "servicesBlacklist": [
- "Local AAA"
], - "launchDelay": 5,
- "launchTimeout": 60,
- "serviceHealthCheckInterval": 1,
- "serviceHealthCheckUnhealthyThreshold": 1,
- "deadProcessCheck": false,
- "deadProcessCheckInterval": 5,
- "deadProcessMaxPeriod": 15,
- "externalRequestTimeout": 5,
- "deviceCountPollingInterval": 24
}, - "prebuiltProps": {
- "repoConfigs": {
- "@itentialopensource": {
- "enabled": true,
- "type": "gitlab",
- "hostname": "gitlab.com",
- "path": "itentialopensource/pre-built-automations",
- "credentials": {
- "token": "uTc_P4pnMAEsLbQHmyOt"
}
}
}
}, - "integrationProps": {
- "threadCount": 5,
- "timeout": 15000
}, - "retryStrategy": {
- "maxRetries": 5,
- "retryResetTimer": 30000
}, - "serviceDirectory": "string"
}
}
Update a profile in IAP.
id required | string (Profile ID) ^[^\/]+$ Examples: profile1 Contains the id for the selected profile. |
request body
object (properties) |
{- "properties": {
- "uiProps": {
- "description": "UI",
- "layout": "node_modules/@itential/pronghorn-core/ui/views/layout.jade",
- "home": "node_modules/@itential/pronghorn-core/ui/views/home.jade",
- "login": "node_modules/@itential/pronghorn-core/ui/views/login.jade",
- "profile": "node_modules/@itential/pronghorn-core/ui/views/profile.jade",
- "fav_icon": "node_modules/@itential/pronghorn-core/ui/img/favicon.ico"
}, - "authenticationProps": {
- "description": "Authentication",
- "logoutTime": 20,
- "uniqueSession": false,
- "admins": [
- {
- "provenance": "Local AAA",
- "group": "admin"
}
], - "cookieName": "pronghorn_token",
- "brokerPrincipal": false
}, - "expressProps": {
- "description": "Express Server",
- "cacheControl": false,
- "timeout": 300000,
- "access_control_allow_origin": "*",
- "express_http": {
- "enable": false,
- "port": 1
}, - "express_https": {
- "enable": true,
- "port": 1,
- "key": "/opt/pronghorn/current/keys/key.pem",
- "passphrase": "string",
- "cert": "/opt/pronghorn/current/keys/cert.pem",
- "secureProtocol": "TLSv1_2_method",
- "ciphers": "ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256",
- "client_reneg_limit": 1,
- "client_reneg_window": 600
}, - "allowedHttpOptionalVerbs": [
- "ACL"
]
}, - "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_level": "error",
- "console_level": "error",
- "webserver": {
- "log_directory": "/var/log/pronghorn",
- "log_filename": "webserver.log"
}, - "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "redisProps": {
- "db": 0,
- "username": "admin",
- "password": "$ENC87eb897b507afc1796db49409dd1251c87872e85afd2469e",
- "maxRetriesPerRequest": 20,
- "maxHeartbeatWriteRetries": 20,
- "host": "127.0.0.1",
- "port": 6379
}, - "auditProps": {
- "description": "Audit",
- "audit": true,
- "brokerValidation": true
}, - "pathProps": {
- "description": "string",
- "encrypted": true
}, - "alarmProps": [
- {
- "description": "string",
- "ip": "127.0.0.1",
- "community": "public",
- "properties": {
- "retries": 1,
- "timeout": 5000,
- "transport": "udp4",
- "trapPort": 162,
- "version": "V1"
}, - "type": "trap"
}
], - "id": "profile1",
- "services": [
- "WorkflowBuilder"
], - "description": "An IAP Profile",
- "adapterStrategy": {
- "device": {
- "adapterTypes": [
- "NSO"
], - "exceptions": {
- "runCommand": ""
}
}
}, - "systemProps": {
- "shutdownTimeout": 3,
- "servicesBlacklist": [
- "Local AAA"
], - "launchDelay": 5,
- "launchTimeout": 60,
- "serviceHealthCheckInterval": 1,
- "serviceHealthCheckUnhealthyThreshold": 1,
- "deadProcessCheck": false,
- "deadProcessCheckInterval": 5,
- "deadProcessMaxPeriod": 15,
- "externalRequestTimeout": 5,
- "deviceCountPollingInterval": 24
}, - "integrationProps": {
- "threadCount": 5,
- "timeout": 15000
}, - "retryStrategy": {
- "maxRetries": 5,
- "retryResetTimer": 30000
}, - "serviceDirectory": "string"
}
}
{- "status": "OK",
- "message": "A sample success message",
- "data": {
- "uiProps": {
- "description": "UI",
- "layout": "node_modules/@itential/pronghorn-core/ui/views/layout.jade",
- "home": "node_modules/@itential/pronghorn-core/ui/views/home.jade",
- "login": "node_modules/@itential/pronghorn-core/ui/views/login.jade",
- "profile": "node_modules/@itential/pronghorn-core/ui/views/profile.jade",
- "fav_icon": "node_modules/@itential/pronghorn-core/ui/img/favicon.ico"
}, - "authenticationProps": {
- "description": "Authentication",
- "logoutTime": 20,
- "uniqueSession": false,
- "admins": [
- {
- "provenance": "Local AAA",
- "group": "admin"
}
], - "cookieName": "pronghorn_token",
- "brokerPrincipal": false
}, - "expressProps": {
- "description": "Express Server",
- "cacheControl": false,
- "timeout": 300000,
- "access_control_allow_origin": "*",
- "express_http": {
- "enable": false,
- "port": 1
}, - "express_https": {
- "enable": true,
- "port": 1,
- "key": "/opt/pronghorn/current/keys/key.pem",
- "passphrase": "string",
- "cert": "/opt/pronghorn/current/keys/cert.pem",
- "secureProtocol": "TLSv1_2_method",
- "ciphers": "ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256",
- "client_reneg_limit": 1,
- "client_reneg_window": 600
}, - "allowedHttpOptionalVerbs": [
- "ACL"
]
}, - "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_level": "error",
- "console_level": "error",
- "webserver": {
- "log_directory": "/var/log/pronghorn",
- "log_filename": "webserver.log"
}, - "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "redisProps": {
- "db": 0,
- "username": "admin",
- "password": "$ENC87eb897b507afc1796db49409dd1251c87872e85afd2469e",
- "maxRetriesPerRequest": 20,
- "maxHeartbeatWriteRetries": 20,
- "host": "127.0.0.1",
- "port": 6379
}, - "auditProps": {
- "description": "Audit",
- "audit": true,
- "brokerValidation": true
}, - "pathProps": {
- "description": "string",
- "encrypted": true
}, - "alarmProps": [
- {
- "description": "string",
- "ip": "127.0.0.1",
- "community": "public",
- "properties": {
- "retries": 1,
- "timeout": 5000,
- "transport": "udp4",
- "trapPort": 162,
- "version": "V1"
}, - "type": "trap"
}
], - "id": "profile1",
- "services": [
- "WorkflowBuilder"
], - "description": "An IAP Profile",
- "adapterStrategy": {
- "device": {
- "adapterTypes": [
- "NSO"
], - "exceptions": {
- "runCommand": ""
}
}
}, - "systemProps": {
- "shutdownTimeout": 3,
- "servicesBlacklist": [
- "Local AAA"
], - "launchDelay": 5,
- "launchTimeout": 60,
- "serviceHealthCheckInterval": 1,
- "serviceHealthCheckUnhealthyThreshold": 1,
- "deadProcessCheck": false,
- "deadProcessCheckInterval": 5,
- "deadProcessMaxPeriod": 15,
- "externalRequestTimeout": 5,
- "deviceCountPollingInterval": 24
}, - "prebuiltProps": {
- "repoConfigs": {
- "@itentialopensource": {
- "enabled": true,
- "type": "gitlab",
- "hostname": "gitlab.com",
- "path": "itentialopensource/pre-built-automations",
- "credentials": {
- "token": "uTc_P4pnMAEsLbQHmyOt"
}
}
}
}, - "integrationProps": {
- "threadCount": 5,
- "timeout": 15000
}, - "retryStrategy": {
- "maxRetries": 5,
- "retryResetTimer": 30000
}, - "serviceDirectory": "string"
}
}
Exports a single profile in the current IAP.
id required | string (Profile ID) ^[^\/]+$ Examples: profile1 Contains the id for the selected profile. |
{- "uiProps": {
- "description": "UI",
- "layout": "node_modules/@itential/pronghorn-core/ui/views/layout.jade",
- "home": "node_modules/@itential/pronghorn-core/ui/views/home.jade",
- "login": "node_modules/@itential/pronghorn-core/ui/views/login.jade",
- "profile": "node_modules/@itential/pronghorn-core/ui/views/profile.jade",
- "fav_icon": "node_modules/@itential/pronghorn-core/ui/img/favicon.ico"
}, - "authenticationProps": {
- "description": "Authentication",
- "logoutTime": 20,
- "uniqueSession": false,
- "admins": [
- {
- "provenance": "Local AAA",
- "group": "admin"
}
], - "cookieName": "pronghorn_token",
- "brokerPrincipal": false
}, - "expressProps": {
- "description": "Express Server",
- "cacheControl": false,
- "timeout": 300000,
- "access_control_allow_origin": "*",
- "express_http": {
- "enable": false,
- "port": 1
}, - "express_https": {
- "enable": true,
- "port": 1,
- "key": "/opt/pronghorn/current/keys/key.pem",
- "passphrase": "string",
- "cert": "/opt/pronghorn/current/keys/cert.pem",
- "secureProtocol": "TLSv1_2_method",
- "ciphers": "ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256",
- "client_reneg_limit": 1,
- "client_reneg_window": 600
}, - "allowedHttpOptionalVerbs": [
- "ACL"
]
}, - "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_level": "error",
- "console_level": "error",
- "webserver": {
- "log_directory": "/var/log/pronghorn",
- "log_filename": "webserver.log"
}, - "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "redisProps": {
- "db": 0,
- "username": "admin",
- "password": "$ENC87eb897b507afc1796db49409dd1251c87872e85afd2469e",
- "maxRetriesPerRequest": 20,
- "maxHeartbeatWriteRetries": 20,
- "host": "127.0.0.1",
- "port": 6379
}, - "auditProps": {
- "description": "Audit",
- "audit": true,
- "brokerValidation": true
}, - "pathProps": {
- "description": "string",
- "encrypted": true
}, - "alarmProps": [
- {
- "description": "string",
- "ip": "127.0.0.1",
- "community": "public",
- "properties": {
- "retries": 1,
- "timeout": 5000,
- "transport": "udp4",
- "trapPort": 162,
- "version": "V1"
}, - "type": "trap"
}
], - "id": "profile1",
- "services": [
- "WorkflowBuilder"
], - "description": "An IAP Profile",
- "adapterStrategy": {
- "device": {
- "adapterTypes": [
- "NSO"
], - "exceptions": {
- "runCommand": ""
}
}
}, - "systemProps": {
- "shutdownTimeout": 3,
- "servicesBlacklist": [
- "Local AAA"
], - "launchDelay": 5,
- "launchTimeout": 60,
- "serviceHealthCheckInterval": 1,
- "serviceHealthCheckUnhealthyThreshold": 1,
- "deadProcessCheck": false,
- "deadProcessCheckInterval": 5,
- "deadProcessMaxPeriod": 15,
- "externalRequestTimeout": 5,
- "deviceCountPollingInterval": 24
}, - "prebuiltProps": {
- "repoConfigs": {
- "@itentialopensource": {
- "enabled": true,
- "type": "gitlab",
- "hostname": "gitlab.com",
- "path": "itentialopensource/pre-built-automations",
- "credentials": {
- "token": "uTc_P4pnMAEsLbQHmyOt"
}
}
}
}, - "integrationProps": {
- "threadCount": 5,
- "timeout": 15000
}, - "retryStrategy": {
- "maxRetries": 5,
- "retryResetTimer": 30000
}, - "serviceDirectory": "string"
}
Switch the active profile in the current IAP.
id required | string (Profile ID) ^[^\/]+$ Examples: profile1 Contains the id for the selected profile. |
{- "status": "OK",
- "message": "A sample success message"
}
Get the adapter schema.
name required | string (name) Examples: redis email The name for the selected adapter. |
{- "schema": {
- "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_timezone_offset": -5,
- "log_level": "error",
- "console_level": "error",
- "metrics_filename": "metrics.log",
- "metrics_max_files": 31,
- "metrics_rotation_interval": "7d",
- "metrics_rotation_size": "10M",
- "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "isEncrypted": true,
- "profiling": true,
- "model": "@itential/adapter-local_aaa",
- "name": "Local AAA",
- "type": "Application",
- "properties": { },
- "virtual": true,
- "systemProps": {
- "maxOldSpaceSize": 2048
}, - "eventDeduplication": {
- "active": true,
- "cacheTtl": 10000,
- "uniqueProps": [
- "/messageId"
]
}
}, - "decorators": [
- {
- "type": "encryption",
- "pointer": "/redisProps/password"
}
]
}
Get the application schema.
name required | string (name) Examples: redis email The name for the selected application. |
{- "schema": {
- "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_timezone_offset": -5,
- "log_level": "error",
- "console_level": "error",
- "metrics_filename": "metrics.log",
- "metrics_max_files": 31,
- "metrics_rotation_interval": "7d",
- "metrics_rotation_size": "10M",
- "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "isEncrypted": true,
- "profiling": true,
- "model": "@itential/adapter-local_aaa",
- "name": "Local AAA",
- "type": "Application",
- "properties": { },
- "virtual": true,
- "systemProps": {
- "maxOldSpaceSize": 2048
}, - "eventDeduplication": {
- "active": true,
- "cacheTtl": 10000,
- "uniqueProps": [
- "/messageId"
]
}
}, - "decorators": [
- {
- "type": "encryption",
- "pointer": "/redisProps/password"
}
]
}
Get the integration schema.
name required | string (name) Examples: ghv5 ghv6 The name for the selected integration. |
{- "schema": {
- "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_timezone_offset": -5,
- "log_level": "error",
- "console_level": "error",
- "metrics_filename": "metrics.log",
- "metrics_max_files": 31,
- "metrics_rotation_interval": "7d",
- "metrics_rotation_size": "10M",
- "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "isEncrypted": true,
- "profiling": true,
- "model": "@itential/adapter-local_aaa",
- "name": "Local AAA",
- "type": "Application",
- "properties": { },
- "virtual": true,
- "systemProps": {
- "maxOldSpaceSize": 2048
}, - "eventDeduplication": {
- "active": true,
- "cacheTtl": 10000,
- "uniqueProps": [
- "/messageId"
]
}
}, - "decorators": [
- {
- "type": "encryption",
- "pointer": "/redisProps/password"
}
]
}
Get the profile schema.
{- "schema": {
- "uiProps": {
- "description": "UI",
- "layout": "node_modules/@itential/pronghorn-core/ui/views/layout.jade",
- "home": "node_modules/@itential/pronghorn-core/ui/views/home.jade",
- "login": "node_modules/@itential/pronghorn-core/ui/views/login.jade",
- "profile": "node_modules/@itential/pronghorn-core/ui/views/profile.jade",
- "fav_icon": "node_modules/@itential/pronghorn-core/ui/img/favicon.ico"
}, - "authenticationProps": {
- "description": "Authentication",
- "logoutTime": 20,
- "uniqueSession": false,
- "admins": [
- {
- "provenance": "Local AAA",
- "group": "admin"
}
], - "cookieName": "pronghorn_token",
- "brokerPrincipal": false
}, - "expressProps": {
- "description": "Express Server",
- "cacheControl": false,
- "timeout": 300000,
- "access_control_allow_origin": "*",
- "express_http": {
- "enable": false,
- "port": 1
}, - "express_https": {
- "enable": true,
- "port": 1,
- "key": "/opt/pronghorn/current/keys/key.pem",
- "passphrase": "string",
- "cert": "/opt/pronghorn/current/keys/cert.pem",
- "secureProtocol": "TLSv1_2_method",
- "ciphers": "ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256",
- "client_reneg_limit": 1,
- "client_reneg_window": 600
}, - "allowedHttpOptionalVerbs": [
- "ACL"
]
}, - "loggerProps": {
- "description": "Logging",
- "log_directory": "/var/log/pronghorn",
- "log_filename": "pronghorn.log",
- "log_max_file_size": 1048576,
- "log_max_files": 100,
- "log_level": "error",
- "console_level": "error",
- "webserver": {
- "log_directory": "/var/log/pronghorn",
- "log_filename": "webserver.log"
}, - "syslog": {
- "level": "debug",
- "host": "localhost",
- "port": 514,
- "protocol": "udp4",
- "facility": "local0",
- "type": "5424",
- "path": "/dev/log",
- "pid": "process.pid",
- "localhost": "localhost",
- "app_name": "process.title",
- "eol": "CR"
}
}, - "redisProps": {
- "db": 0,
- "username": "admin",
- "password": "$ENC87eb897b507afc1796db49409dd1251c87872e85afd2469e",
- "maxRetriesPerRequest": 20,
- "maxHeartbeatWriteRetries": 20,
- "host": "127.0.0.1",
- "port": 6379
}, - "auditProps": {
- "description": "Audit",
- "audit": true,
- "brokerValidation": true
}, - "pathProps": {
- "description": "string",
- "encrypted": true
}, - "alarmProps": [
- {
- "description": "string",
- "ip": "127.0.0.1",
- "community": "public",
- "properties": {
- "retries": 1,
- "timeout": 5000,
- "transport": "udp4",
- "trapPort": 162,
- "version": "V1"
}, - "type": "trap"
}
], - "id": "profile1",
- "services": [
- "WorkflowBuilder"
], - "description": "An IAP Profile",
- "adapterStrategy": {
- "device": {
- "adapterTypes": [
- "NSO"
], - "exceptions": {
- "runCommand": ""
}
}
}, - "systemProps": {
- "shutdownTimeout": 3,
- "servicesBlacklist": [
- "Local AAA"
], - "launchDelay": 5,
- "launchTimeout": 60,
- "serviceHealthCheckInterval": 1,
- "serviceHealthCheckUnhealthyThreshold": 1,
- "deadProcessCheck": false,
- "deadProcessCheckInterval": 5,
- "deadProcessMaxPeriod": 15,
- "externalRequestTimeout": 5,
- "deviceCountPollingInterval": 24
}, - "prebuiltProps": {
- "repoConfigs": {
- "@itentialopensource": {
- "enabled": true,
- "type": "gitlab",
- "hostname": "gitlab.com",
- "path": "itentialopensource/pre-built-automations",
- "credentials": {
- "token": "uTc_P4pnMAEsLbQHmyOt"
}
}
}
}, - "integrationProps": {
- "threadCount": 5,
- "timeout": 15000
}, - "retryStrategy": {
- "maxRetries": 5,
- "retryResetTimer": 30000
}, - "serviceDirectory": "string"
}, - "decorators": [
- {
- "type": "encryption",
- "pointer": "/redisProps/password"
}
]
}
Search through IAP for results from various collections that match your search term, as well as for results that have tags that match your search term.
request body
object (data) |
{- "data": {
- "text": "test",
- "limit": 20,
- "skip": 5
}
}
{- "results": [
- {
- "label": "Forms",
- "type": "forms",
- "results": [
- {
- "_id": "912fd926-5391-48ff-b265-394d00640f4f",
- "name": "testForm",
- "description": "Hi I describe the result",
- "url": "/formbuilder/edit?formid=912fd926-5391-48ff-b265-394d00640f4f",
- "tags": [
- {
- "_id": "5c8fa4a8d8e04500b1b2f28f",
- "description": "Hi I describe the tag",
- "name": "testTag"
}
]
}
], - "count": 0
}
]
}
Create an SSO configuration
request body
object (iap_sso-schema) Schema describing an SSO configuration object |
{- "config": {
- "name": "Auth0",
- "ssoType": "saml",
- "settings": {
- "description": "This sso configuration connects to Okta",
- "certificate": "MIIDrjCCApagAwIBAgIGAYbHI140MA0GCSqGSIb3DQEBCwUAMIGXMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEU==",
- "samlEmailAttribute": "mail",
- "samlUserNameAttribute": "userName",
- "samlGroupsAttribute": "groups",
- "samlFirstNameAttribute": "firstName",
- "forceLogin": false
}, - "active": false,
- "tested": true
}
}
{- "status": "OK",
- "message": "A sample success message",
- "data": {
- "name": "Auth0",
- "ssoType": "saml",
- "settings": {
- "description": "This sso configuration connects to Okta",
- "certificate": "MIIDrjCCApagAwIBAgIGAYbHI140MA0GCSqGSIb3DQEBCwUAMIGXMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEU==",
- "samlEmailAttribute": "mail",
- "samlUserNameAttribute": "userName",
- "samlGroupsAttribute": "groups",
- "samlFirstNameAttribute": "firstName",
- "forceLogin": false
}, - "active": false,
- "tested": true
}
}
Get all SSO configurations
contains | string Examples: contains=GitHub contains |
containsField | string Enum: "name" "samlEmailAttribute" "samlUserNameAttribute" "samlGroupsAttribute" "samlFirstNameAttribute" "ssoType" containsField |
equals | string Examples: equals=Okta equals |
equalsField | string Enum: "name" "samlEmailAttribute" "samlUserNameAttribute" "samlGroupsAttribute" "samlFirstNameAttribute" "ssoType" equalsField |
startsWith | string Examples: startsWith=Okta startsWith |
startsWithField | string Enum: "name" "samlEmailAttribute" "samlUserNameAttribute" "samlGroupsAttribute" "samlFirstNameAttribute" "ssoType" startsWithField |
skip | integer (iap_common-schema_skip) >= 0 Default: 0 Examples: skip=1 skip=10 skip=50 skip |
limit | integer (iap_common-schema_limit) >= 0 Default: 25 Examples: limit=1 limit=10 limit=50 limit |
sort | string (iap_common-schema_sort) Default: "name" Value: "name" sort |
order | integer (iap_common-schema_order) Default: 1 Enum: -1 1 order |
{- "results": [
- {
- "name": "Auth0",
- "ssoType": "saml",
- "settings": {
- "description": "This sso configuration connects to Okta",
- "certificate": "MIIDrjCCApagAwIBAgIGAYbHI140MA0GCSqGSIb3DQEBCwUAMIGXMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEU==",
- "samlEmailAttribute": "mail",
- "samlUserNameAttribute": "userName",
- "samlGroupsAttribute": "groups",
- "samlFirstNameAttribute": "firstName",
- "forceLogin": false
}, - "active": false,
- "tested": true
}
], - "total": 1
}
Delete an SSO configuration
name required | string (name) Examples: Auth0 Okta The name of the SSO configuration to delete |
{- "status": "OK",
- "message": "A sample success message"
}
Get a single SSO configuration
name required | string (name) Examples: Auth0 Okta The name of the SSO configuration to get |
{- "name": "Auth0",
- "ssoType": "saml",
- "settings": {
- "description": "This sso configuration connects to Okta",
- "certificate": "MIIDrjCCApagAwIBAgIGAYbHI140MA0GCSqGSIb3DQEBCwUAMIGXMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEU==",
- "samlEmailAttribute": "mail",
- "samlUserNameAttribute": "userName",
- "samlGroupsAttribute": "groups",
- "samlFirstNameAttribute": "firstName",
- "forceLogin": false
}, - "active": false,
- "tested": true
}
Update an SSO configuration
name required | string (result) Examples: Auth0 Okta The name of the SSO configuration to delete |
request body
object (iap_sso-schema) Schema describing an SSO configuration object |
{- "config": {
- "name": "Auth0",
- "ssoType": "saml",
- "settings": {
- "description": "This sso configuration connects to Okta",
- "certificate": "MIIDrjCCApagAwIBAgIGAYbHI140MA0GCSqGSIb3DQEBCwUAMIGXMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEU==",
- "samlEmailAttribute": "mail",
- "samlUserNameAttribute": "userName",
- "samlGroupsAttribute": "groups",
- "samlFirstNameAttribute": "firstName",
- "forceLogin": false
}, - "active": false,
- "tested": true
}
}
{- "status": "OK",
- "message": "A sample success message",
- "data": {
- "name": "Auth0",
- "ssoType": "saml",
- "settings": {
- "description": "This sso configuration connects to Okta",
- "certificate": "MIIDrjCCApagAwIBAgIGAYbHI140MA0GCSqGSIb3DQEBCwUAMIGXMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEU==",
- "samlEmailAttribute": "mail",
- "samlUserNameAttribute": "userName",
- "samlGroupsAttribute": "groups",
- "samlFirstNameAttribute": "firstName",
- "forceLogin": false
}, - "active": false,
- "tested": true
}
}