Summary
Get all profiles.
Description
Get all the profiles in IAP.
Route
GET /profiles
Roles
Parameters
Name | Type | Required | Description |
---|---|---|---|
queryOptions | object | yes | Options for query parameters. |
{ "queryOptions": { "contains": "profile1", "containsField": "id", "equals": "profile1", "equalsField": "id", "startsWith": "profile", "startsWithField": "id", "skip": 10, "limit": 25, "sort": "name", "order": 1 } }
{ "type": "object", "properties": { "queryOptions": { "title": "queryOptions", "type": "object", "properties": { "contains": { "type": "string", "examples": [ "profile1" ] }, "containsField": { "type": "string", "examples": [ "id" ] }, "equals": { "type": "string", "examples": [ "profile1" ] }, "equalsField": { "type": "string", "examples": [ "id" ] }, "startsWith": { "type": "string", "examples": [ "profile" ] }, "startsWithField": { "type": "string", "examples": [ "id" ] }, "skip": { "$ref": "common-schema#/definitions/skip" }, "limit": { "$ref": "common-schema#/definitions/limit" }, "sort": { "$ref": "common-schema#/definitions/sort" }, "order": { "$ref": "common-schema#/definitions/order" } } } }, "required": [ "queryOptions" ], "additionalProperties": false }
Return
Name | Type | Description |
---|---|---|
results | object | Contains the data of a profile. |
{ "results": [ { "metadata": { "isActive": false, "activeSync": false }, "profile": { "applicationProps": { "directory": "/opt/pronghorn/current/node_modules", "description": "Application" }, "uiProps": { "layout": "node_modules/@itential/pronghorn-core/ui/views/layout.jade", "home": "node_modules/@itential/pronghorn-core/ui/views/home.jade", "login": "node_modules/@itential/pronghorn-core/ui/views/login.jade", "profile": "node_modules/@itential/pronghorn-core/ui/views/profile.jade", "fav_icon": "node_modules/@itential/pronghorn-core/ui/img/favicon.ico", "description": "UI" }, "authenticationProps": { "uniqueSession": false, "admins": [ { "provenance": "Local AAA", "group": "admin" }, { "provenance": "", "group": "" }, { "provenance": "", "group": "admin" }, { "provenance": "", "group": "" } ], "sso": { "enabled": false, "config": "azure" }, "description": "Authentication", "logoutTime": 20, "cookieName": "token", "brokerPrincipal": false }, "expressProps": { "express_http": { "enable": false, "port": 29004 }, "express_https": { "enable": false, "port": 59085, "key": "/opt/pronghorn/current/keys/key.pem", "cert": "/opt/pronghorn/current/keys/cert.pem", "secureProtocol": "TLSv1_2_method", "client_reneg_limit": 1, "client_reneg_window": 600, "passphrase": "officia ipsum est in adipisicing", "ciphers": "ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256" }, "description": "Express Server", "cacheControl": false, "timeout": 300000, "access_control_allow_origin": "*", "allowedHttpOptionalVerbs": [] }, "loggerProps": { "log_directory": "/var/log/pronghorn", "log_filename": "pronghorn.log", "log_max_file_size": 1048576, "log_max_files": 100, "log_level": "error", "console_level": "warn", "description": "Logger Settings", "webserver": { "log_directory": "/var/log/pronghorn", "log_filename": "webserver.log" }, "syslog": { "level": "error", "facility": "local0", "type": "BSD", "host": "localhost", "port": 514, "protocol": "udp4", "pid": "process.pid", "localhost": "", "app_name": "", "eol": "CR" } }, "redisProps": { "sentinels": [ { "host": "localhost", "port": 26379 }, { "host": "localhost", "port": 26379 } ], "name": "nisi", "db": 0, "username": "admin", "password": "$ENC87eb897b507afc1796db49409dd1251c87872e85afd2469e", "maxRetriesPerRequest": 20, "maxHeartbeatWriteRetries": 20 }, "auditProps": { "audit": true, "brokerValidation": true, "description": "Audit" }, "pathProps": { "encrypted": true, "description": "Path Properties" }, "alarmProps": [ { "ip": "127.0.0.1", "community": "public", "properties": { "retries": 1, "timeout": 5000, "trapPort": 162, "version": "V1", "transport": "udp4" }, "type": "inform", "description": "Alarm" }, { "ip": "127.0.0.1", "community": "public", "properties": { "retries": 1, "timeout": 5000, "trapPort": 162, "version": "V1", "transport": "udp4" }, "type": "trap", "description": "Alarm" } ], "id": "profile1", "services": [ "WorkflowBuilder", "FormBuilder" ], "description": "An IAP Profile", "adapterStrategy": { "device": { "adapterTypes": [], "exceptions": { "runCommand": "" } } }, "systemProps": { "shutdownTimeout": 3, "servicesBlacklist": [ "Local AAA", "Local AAA", "Local AAA", "Local AAA", "Local AAA" ], "launchDelay": 5, "launchTimeout": 60, "serviceHealthCheckInterval": 5, "serviceHealthCheckUnhealthyThreshold": 3, "deadProcessCheck": false, "deadProcessCheckInterval": 5, "deadProcessMaxPeriod": 15, "externalRequestTimeout": 5, "deviceCountPollingInterval": 24 }, "prebuiltProps": { "repoConfigs": { "@itentialopensource": { "enabled": true, "type": "gitlab", "hostname": "gitlab.com", "path": "itentialopensource/pre-built-automations", "credentials": { "token": "uTc_P4pnMAEsLbQHmyOt" } } } }, "integrationProps": { "threadCount": 5, "timeout": 15000 }, "retryStrategy": { "maxRetries": 5, "retryResetTimer": 30000 } } }, { "metadata": { "isActive": true, "activeSync": false }, "profile": { "applicationProps": { "directory": "/opt/pronghorn/current/node_modules", "description": "Application" }, "uiProps": { "layout": "node_modules/@itential/pronghorn-core/ui/views/layout.jade", "home": "node_modules/@itential/pronghorn-core/ui/views/home.jade", "login": "node_modules/@itential/pronghorn-core/ui/views/login.jade", "profile": "node_modules/@itential/pronghorn-core/ui/views/profile.jade", "fav_icon": "node_modules/@itential/pronghorn-core/ui/img/favicon.ico", "description": "UI" }, "authenticationProps": { "uniqueSession": false, "admins": [ { "provenance": "Local AAA", "group": "" } ], "sso": { "enabled": false, "config": "azure" }, "description": "Authentication", "logoutTime": 60, "cookieName": "pronghorn_token", "brokerPrincipal": false }, "expressProps": { "express_http": { "enable": false, "port": 63131 }, "express_https": { "enable": true, "port": 24685, "key": "/opt/pronghorn/current/keys/key.pem", "cert": "/opt/pronghorn/current/keys/cert.pem", "secureProtocol": "TLSv1_2_method", "client_reneg_limit": 1, "client_reneg_window": 600, "passphrase": "culpa", "ciphers": "ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256" }, "description": "Express Server", "cacheControl": false, "timeout": 300000, "access_control_allow_origin": "*", "allowedHttpOptionalVerbs": [] }, "loggerProps": { "log_directory": "/var/log/pronghorn", "log_filename": "pronghorn.log", "log_max_file_size": 1048576, "log_max_files": 100, "log_level": "warn", "console_level": "debug", "description": "Logger Settings", "webserver": { "log_directory": "/var/log/pronghorn", "log_filename": "webserver.log" }, "syslog": { "level": "warning", "facility": "local0", "type": "5424", "host": "localhost", "port": 514, "protocol": "udp4", "pid": "process.pid", "localhost": "", "app_name": "process.title", "eol": "" } }, "redisProps": { "sentinels": [ { "host": "localhost", "port": 26379 }, { "host": "localhost", "port": 26379 }, { "host": "localhost", "port": 26379 }, { "host": "localhost", "port": 26379 } ], "name": "et aliqua dolor", "db": 0, "username": "admin", "password": "$ENC87eb897b507afc1796db49409dd1251c87872e85afd2469e", "maxRetriesPerRequest": 20, "maxHeartbeatWriteRetries": 20 }, "auditProps": { "audit": true, "brokerValidation": true, "description": "Audit" }, "pathProps": { "encrypted": true, "description": "Path Properties" }, "alarmProps": [ { "ip": "127.0.0.1", "community": "public", "properties": { "retries": 1, "timeout": 5000, "trapPort": 162, "version": "V1", "transport": "udp4" }, "type": "trap", "description": "Alarm" } ], "id": "profile1", "services": [ "WorkflowBuilder", "WorkflowBuilder", "WorkflowBuilder" ], "description": "An IAP Profile", "adapterStrategy": { "device": { "adapterTypes": [], "exceptions": { "runCommand": "" } } }, "systemProps": { "shutdownTimeout": 3, "servicesBlacklist": [ "Local AAA", "Local AAA", "Local AAA" ], "launchDelay": 5, "launchTimeout": 60, "serviceHealthCheckInterval": 5, "serviceHealthCheckUnhealthyThreshold": 3, "deadProcessCheck": false, "deadProcessCheckInterval": 5, "deadProcessMaxPeriod": 15, "externalRequestTimeout": 10, "deviceCountPollingInterval": 24 }, "prebuiltProps": { "repoConfigs": { "@itentialopensource": { "enabled": true, "type": "gitlab", "hostname": "gitlab.com", "path": "itentialopensource/pre-built-automations", "credentials": { "token": "uTc_P4pnMAEsLbQHmyOt" } } } }, "integrationProps": { "threadCount": 5, "timeout": 15000 }, "retryStrategy": { "maxRetries": 5, "retryResetTimer": 30000 } } } ], "total": 1 }
{ "title": "results", "type": "object", "properties": { "results": { "type": "array", "items": { "type": "object", "properties": { "metadata": { "type": "object", "properties": { "isActive": { "$ref": "common-schema#/definitions/isActive" }, "activeSync": { "$ref": "common-schema#/definitions/activeSync" } } }, "profile": { "$ref": "profiles-schema" } } } }, "total": { "$ref": "common-schema#/definitions/total" } } }