{"type":"api","title":"Get Global Parameters","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/e2d09286-adea-31d5-859e-545b883c382f","info":{"title":"Crosswork Data Gateway Global Parameter API","description":"This document details the Crosswork Data Gateway APIs you can use to update global parameters","version":"7.1.0","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"https://www.cisco.com/public/sw-license-agreement.html"}},"security":[{"bearerAuth":[]}],"x-parser-conf":{"overview":{"markdownPath":"reference/CDG/cdg_global_settings_api_overview.md"}},"swagger":"2.0","basePath":"/crosswork/dg-manager/v1","schemes":["https"],"securityDefinitions":{"bearerAuth":{"type":"apiKey","name":"Authorization","in":"header","description":"Bearer Auth Token"}}},"spec":{"description":"Get All Global Parameters.","summary":"Get Global Parameters","operationId":"GetGlobalParameters","deprecated":false,"produces":["application/json"],"consumes":["application/json"],"parameters":[{"name":"Content-Type","in":"header","required":true,"type":"string","description":"application/json"},{"name":"Body","in":"body","required":true,"description":"Request payload for getting global parameter query","schema":{"title":"GetGlobalParamQueryRequest","example":{},"type":"object","properties":{"data":{}},"$$ref":"#/definitions/GetGlobalParamQueryRequest"}}],"responses":{"200":{"description":"OK","schema":{"title":"GetGlobalParamQueryResponse","example":{"globalParameters":[{"key":"SYSLOG_TCP_PORT","value":{"uint32Value":9898}},{"key":"SYSLOG_TLS_PORT","value":{"uint32Value":1068}},{"key":"CLI_SESSIONS","value":{"uint32Value":1068}},{"key":"RESYNC_ENGINE_DETAILS","value":{"boolValue":false}},{"key":"SNMP_TRAP_PORT","value":{"uint32Value":1067}},{"key":"SYSLOG_UDP_PORT","value":{"uint32Value":1066}},{"key":"SSH_SESSION_TIMEOUT_IN_SECS","value":{"uint32Value":120}}]},"type":"object","properties":{"data":{"type":"array","items":{"title":"GlobalParameterSettings","example":{"globalParameters":[{"key":"SYSLOG_TCP_PORT","value":{"uint32Value":9898}}]},"type":"object","properties":{"globalParameters":{"type":"array","items":{"title":"GlobalParameterData","example":{"key":"SYSLOG_TCP_PORT","value":{"uint32Value":1066}},"type":"object","properties":{"key":{"type":"string"},"value":{"type":"object","title":"GlobalParameterValue","example":["SYSLOG_TCP_PORT","SYSLOG_TLS_PORT","CLI_SESSIONS","RESYNC_ENGINE_DETAILS","SNMP_TRAP_PORT","SYSLOG_UDP_PORT","SSH_SESSION_TIMEOUT_IN_SECS"],"properties":{"SYSLOG_TCP_PORT":{"type":"integer"},"SYSLOG_TLS_PORT":{"type":"integer"},"SNMP_TRAP_PORT":{"type":"integer"},"SYSLOG_UDP_PORT":{"type":"integer"},"CLI_SESSIONS":{"type":"integer"},"RESYNC_ENGINE_DETAILS":{"type":"boolean"},"SSH_SESSION_TIMEOUT_IN_SECS":{"type":"integer"}},"$$ref":"#/definitions/GlobalParameterValue"}},"required":["key","value"],"$$ref":"#/definitions/GlobalParameterData"}}},"$$ref":"#/definitions/GlobalParameterSettings"}},"total_count":{"type":"integer","format":"int32"}},"required":["data","total_count"],"$$ref":"#/definitions/GetGlobalParamQueryResponse"},"headers":{}},"500":{"description":"Internal Server Error"}},"security":[],"__originalOperationId":"GetGlobalParameters","method":"post","path":"/command/global-parameter/query"}}