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"
}
}
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"
]
}
}
}
Clear a stale discovery lock. This should only be used if you are certain no discovery is currently running. A stale lock may result from IAP or this app crashing while a discovery-related call was in progress.
request body
| id |
string (id)
|
{- "id": "string"
}
"string"
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
}
{ }Removes 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"
}
]
}
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": "string",
- "uuid": "string",
- "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,
- "sla": 0,
- "tasks": {
- "workflow_start": {
- "name": "string",
- "summary": "string",
- "groups": [
- "62a1f3d2ebedfc54e6e0065c"
], - "nodeLocation": {
- "x": 0,
- "y": 0
}
}, - "workflow_end": {
- "name": "string",
- "summary": "string",
- "groups": [
- "62a1f3d2ebedfc54e6e0065c"
], - "nodeLocation": {
- "x": 0,
- "y": 0
}
}, - "error_handler": {
- "nodeLocation": {
- "x": 0,
- "y": 0
}, - "name": "childJob",
- "summary": "string",
- "description": "string",
- "app": "string",
- "variables": {
- "incoming": { },
- "outgoing": { },
- "error": "string",
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
]
}, - "deprecated": true,
- "scheduled": true,
- "groups": [
- "62a1f3d2ebedfc54e6e0065c"
], - "type": "operation",
- "retrySettings": {
- "state": [
- "success"
], - "autoRetry": true,
- "limit": 10,
- "delay": 1000,
- "count": 5
}
}
}, - "transitions": {
- "workflow_start": { },
- "workflow_end": { },
- "error_handler": { }
}, - "errorHandler": { },
- "font_size": 12,
- "groups": [
- "62a1f3d2ebedfc54e6e0065c"
], - "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": [
- "string"
], - "canvasVersion": 3,
- "encodingVersion": 1,
- "inputSchema": { },
- "outputSchema": { },
- "outputData": {
- "property1": {
- "taskId": "string",
- "taskPointer": "/json/pointer"
}, - "property2": {
- "taskId": "string",
- "taskPointer": "/json/pointer"
}
}, - "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
], - "migrationVersion": 0,
- "scenarios": [
- {
- "name": "string",
- "description": "string",
- "input": { },
- "taskMocks": { },
- "last_updated": "2019-08-24T14:15:22Z",
- "last_updated_by": {
- "username": "admin@pronghorn",
- "provenance": "Pronghorn"
}
}
]
}
], - "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": "string",
- "uuid": "string",
- "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,
- "sla": 0,
- "tasks": {
- "workflow_start": {
- "name": "string",
- "summary": "string",
- "groups": [
- "62a1f3d2ebedfc54e6e0065c"
], - "nodeLocation": {
- "x": 0,
- "y": 0
}
}, - "workflow_end": {
- "name": "string",
- "summary": "string",
- "groups": [
- "62a1f3d2ebedfc54e6e0065c"
], - "nodeLocation": {
- "x": 0,
- "y": 0
}
}, - "error_handler": {
- "nodeLocation": {
- "x": 0,
- "y": 0
}, - "name": "childJob",
- "summary": "string",
- "description": "string",
- "app": "string",
- "variables": {
- "incoming": { },
- "outgoing": { },
- "error": "string",
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
]
}, - "deprecated": true,
- "scheduled": true,
- "groups": [
- "62a1f3d2ebedfc54e6e0065c"
], - "type": "operation",
- "retrySettings": {
- "state": [
- "success"
], - "autoRetry": true,
- "limit": 10,
- "delay": 1000,
- "count": 5
}
}
}, - "transitions": {
- "workflow_start": { },
- "workflow_end": { },
- "error_handler": { }
}, - "errorHandler": { },
- "font_size": 12,
- "groups": [
- "62a1f3d2ebedfc54e6e0065c"
], - "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": [
- "string"
], - "canvasVersion": 3,
- "encodingVersion": 1,
- "inputSchema": { },
- "outputSchema": { },
- "outputData": {
- "property1": {
- "taskId": "string",
- "taskPointer": "/json/pointer"
}, - "property2": {
- "taskId": "string",
- "taskPointer": "/json/pointer"
}
}, - "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
], - "migrationVersion": 0,
- "scenarios": [
- {
- "name": "string",
- "description": "string",
- "input": { },
- "taskMocks": { },
- "last_updated": "2019-08-24T14:15:22Z",
- "last_updated_by": {
- "username": "admin@pronghorn",
- "provenance": "Pronghorn"
}
}
]
}
Creates a new workflow document.
request body
|
object
(automation-studio_workflowDocument)
Third generation workflow document as it exists in the database |
{- "automation": {
- "_id": "string",
- "uuid": "string",
- "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,
- "sla": 0,
- "tasks": {
- "workflow_start": {
- "name": "string",
- "summary": "string",
- "groups": [
- "62a1f3d2ebedfc54e6e0065c"
], - "nodeLocation": {
- "x": 0,
- "y": 0
}
}, - "workflow_end": {
- "name": "string",
- "summary": "string",
- "groups": [
- "62a1f3d2ebedfc54e6e0065c"
], - "nodeLocation": {
- "x": 0,
- "y": 0
}
}, - "error_handler": {
- "nodeLocation": {
- "x": 0,
- "y": 0
}, - "name": "childJob",
- "summary": "string",
- "description": "string",
- "app": "string",
- "variables": {
- "incoming": { },
- "outgoing": { },
- "error": "string",
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
]
}, - "deprecated": true,
- "scheduled": true,
- "groups": [
- "62a1f3d2ebedfc54e6e0065c"
], - "type": "operation",
- "retrySettings": {
- "state": [
- "success"
], - "autoRetry": true,
- "limit": 10,
- "delay": 1000,
- "count": 5
}
}
}, - "transitions": {
- "workflow_start": { },
- "workflow_end": { },
- "error_handler": { }
}, - "errorHandler": { },
- "font_size": 12,
- "groups": [
- "62a1f3d2ebedfc54e6e0065c"
], - "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": [
- "string"
], - "canvasVersion": 3,
- "encodingVersion": 1,
- "inputSchema": { },
- "outputSchema": { },
- "outputData": {
- "property1": {
- "taskId": "string",
- "taskPointer": "/json/pointer"
}, - "property2": {
- "taskId": "string",
- "taskPointer": "/json/pointer"
}
}, - "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
], - "migrationVersion": 0,
- "scenarios": [
- {
- "name": "string",
- "description": "string",
- "input": { },
- "taskMocks": { },
- "last_updated": "2019-08-24T14:15:22Z",
- "last_updated_by": {
- "username": "admin@pronghorn",
- "provenance": "Pronghorn"
}
}
]
}
}
{- "created": {
- "_id": "string",
- "uuid": "string",
- "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,
- "sla": 0,
- "tasks": {
- "workflow_start": {
- "name": "string",
- "summary": "string",
- "groups": [
- "62a1f3d2ebedfc54e6e0065c"
], - "nodeLocation": {
- "x": 0,
- "y": 0
}
}, - "workflow_end": {
- "name": "string",
- "summary": "string",
- "groups": [
- "62a1f3d2ebedfc54e6e0065c"
], - "nodeLocation": {
- "x": 0,
- "y": 0
}
}, - "error_handler": {
- "nodeLocation": {
- "x": 0,
- "y": 0
}, - "name": "childJob",
- "summary": "string",
- "description": "string",
- "app": "string",
- "variables": {
- "incoming": { },
- "outgoing": { },
- "error": "string",
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
]
}, - "deprecated": true,
- "scheduled": true,
- "groups": [
- "62a1f3d2ebedfc54e6e0065c"
], - "type": "operation",
- "retrySettings": {
- "state": [
- "success"
], - "autoRetry": true,
- "limit": 10,
- "delay": 1000,
- "count": 5
}
}
}, - "transitions": {
- "workflow_start": { },
- "workflow_end": { },
- "error_handler": { }
}, - "errorHandler": { },
- "font_size": 12,
- "groups": [
- "62a1f3d2ebedfc54e6e0065c"
], - "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": [
- "string"
], - "canvasVersion": 3,
- "encodingVersion": 1,
- "inputSchema": { },
- "outputSchema": { },
- "outputData": {
- "property1": {
- "taskId": "string",
- "taskPointer": "/json/pointer"
}, - "property2": {
- "taskId": "string",
- "taskPointer": "/json/pointer"
}
}, - "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
], - "migrationVersion": 0,
- "scenarios": [
- {
- "name": "string",
- "description": "string",
- "input": { },
- "taskMocks": { },
- "last_updated": "2019-08-24T14:15:22Z",
- "last_updated_by": {
- "username": "admin@pronghorn",
- "provenance": "Pronghorn"
}
}
]
}, - "edit": "string"
}
Replaces a workflow document.
| id
required
|
string (id)
Workflow id. |
request body
|
object
(automation-studio_workflowDocument)
Third generation workflow document as it exists in the database |
{- "update": {
- "_id": "string",
- "uuid": "string",
- "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,
- "sla": 0,
- "tasks": {
- "workflow_start": {
- "name": "string",
- "summary": "string",
- "groups": [
- "62a1f3d2ebedfc54e6e0065c"
], - "nodeLocation": {
- "x": 0,
- "y": 0
}
}, - "workflow_end": {
- "name": "string",
- "summary": "string",
- "groups": [
- "62a1f3d2ebedfc54e6e0065c"
], - "nodeLocation": {
- "x": 0,
- "y": 0
}
}, - "error_handler": {
- "nodeLocation": {
- "x": 0,
- "y": 0
}, - "name": "childJob",
- "summary": "string",
- "description": "string",
- "app": "string",
- "variables": {
- "incoming": { },
- "outgoing": { },
- "error": "string",
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
]
}, - "deprecated": true,
- "scheduled": true,
- "groups": [
- "62a1f3d2ebedfc54e6e0065c"
], - "type": "operation",
- "retrySettings": {
- "state": [
- "success"
], - "autoRetry": true,
- "limit": 10,
- "delay": 1000,
- "count": 5
}
}
}, - "transitions": {
- "workflow_start": { },
- "workflow_end": { },
- "error_handler": { }
}, - "errorHandler": { },
- "font_size": 12,
- "groups": [
- "62a1f3d2ebedfc54e6e0065c"
], - "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": [
- "string"
], - "canvasVersion": 3,
- "encodingVersion": 1,
- "inputSchema": { },
- "outputSchema": { },
- "outputData": {
- "property1": {
- "taskId": "string",
- "taskPointer": "/json/pointer"
}, - "property2": {
- "taskId": "string",
- "taskPointer": "/json/pointer"
}
}, - "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
], - "migrationVersion": 0,
- "scenarios": [
- {
- "name": "string",
- "description": "string",
- "input": { },
- "taskMocks": { },
- "last_updated": "2019-08-24T14:15:22Z",
- "last_updated_by": {
- "username": "admin@pronghorn",
- "provenance": "Pronghorn"
}
}
]
}
}
{- "updated": {
- "_id": "string",
- "uuid": "string",
- "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,
- "sla": 0,
- "tasks": {
- "workflow_start": {
- "name": "string",
- "summary": "string",
- "groups": [
- "62a1f3d2ebedfc54e6e0065c"
], - "nodeLocation": {
- "x": 0,
- "y": 0
}
}, - "workflow_end": {
- "name": "string",
- "summary": "string",
- "groups": [
- "62a1f3d2ebedfc54e6e0065c"
], - "nodeLocation": {
- "x": 0,
- "y": 0
}
}, - "error_handler": {
- "nodeLocation": {
- "x": 0,
- "y": 0
}, - "name": "childJob",
- "summary": "string",
- "description": "string",
- "app": "string",
- "variables": {
- "incoming": { },
- "outgoing": { },
- "error": "string",
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
]
}, - "deprecated": true,
- "scheduled": true,
- "groups": [
- "62a1f3d2ebedfc54e6e0065c"
], - "type": "operation",
- "retrySettings": {
- "state": [
- "success"
], - "autoRetry": true,
- "limit": 10,
- "delay": 1000,
- "count": 5
}
}
}, - "transitions": {
- "workflow_start": { },
- "workflow_end": { },
- "error_handler": { }
}, - "errorHandler": { },
- "font_size": 12,
- "groups": [
- "62a1f3d2ebedfc54e6e0065c"
], - "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": [
- "string"
], - "canvasVersion": 3,
- "encodingVersion": 1,
- "inputSchema": { },
- "outputSchema": { },
- "outputData": {
- "property1": {
- "taskId": "string",
- "taskPointer": "/json/pointer"
}, - "property2": {
- "taskId": "string",
- "taskPointer": "/json/pointer"
}
}, - "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
], - "migrationVersion": 0,
- "scenarios": [
- {
- "name": "string",
- "description": "string",
- "input": { },
- "taskMocks": { },
- "last_updated": "2019-08-24T14:15:22Z",
- "last_updated_by": {
- "username": "admin@pronghorn",
- "provenance": "Pronghorn"
}
}
]
}, - "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",
- "uuid": "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": 0,
- "y": 100
}, - "workflow_end": {
- "name": "string",
- "summary": "string",
- "groups": [
- {
- "name": "Admin",
- "provenance": "Pronghorn"
}
], - "x": 0,
- "y": 100
}, - "error_handler": {
- "x": 0,
- "y": 100,
- "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",
- "retrySettings": {
- "state": [
- "success"
], - "autoRetry": true,
- "limit": 10,
- "delay": 1000,
- "count": 5
}
}
}, - "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"
}, - "createdBy": "string",
- "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": {
- "property1": {
- "taskId": "string",
- "taskPointer": "/json/pointer"
}, - "property2": {
- "taskId": "string",
- "taskPointer": "/json/pointer"
}
}, - "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
], - "migrationVersion": 0,
- "scenarios": [
- {
- "name": "string",
- "description": "string",
- "input": { },
- "taskMocks": { },
- "last_updated": "2019-08-24T14:15:22Z",
- "last_updated_by": {
- "username": "admin@pronghorn",
- "provenance": "Pronghorn"
}
}
]
}
]
}
{- "imported": [
- {
- "success": true,
- "message": "string",
- "original": {
- "_id": "string",
- "uuid": "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": 0,
- "y": 100
}, - "workflow_end": {
- "name": "string",
- "summary": "string",
- "groups": [
- {
- "name": "Admin",
- "provenance": "Pronghorn"
}
], - "x": 0,
- "y": 100
}, - "error_handler": {
- "x": 0,
- "y": 100,
- "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",
- "retrySettings": {
- "state": [
- "success"
], - "autoRetry": true,
- "limit": 10,
- "delay": 1000,
- "count": 5
}
}
}, - "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"
}, - "createdBy": "string",
- "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": {
- "property1": {
- "taskId": "string",
- "taskPointer": "/json/pointer"
}, - "property2": {
- "taskId": "string",
- "taskPointer": "/json/pointer"
}
}, - "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
], - "migrationVersion": 0,
- "scenarios": [
- {
- "name": "string",
- "description": "string",
- "input": { },
- "taskMocks": { },
- "last_updated": "2019-08-24T14:15:22Z",
- "last_updated_by": {
- "username": "admin@pronghorn",
- "provenance": "Pronghorn"
}
}
]
}, - "created": {
- "_id": "string",
- "uuid": "string",
- "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,
- "sla": 0,
- "tasks": {
- "workflow_start": {
- "name": "string",
- "summary": "string",
- "groups": [
- "62a1f3d2ebedfc54e6e0065c"
], - "nodeLocation": {
- "x": 0,
- "y": 0
}
}, - "workflow_end": {
- "name": "string",
- "summary": "string",
- "groups": [
- "62a1f3d2ebedfc54e6e0065c"
], - "nodeLocation": {
- "x": 0,
- "y": 0
}
}, - "error_handler": {
- "nodeLocation": {
- "x": 0,
- "y": 0
}, - "name": "childJob",
- "summary": "string",
- "description": "string",
- "app": "string",
- "variables": {
- "incoming": { },
- "outgoing": { },
- "error": "string",
- "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
]
}, - "deprecated": true,
- "scheduled": true,
- "groups": [
- "62a1f3d2ebedfc54e6e0065c"
], - "type": "operation",
- "retrySettings": {
- "state": [
- "success"
], - "autoRetry": true,
- "limit": 10,
- "delay": 1000,
- "count": 5
}
}
}, - "transitions": {
- "workflow_start": { },
- "workflow_end": { },
- "error_handler": { }
}, - "errorHandler": { },
- "font_size": 12,
- "groups": [
- "62a1f3d2ebedfc54e6e0065c"
], - "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": [
- "string"
], - "canvasVersion": 3,
- "encodingVersion": 1,
- "inputSchema": { },
- "outputSchema": { },
- "outputData": {
- "property1": {
- "taskId": "string",
- "taskPointer": "/json/pointer"
}, - "property2": {
- "taskId": "string",
- "taskPointer": "/json/pointer"
}
}, - "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
], - "migrationVersion": 0,
- "scenarios": [
- {
- "name": "string",
- "description": "string",
- "input": { },
- "taskMocks": { },
- "last_updated": "2019-08-24T14:15:22Z",
- "last_updated_by": {
- "username": "admin@pronghorn",
- "provenance": "Pronghorn"
}
}
]
}, - "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",
- "uuid": "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": 0,
- "y": 100
}, - "workflow_end": {
- "name": "string",
- "summary": "string",
- "groups": [
- {
- "name": "Admin",
- "provenance": "Pronghorn"
}
], - "x": 0,
- "y": 100
}, - "error_handler": {
- "x": 0,
- "y": 100,
- "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",
- "retrySettings": {
- "state": [
- "success"
], - "autoRetry": true,
- "limit": 10,
- "delay": 1000,
- "count": 5
}
}
}, - "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"
}, - "createdBy": "string",
- "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": {
- "property1": {
- "taskId": "string",
- "taskPointer": "/json/pointer"
}, - "property2": {
- "taskId": "string",
- "taskPointer": "/json/pointer"
}
}, - "decorators": [
- {
- "type": "encryption",
- "pointer": "/json/pointer"
}
], - "migrationVersion": 0,
- "scenarios": [
- {
- "name": "string",
- "description": "string",
- "input": { },
- "taskMocks": { },
- "last_updated": "2019-08-24T14:15:22Z",
- "last_updated_by": {
- "username": "admin@pronghorn",
- "provenance": "Pronghorn"
}
}
]
}
}
{- "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 |
| dereferenceSchemas |
boolean
Default: false
When true, dereferences all $ref in task variable schemas |
{- "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 |
|
required
|
componentId (number) or componentId
(string)
(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
}
}
{- "_id": "67e1a6e387c22cbcbe27efc6",
- "name": "Device OS Types",
- "osTypes": [
- "cisco-asa",
- "cisco-ios",
- "cisco-nx",
- "f5-bigip",
- "sros",
- "juniper-junos",
- "cisco-iosxr",
- "aruba_os",
- "cisco",
- "lantronix"
], - "updated": "2025-03-24T18:39:31.264Z"
}
Gathers all the device OS Types in the current cache.
{- "_id": "67e1a6e387c22cbcbe27efc6",
- "name": "Device OS Types",
- "osTypes": [
- "cisco-asa",
- "cisco-ios",
- "cisco-nx",
- "f5-bigip",
- "sros",
- "juniper-junos",
- "cisco-iosxr",
- "aruba_os",
- "cisco",
- "lantronix"
], - "updated": "2025-03-24T18:39:31.264Z"
}
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": [
- "67e1b0440e358ba47dcf79bb"
], - "sourceItem": "cm_device_groups"
}
{- "status": "success",
- "res": {
- "acknowledged": true,
- "deletedCount": 0
}
}
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": [
- {
- "_id": "67e1abe70e358ba47dcf79b9",
- "sourceItem": "cm_device_groups",
- "target": "67e1abe30e358ba47dcf79b8",
- "source": "app-configuration_manager",
- "pinData": [
- {
- "_id": "67e1abe30e358ba47dcf79b8",
- "name": "Cisco",
- "devices": [ ],
- "description": "",
- "created": "2025-03-24T19:00:51.714Z",
- "createdBy": "admin@pronghorn",
- "updated": "2025-03-24T19:00:51.714Z",
- "lastUpdatedBy": "admin@pronghorn",
- "gbac": {
- "read": [ ],
- "write": [ ]
}
}
]
}
], - "count": "10"
}
Takes a jinja2 template a renders output text.
request body
| template |
string (template)
|
| variables |
object (variables)
|
| options |
object (options)
|
{- "template": "domain name-server {{ ipAddress }}",
- "variables": {
- "ipAddress": "10.1.0.12"
}, - "options": { }
}
"domain name-server 10.1.0.12"
Fetch method/task metadata for all adapters that have it.
request body
| options |
object (options)
|
{- "options": { }
}
{- "adapterTasks": {
- "IAG": [
- {
- "name": "createApp",
- "summary": "Create/Update the dynamic application",
- "description": "This method will create or update the Ansible Dynamic Application",
- "input": [ ],
- "output": {
- "name": "result",
- "type": "object",
- "description": "The status of the creation",
- "schema": {
- "title": "result",
- "type": "object",
- "properties": { }
}
}, - "deprecated": true,
- "roles": [
- "admin"
], - "task": true
}, - {
- "name": "getPronghorn",
- "summary": "Get pronghorn.json for this AG.",
- "description": "Get pronghorn.json for this AG.",
- "input": [ ],
- "output": {
- "name": "result",
- "type": "object",
- "description": "A JSON Object containing status, code and the result",
- "schema": {
- "type": "object",
- "$ref": "response#/definitions/responseObject"
}
}, - "roles": [
- "admin"
], - "task": true
}
]
}
}
Fetch method/task metadata for an adapter task.
request body
| taskName |
string (taskName)
|
| origin |
string (origin)
|
| options |
object (options)
|
{- "taskName": "createApp",
- "origin": "IAG",
- "options": { }
}
{- "adapterTasks": {
- "name": "createApp",
- "summary": "Create/Update the dynamic application",
- "description": "This method will create or update the Ansible Dynamic Application",
- "input": [ ],
- "output": {
- "name": "result",
- "type": "object",
- "description": "The status of the creation",
- "schema": {
- "title": "result",
- "type": "object",
- "properties": { }
}
}, - "deprecated": true,
- "roles": [
- "admin"
], - "task": true
}
}
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": "getDevicesInfomation",
- "origin": "nso52",
- "taskName": "getConfig",
- "treeId": "5f21c92ba6abf82bf5041783",
- "taskParams": { },
- "options": { }
}
{- "instanceName": "get devices instance",
- "origin": "IAG",
- "taskName": "getDevices",
- "treeId": "67e306250e358ba47dcf79c6",
- "taskParams": { }
}
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": "67e30d9f0e358ba47dcf79ca",
- "treeId": "67e306250e358ba47dcf79c6",
- "taskParams": { },
- "options": {
- "name": "new instance"
}
}
{- "result": "success",
- "data": {
- "_id": "67e30d9f0e358ba47dcf79ca",
- "name": "create App",
- "origin": "IAG",
- "taskName": "createApp",
- "taskParams": { },
- "treeId": "67e306250e358ba47dcf79c6",
- "created": "2025-03-25T20:10:07.200Z",
- "createdBy": "67d3108eddcf3e66cc0efbac",
- "updated": "2025-03-25T20:13:32.813Z",
- "updatedBy": null
}
}
Delete task instance(s) from the database.
request body
| taskIds |
Array of any (taskIds)
|
| treeId |
string (treeId)
|
{- "taskIds": [
- "67e30d9f0e358ba47dcf79ca"
], - "treeId": "67e306250e358ba47dcf79c6"
}
{- "result": "success",
- "data": "Deleted 1 task instances."
}
Get instance(s) of a task.
request body
| treeId |
string (treeId)
|
|
object (options)
|
{- "treeId": "5f21c92ba6abf82bf5041783",
- "options": {
- "filter": "{ 'instanceName': 'instance' }",
- "nodePath": "base"
}
}
{- "data": [
- {
- "_id": "67e30b3d0e358ba47dcf79c9",
- "name": "get detailed device info",
- "origin": "IAG",
- "taskName": "getDeviceInfo",
- "taskParams": {
- "deviceName": ""
}, - "treeId": "67e306250e358ba47dcf79c6",
- "created": "2025-03-25T19:59:57.967Z",
- "createdBy": null,
- "updated": "2025-03-25T19:59:57.967Z",
- "updatedBy": null
}
]
}
Search for task instance(s) using varies options parameters.
request body
|
object (options)
|
{- "options": {
- "filter": "{ 'instanceName': 'some task instance 1' }",
- "nodePath": "base"
}
}
{- "totalCount": 1,
- "tasks": [
- {
- "_id": "67e30d9f0e358ba47dcf79ca",
- "name": "create App",
- "origin": "IAG",
- "taskName": "createApp",
- "taskParams": { },
- "treeId": "67e306250e358ba47dcf79c6",
- "created": "2025-03-25T20:10:07.200Z",
- "createdBy": "67d3108eddcf3e66cc0efbac",
- "updated": "2025-03-25T20:13:32.813Z",
- "updatedBy": null
}
]
}
Run an instance of a task and save it to the database.
request body
| taskId |
string (taskId)
|
| options |
object (options)
|
{- "taskId": "67e312ae0e358ba47dcf79cc",
- "options": { }
}
{ }Run an adapter task.
request body
| origin |
string (origin)
|
| taskName |
string (taskName)
|
| args |
object (args)
|
| options |
object (options)
|
{- "origin": "Automation Gateway",
- "taskName": "getDevices",
- "args": { },
- "options": { }
}
{- "total": 1,
- "list": [
- {
- "user": "admin",
- "port": "22",
- "password": "admin",
- "ostype": "iosxr",
- "ipaddress": "172.20.100.63",
- "device-type": "network_cli",
- "name": "isd-testing-logan"
}
]
}
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": "Daily backup",
- "notes": "Backup of device"
}
}
{- "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": "IAG",
- "type": "native",
- "date": "2019-04-12T14:42:47.958Z",
- "rawConfig": "hostname ios0\nno service password-encryption\n...",
- "description": "Daily backup",
- "notes": "Backup of device",
- "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": "Cisco Devices",
- "description": "Common device group",
- "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": "IAG",
- "type": "native",
- "date": "2019-04-12T14:42:47.958Z",
- "rawConfig": "hostname ios0\nno service password-encryption\n...",
- "description": "Daily backup",
- "notes": "Backup of device",
- "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": "IAG",
- "type": "native",
- "date": "2019-04-12T14:42:47.958Z",
- "rawConfig": "hostname ios0\nno service password-encryption\n...",
- "description": "Daily backup",
- "notes": "Backup of device",
- "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": "Daily backup",
- "notes": "Backup of device"
}
}
{- "status": "success",
- "updated": 0
}
Retrieves a single group document by name
request body
| groupName |
string
(configuration_manager_common_standardName) non-empty
|
{- "groupName": "Cisco Devices"
}
{- "_id": "5c35355dbebaa82eaf8113f0",
- "name": "Cisco Devices",
- "description": "Common device group",
- "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": "Cisco Devices",
- "description": "Common device group",
- "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": "Cisco Devices",
- "groupDescription": "Common device group",
- "deviceNames": "Cisco-IOS-XR-LAB-1, Cisco-IOS-XE-LAB-2"
}
{- "id": "5c35355dbebaa82eaf8113f0",
- "name": "Cisco Devices",
- "message": "Device Group created successfully",
- "status": "success"
}
Delete specified device groups
request body
| groupIds |
Array of strings (groupIds) [ items^[0-9a-f]{24}$ ]
|
{- "groupIds": [
- "5c35355dbebaa82eaf8113f0"
]
}
{- "status": "success",
- "deleted": 1
}
Gets a list of all device groups that match the search criteria
request body
| s |
string (s)
|
| start |
number (start)
|
| limit |
number (limit)
|
{- "s": "Cisco",
- "start": 0,
- "limit": 10
}
{- "totalCount": 10,
- "groups": [
- {
- "_id": "5c35355dbebaa82eaf8113f0",
- "name": "Cisco Devices",
- "description": "Common device group",
- "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": 10,
- "options": {
- "regex": true
}
}
{- "totalCount": 10,
- "groups": [
- {
- "_id": "5c35355dbebaa82eaf8113f0",
- "name": "Cisco Devices",
- "description": "Common device group",
- "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": "Cisco Devices",
- "description": "Common device group",
- "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": "Cisco Devices",
- "description": "Common device group",
- "devices": [
- "xr9kv-atl"
]
}
}
{- "status": "success",
- "modified": 1
}
Removes devices from a device group
| id
required
|
string (id)
id |
request body
| devices |
Array of any (devices)
|
{- "devices": "xr9kv01-aws"
}
{- "status": "success",
- "message": "1 document(s) updated"
}
Adds devices to a group
| id
required
|
string (id)
id |
request body
| devices |
Array of any (devices)
|
{- "devices": "xr9kv01-aws"
}
{- "status": "success",
- "message": "1 document(s) updated"
}
Delete specified device groups
request body
| groupNames |
Array of strings (groupNames) [ items non-empty
]
|
{- "groupNames": [
- "Cisco Devices"
]
}
{- "status": "success",
- "deleted": 1
}
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": "Cisco Devices",
- "deviceNames": "Cisco-IOS-XR-LAB-1, Cisco-IOS-XE-LAB-2"
}
{- "status": "success",
- "modified": 1
}
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": "Cisco Devices",
- "deviceNames": "Cisco-IOS-XR-LAB-1, Cisco-IOS-XE-LAB-2"
}
{- "status": "success",
- "modified": 1
}
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": "backups",
- "nextCollection": "devices",
- "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": "Cisco IOS",
- "lexRules": [
- [
- "^{",
- "open_statement_block"
]
], - "template": "cisco-ios"
}
{- "parser": {
- "_id": "67e56d630e358ba47dcf79d7",
- "name": "Cisco IOS",
- "template": "cisco-ios",
- "lexRules": [
- [
- "^}",
- "close_statement_block"
], - [
- "^{",
- "open_statement_block"
]
], - "updated": "2025-03-27T15:23:15.417Z",
- "created": "2025-03-27T15:23:15.418Z",
- "gbac": {
- "read": [ ],
- "write": [ ]
}
}
}
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": "success",
- "updated": 1
}
Permanently delete a configuration parser.
request body
| name |
string (name) non-empty
|
| options |
object (options)
|
{- "name": "a10-acos",
- "options": { }
}
{- "status": "Success",
- "message": "Successfully deleted Config Parser."
}
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 |
{- "total": 2,
- "list": [
- {
- "id": "67d3106fde662cde38190c66",
- "name": "a10-acos",
- "template": "cisco-ios",
- "lexRules": [
- [
- "(\r\n|\r|\n)",
- "end_line"
], - [
- "$",
- "end_line"
], - [
- "\"(?:[^\\\\\"\r\n]|\\\\.)*\"",
- "word"
], - [
- "\\S+",
- "word"
]
], - "created": "2025-03-13T17:05:51.128Z",
- "updated": "2025-03-13T17:05:51.128Z",
- "gbac": {
- "read": [ ],
- "write": [ ]
}
}
]
}
Get a defined Config Parser from the database.
request body
|
object (filter)
|
|
| options |
object (options)
|
{- "filter": {
- "id": "67d3106fde662cde38190c66",
- "name": "a10-acos"
}, - "options": { }
}
{- "parser": {
- "_id": "67d3106fde662cde38190c66",
- "name": "a10-acos",
- "template": "cisco-ios",
- "lexRules": [
- [
- "(\\r\\n|\\r|\\n)",
- "end_line"
], - [
- "$",
- "end_line"
], - [
- "\"(?:[^\\\\\"\\r\\n]|\\\\.)*\"",
- "word"
], - [
- "\\S+",
- "word"
]
], - "created": "2025-03-13T17:05:51.128Z",
- "updated": "2025-03-13T17:05:51.128Z",
- "gbac": {
- "read": [ ],
- "write": [ ]
}
}
}
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": 1
}
Insert parser documents into the ucm_configs collection
request body
| parsers |
Array of any (parsers)
|
{- "parsers": [
- {
- "id": "abcde06fde662cde38190c69",
- "name": "Arista EOS",
- "template": "cisco-ios",
- "lexRules": [
- [
- "(\\r\\n|\\r|\\n)",
- "end_line"
], - [
- "$",
- "end_line"
]
], - "created": "2025-03-13T17:05:51.128Z",
- "updated": "2025-03-13T17:05:51.128Z",
- "gbac": {
- "read": [ ],
- "write": [ ]
}
}
]
}
{- "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": 1
}
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": "AWS Security Group",
- "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": "AWS Security Group V2",
- "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": { }
}
[- {
- "name": "Cisco IOS",
- "version": "initial",
- "id": "67e301050e358ba47dcf79bd"
}
]
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": "ntp server {{ ipAddress }}",
- "inheritedTemplate": "ntp server {{ ipAddress }}"
}
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
]
}
]
}
]
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": 2,
- "warning": 1,
- "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": 2,
- "warning": 1,
- "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": 2,
- "warning": 1,
- "info": 0
}, - "benchmarks": {
- "property1": 0,
- "property2": 0
}, - "limit": 10
}
}
[- {
- "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": 2,
- "warning": 1,
- "info": 0
}, - "benchmarks": {
- "property1": 0,
- "property2": 0
}, - "limit": 10
}
}
[- {
- "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": 2,
- "warning": 1,
- "info": 0
}, - "benchmarks": {
- "property1": 0,
- "property2": 0
}, - "limit": 10
}
}
{- "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": [
- "interface GigabitEthernet2"
], - "old": "description Port Turn Up",
- "new": "description Port Turn Down"
}
]
}
{- "response": [
- {
- "result": true,
- "parents": [
- "interface GigabitEthernet2"
], - "new": "description Port Turn Up",
- "old": "description Port Turn Down"
}
]
}
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": [
- "interface GigabitEthernet2"
], - "old": "description Port Turn Up",
- "new": "description Port Turn Down"
}
], - "options": {
- "backupDevice": true
}
}
{- "response": [
- {
- "result": true,
- "parents": [
- "interface GigabitEthernet2"
], - "new": "description Port Turn Down",
- "old": "description Port Turn Up"
}
]
}
Converts the config patch data into a readable native config.
request body
| deviceType |
string (deviceType)
|
|
Array of objects (changes)
|
{- "deviceType": "cisco-ios",
- "changes": [
- {
- "parents": [
- "interface GigabitEthernet2"
], - "old": "description Port Turn Down",
- "new": "description Port Turn Up"
}
]
}
{- "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": {
- "id": "67eae08ead36e07e37a4d5d7",
- "name": "cisco ios template",
- "template": "interface Loopback1\n description {{ description }}",
- "variables": {
- "interface": "GigabitEthernet0"
}, - "created": "2025-03-31T18:35:58.810Z",
- "updated": "2025-03-31T18:35:58.810Z",
- "createdBy": null,
- "updatedBy": null,
- "gbac": {
- "write": [ ],
- "read": [ ]
}, - "deviceOSTypes": [ ]
}
}
{- "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": { }
}
{- "status": "success",
- "result": [
- {
- "value": "1 Command(s) Sent."
}
], - "chosenAdapter": "IAG"
}
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": "67cb39c8904db496654ee574",
- "name": "Cisco IOS compliance plan",
- "description": "Cisco IOS compliance plan",
- "nodes": [
- {
- "treeId": "67cb3a7c904db496654ee576",
- "version": "initial",
- "nodeId": "67cb3de1904db496654ee57c",
- "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": "67cb3a7c904db496654ee576",
- "version": "initial",
- "nodeId": "67cb3de1904db496654ee57c",
- "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": "67cb3a7c904db496654ee576",
- "version": "initial",
- "nodeId": "67cb3de1904db496654ee57c",
- "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": "success",
- "deleted": 1
}
Fetches a compliance plan with the provided ID
| planId
required
|
string
(configuration_manager_common_mongoObjectId) ^[0-9a-f]{24}$ Examples: 5c35355dbebaa82eaf8113f0
planId |
{- "_id": "67ead2e85f12757d048a48dd",
- "name": "Cisco IOS",
- "description": "",
- "throttle": 5,
- "nodes": [
- {
- "treeId": "67e301050e358ba47dcf79bd",
- "version": "initial",
- "nodeId": "67e303e60e358ba47dcf79c1",
- "variables": { },
- "devices": [ ],
- "deviceGroups": [ ]
}, - {
- "treeId": "67e599320e358ba47dcf79e3",
- "version": "initial",
- "nodeId": "67e599320e358ba47dcf79e4",
- "variables": { },
- "devices": [ ],
- "deviceGroups": [ ]
}
], - "gbac": {
- "read": [ ],
- "write": [ ]
}, - "created": "2025-03-31T17:37:44.892Z",
- "createdBy": "67d3108eddcf3e66cc0efbac",
- "updated": "2025-03-31T18:58:10.764Z",
- "updatedBy": "67d3108eddcf3e66cc0efbac"
}
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": 10,
- "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": "67ead32c5f12757d048a48de",
- "planId": "67ead2e85f12757d048a48dd",
- "planName": "Cisco IOS compliance plan",
- "description": [
- "A description for my compliance plan."
], - "status": "running",
- "dateRange": [
- null
], - "start": 0,
- "limit": 20,
- "sort": {
- "started": -1,
- "jobStatus": -1,
- "name": -1
}
}
}
{- "totalCount": 10,
- "groups": {
- "totalCount": 3,
- "plans": [
- {
- "id": "67ead32c5f12757d048a48de",
- "name": "Cisco IOS",
- "description": "",
- "jobStatus": "complete",
- "planId": "67ead2e85f12757d048a48dd",
- "jobId": "93e9aafa34e24e81953dae00",
- "started": "2025-03-31T17:38:53.096Z",
- "startedBy": null,
- "updated": "2025-03-31T17:38:53.096Z",
- "updatedBy": null,
- "finished": "2025-03-31T17:38:54.018Z",
- "batchId": "67ead32d5f12757d048a48df",
- "throttle": 5,
- "nodes": [
- {
- "treeId": "67e301050e358ba47dcf79bd",
- "version": "initial",
- "nodeId": "67e301050e358ba47dcf79bc",
- "status": "completed",
- "variables": { },
- "devices": [ ],
- "deviceGroups": [ ],
- "erroredDevices": [ ],
- "processedDevices": [ ]
}
]
}
]
}
}
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": "67cb3a7c904db496654ee576",
- "version": "initial",
- "nodeId": "67cb3de1904db496654ee57c",
- "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 removed 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": { }
}
{- "message": "Successfully started compliance plan.",
- "planId": "67ead2e85f12757d048a48dd",
- "instanceId": "67ead32c5f12757d048a48de"
}
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": {
- "nodes": [
- {
- "treeId": "67e301050e358ba47dcf79bd",
- "version": "initial",
- "nodeId": "67e303e60e358ba47dcf79c1",
- "variables": "{}",
- "devices": [ ],
- "deviceGroups": [ ]
}
]
}
}
}
{- "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
}
{- "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"
}
}
{- "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 status of current IAP.
| exclude-services |
boolean (exclude-services)
When set to true, this method will skip its liveness check against downstream services |
{- "host": "string",
- "serverId": "string",
- "services": [
- {
- "service": "string",
- "status": "running"
}
], - "timestamp": 0,
- "apps": "running",
- "adapters": "running"
}
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": { }
}
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 inventory with the specified name and optional properties
request body
| name |
string non-empty
The name of the inventory |
| description |
string
|
| groups |
Array of strings
|
| tags |
Array of strings
Array of tag IDs associated with this inventory |
|
Array of objects
|
|
| createBrokerActions |
boolean
Default: false
Automatically create built-in broker actions (get-config, set-config, run-command, is-alive) for device broker compatibility. Custom actions with the same name will override the default broker actions. |
| defaultClusterId |
string
Default cluster ID for built-in broker actions. Required when createBrokerActions is enabled. |
{- "name": "string",
- "description": "string",
- "groups": [
- "string"
], - "tags": [
- "string"
], - "actions": [
- {
- "name": "string",
- "action_type": "string",
- "action_config": { },
- "action_parameters": { }
}
], - "createBrokerActions": false,
- "defaultClusterId": "string"
}
{- "status": "Success",
- "result": {
- "name": "string",
- "groups": [
- "string"
], - "description": "string",
- "actions": [
- {
- "name": "string",
- "action_type": "string",
- "action_config": { },
- "action_parameters": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_by": "string"
}
], - "tags": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_by": "string",
- "_id": "string"
}, - "message": "string"
}
Returns a paginated list of inventories with optional filtering by name, groups, and node count
| page |
number
Default: 1
page |
| pageSize |
number
Default: 25
pageSize |
| sortField |
string
Default: "lastUpdated"
sortField |
| sortOrder |
number
Default: -1
sortOrder |
| search |
string
search |
| names |
Array of strings
names |
| groups |
Array of strings
groups |
| tags |
Array of strings
tags |
| minNodes |
number
minNodes |
| maxNodes |
number
maxNodes |
{- "status": "Success",
- "result": {
- "data": [
- {
- "id": "string",
- "name": "string",
- "groups": [
- "string"
], - "nodes": 0,
- "lastUpdated": "string"
}
], - "totalRecords": 0,
- "currentPage": 0,
- "pageSize": 0,
- "totalPages": 0
}, - "error": "string"
}
Returns a single inventory document by ID or name
|
required
|
inventoryIdentifier (string) or
inventoryIdentifier (string)
(inventoryIdentifier)
Inventory ID or name |
{- "status": "Success",
- "result": {
- "name": "string",
- "groups": [
- "string"
], - "description": "string",
- "actions": [
- {
- "name": "string",
- "action_type": "string",
- "action_config": { },
- "action_parameters": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_by": "string"
}
], - "tags": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_by": "string",
- "_id": "string"
}, - "error": "string"
}
Deletes an inventory by ID
|
required
|
inventoryIdentifier (string) or
inventoryIdentifier (string)
(inventoryIdentifier)
Inventory ID or name |
{- "status": "Success",
- "result": {
- "name": "string",
- "groups": [
- "string"
], - "description": "string",
- "actions": [
- {
- "name": "string",
- "action_type": "string",
- "action_config": { },
- "action_parameters": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_by": "string"
}
], - "tags": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_by": "string",
- "_id": "string"
}, - "message": "string"
}
Return an array of all inventory node documents specified in the input 'nodes' array
request body
|
Array of objects
|
|
| fields |
Array of strings
|
{- "nodes": [
- {
- "inventory": "inventory-123",
- "nodeNames": [
- "string"
]
}
], - "fields": [
- "string"
]
}
{- "status": "Success",
- "result": [
- {
- "inventory_id": "string",
- "name": "string",
- "attributes": { },
- "tags": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_by": "string"
}
], - "error": "string"
}
Selects nodes by tags and returns them grouped by inventory in the format expected by Gateway Manager's runService method. Returns inventory name with nodeNames array for partial matches, or inventory name only when all nodes are selected.
request body
| inventoryIdentifiers |
Array of arrays
|
| tagIdentifiers |
Array of arrays
|
| tagMatchType |
string
Default: "any"
Enum: "any" "all"
|
| outputFormat |
string
Default: "compact"
Enum: "compact" "explicit"
|
{- "inventoryIdentifiers": [ ],
- "tagIdentifiers": [ ],
- "tagMatchType": "any",
- "outputFormat": "compact"
}
{- "status": "Success",
- "result": [
- {
- "inventory": "string",
- "nodeNames": [
- "string"
]
}
], - "error": "string"
}
Returns a paginated list of nodes with optional filtering by name, type, and inventory
| page |
number
Default: 1
page |
| pageSize |
number
Default: 25
pageSize |
| sortField |
string
Default: "updated_at"
sortField |
| sortOrder |
number
Default: -1
sortOrder |
| search |
string
search |
| inventory_identifier |
string
inventory_identifier |
| types |
Array of strings
types |
| tags |
Array of strings
tags |
{- "status": "Success",
- "result": {
- "data": [
- {
- "inventory_id": "string",
- "name": "string",
- "attributes": { },
- "tags": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_by": "string"
}
], - "totalRecords": 0,
- "currentPage": 0,
- "pageSize": 0,
- "totalPages": 0
}, - "error": "string"
}
Returns a paginated list of nodes for a specific inventory with optional filtering
|
required
|
inventoryIdentifier (string) or
inventoryIdentifier (string)
(inventoryIdentifier)
Inventory ID or name |
| page |
number
Default: 1
page |
| pageSize |
number
Default: 25
pageSize |
| sortField |
string
Default: "updated_at"
sortField |
| sortOrder |
number
Default: -1
sortOrder |
| search |
string
search |
| types |
Array of strings
types |
| tags |
Array of strings
tags |
{- "status": "Success",
- "result": {
- "data": [
- {
- "inventory_id": "string",
- "name": "string",
- "attributes": { },
- "tags": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_by": "string"
}
], - "totalRecords": 0,
- "currentPage": 0,
- "pageSize": 0,
- "totalPages": 0
}, - "error": "string"
}
Returns a single node document by ID or name within the specified inventory
|
required
|
inventoryIdentifier (string) or
inventoryIdentifier (string)
(inventoryIdentifier)
Inventory ID or name |
|
required
|
inventoryIdentifier (string) or
inventoryIdentifier (string)
(inventoryIdentifier)
Node ID or name |
{- "status": "Success",
- "result": {
- "inventory_id": "string",
- "name": "string",
- "attributes": { },
- "tags": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_by": "string",
- "_id": "string"
}, - "error": "string"
}
Bulk insert nodes into an inventory. All existing nodes in the inventory are cleared before the new nodes are inserted.
request body
|
inventoryIdentifier (string) or
inventoryIdentifier (string)
(inventory_manager_common_inventoryIdentifier)
|
|
|
Array of objects (Inventory Node Database Schema)
|
{- "inventory_identifier": "string",
- "nodes": [
- {
- "inventory_id": "string",
- "name": "string",
- "attributes": { },
- "tags": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_by": "string"
}
]
}
{- "status": "Success",
- "result": {
- "inventory": {
- "id": "string",
- "name": "string"
}, - "statistics": {
- "total": 0,
- "inserted": 0,
- "skipped": 0,
- "errors": [
- "string"
]
}
}, - "message": "string"
}
Removes all nodes from the specified inventory
|
required
|
inventoryIdentifier (string) or
inventoryIdentifier (string)
(inventoryIdentifier)
Inventory ID or name to clear nodes from |
{- "status": "Success",
- "result": {
- "inventory": {
- "id": "string",
- "name": "string"
}, - "statistics": {
- "nodesDeleted": 0
}
}, - "message": "string"
}
Returns a paginated list of tags with optional filtering by name
| page |
number
Default: 1
page |
| pageSize |
number
Default: 25
pageSize |
| sortField |
string
Default: "updated_at"
sortField |
| sortOrder |
number
Default: -1
sortOrder |
| search |
string
search |
| names |
Array of strings
names |
{- "status": "Success",
- "result": {
- "data": [
- {
- "name": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_by": "string"
}
], - "totalRecords": 0,
- "currentPage": 0,
- "pageSize": 0,
- "totalPages": 0
}, - "error": "string"
}
Returns a single tag document by ID or name
|
required
|
inventoryIdentifier (string) or
inventoryIdentifier (string)
(inventoryIdentifier)
Tag ID or name |
{- "status": "Success",
- "result": {
- "name": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_by": "string",
- "_id": "string"
}, - "error": "string"
}
Returns usage statistics showing how many inventories and nodes use this tag
|
required
|
inventoryIdentifier (string) or
inventoryIdentifier (string)
(inventoryIdentifier)
Tag ID or name |
{- "status": "Success",
- "result": {
- "tag": {
- "_id": "string",
- "name": "string",
- "description": "string"
}, - "usage": {
- "inventories": 0,
- "nodes": 0,
- "total": 0
}
}, - "error": "string"
}
Returns inventories and nodes that have the specified tags
request body
| tagIdentifiers |
Array of strings non-empty
|
|
object
|
{- "tagIdentifiers": [
- "string"
], - "options": {
- "resourceType": "inventories",
- "matchType": "any",
- "limit": 100
}
}
{- "status": "Success",
- "result": {
- "inventories": [
- {
- "name": "string",
- "groups": [
- "string"
], - "description": "string",
- "actions": [
- {
- "name": "string",
- "action_type": "string",
- "action_config": { },
- "action_parameters": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_by": "string"
}
], - "tags": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_by": "string"
}
], - "nodes": [
- {
- "inventory_id": "string",
- "name": "string",
- "attributes": { },
- "tags": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_by": "string"
}
], - "summary": {
- "inventoriesFound": 0,
- "nodesFound": 0,
- "totalFound": 0
}
}, - "error": "string"
}
Creates a new action document in the inventory management system
|
required
|
inventoryIdentifier (string) or
inventoryIdentifier (string)
(inventoryIdentifier)
Inventory ID or name |
request body
| name
required
|
string
Action name |
| action_type
required
|
string
Action type (e.g. iag5-service) |
| action_config |
object
|
| action_parameters |
object
|
{- "name": "string",
- "action_type": "string",
- "action_config": { },
- "action_parameters": { }
}
{- "status": "Success",
- "result": {
- "inventory_id": "string",
- "name": "string",
- "key": "string",
- "action_type": "iag5-service",
- "action_config": { },
- "action_parameters": { },
- "last_executed": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_by": "string",
- "_id": "string"
}, - "message": "string"
}
Returns a paginated list of actions for a specific inventory with optional filtering
|
required
|
inventoryIdentifier (string) or
inventoryIdentifier (string)
(inventoryIdentifier)
Inventory ID or name |
| page |
number
Default: 1
page |
| pageSize |
number
Default: 25
pageSize |
| sortField |
string
Default: "updated_at"
sortField |
| sortOrder |
number
Default: -1
sortOrder |
| search |
string
search |
| action_types |
Array of strings
action_types |
{- "status": "Success",
- "result": {
- "data": [
- {
- "inventory_id": "string",
- "name": "string",
- "key": "string",
- "action_type": "iag5-service",
- "action_config": { },
- "action_parameters": { },
- "last_executed": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_by": "string"
}
], - "totalRecords": 0,
- "currentPage": 0,
- "pageSize": 0,
- "totalPages": 0
}, - "error": "string"
}
Returns a paginated list of actions with optional filtering by name, type, and inventory
| page |
number
Default: 1
page |
| pageSize |
number
Default: 25
pageSize |
| sortField |
string
Default: "updated_at"
sortField |
| sortOrder |
number
Default: -1
sortOrder |
| search |
string
search |
| inventory_identifier |
string
inventory_identifier |
| action_types |
Array of strings
action_types |
{- "status": "Success",
- "result": {
- "data": [
- {
- "inventory_id": "string",
- "name": "string",
- "key": "string",
- "action_type": "iag5-service",
- "action_config": { },
- "action_parameters": { },
- "last_executed": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_by": "string"
}
], - "totalRecords": 0,
- "currentPage": 0,
- "pageSize": 0,
- "totalPages": 0
}, - "error": "string"
}
Returns a single action document by ID or name
|
required
|
inventoryIdentifier (string) or
inventoryIdentifier (string)
(inventoryIdentifier)
Inventory ID or name |
|
required
|
inventoryIdentifier (string) or
inventoryIdentifier (string)
(inventoryIdentifier)
Action ID or name |
{- "status": "Success",
- "result": {
- "inventory_id": "string",
- "name": "string",
- "key": "string",
- "action_type": "iag5-service",
- "action_config": { },
- "action_parameters": { },
- "last_executed": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_by": "string",
- "_id": "string"
}, - "error": "string"
}
Deletes an action by ID or name
|
required
|
inventoryIdentifier (string) or
inventoryIdentifier (string)
(inventoryIdentifier)
Inventory ID or name |
|
required
|
inventoryIdentifier (string) or
inventoryIdentifier (string)
(inventoryIdentifier)
Action ID or name |
{- "status": "Success",
- "result": {
- "inventory_id": "string",
- "name": "string",
- "key": "string",
- "action_type": "iag5-service",
- "action_config": { },
- "action_parameters": { },
- "last_executed": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_by": "string",
- "_id": "string"
}, - "message": "string"
}
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": 1,
- "limit": 1,
- "total": 1,
- "nextPageSkip": 1,
- "previousPageSkip": 1,
- "currentPageSize": 1
}
}
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": [ ]
}
}
{- "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": 1,
- "limit": 1,
- "total": 1,
- "nextPageSkip": 1,
- "previousPageSkip": 1,
- "currentPageSize": 1
}
}
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 (object)
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": 1,
- "limit": 1,
- "total": 1,
- "nextPageSkip": 1,
- "previousPageSkip": 1,
- "currentPageSize": 1
}
}
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": 1,
- "limit": 1,
- "total": 1,
- "nextPageSkip": 1,
- "previousPageSkip": 1,
- "currentPageSize": 1
}
}
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 (iap_common-schema_objectId)
[ items^[0-9a-f]{24}$ ]
|
|
object or null
|
|
|
Array of arrays or null
|