{"type":"api","title":"Get Access Methods","meta":{"id":"/apps/pubhub/media/sea-api/7c15e51e49c0ffa2ba78927684d875bb631dffa7/d5f79626-4df3-3cd0-aec3-6ecc5b860dd3","swagger":"2.0","info":{"description":"Deals with Remote Sessions, Access Management (Access Control Groups), and System Management (Network Devices and Assets) APIs","license":{"name":"Licensing is primarily subscription based.","url":"https://www.cisco.com"},"termsOfService":"http://swagger.io/terms/","title":"Secure Equipment Access (SEA) Management APIs","version":"1.0.0"},"host":"us.ciscoiot.com","basePath":"/nbapi/sramgmt/ext","schemes":["https"],"securityDefinitions":{"access_token":{"in":"header","name":"x-access-token","type":"apiKey"},"bearer_token":{"in":"header","name":"Authorization","type":"apiKey"}},"security":[{"access_token":[]},{"bearer_token":[]}],"x-parser-conf":{"apiKeyGenerator":{"$remoteModule":"./config/apikey.js"},"labelConfig":{"endpoint":"summary"}}},"spec":{"description":"Get list of Access Methods\u003cbr /\u003eOne of the below roles is needed to invoke this API\u003cbr /\u003e- SEA System Admin","operationId":"get_connections","parameters":[{"format":"uuid","in":"header","name":"x-tenant-id","required":true,"type":"string"},{"description":"The number of pages to skip before starting to collect the result set. Default: 1","in":"query","name":"page","required":false,"type":"integer"},{"description":"The numbers of items to return on a page. Default: 500","in":"query","name":"size","required":false,"type":"integer"},{"description":"Available (multiple) options: [name, device_name, full_url, ignore_cert, network_protocol, protocol, remote_port, username, protocol_definition_name]","in":"query","name":"filter","required":false,"type":"string"},{"in":"query","name":"search","required":false,"type":"string"},{"description":"Available options: [name, device_name, full_url, ignore_cert, network_protocol, protocol, remote_port, username, protocol_definition_name]","in":"query","name":"sort_by","required":false,"type":"string"},{"description":"Available options: [ASC, DESC] Default: ASC","in":"query","name":"sort_dir","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"Successful operation. Access Method received.","schema":{"type":"object","properties":{"object_type":{"type":"string"},"results":{"type":"array","items":{"type":"object","properties":{"device_id":{"type":"string","format":"uuid","example":"f9f26071-6df3-480c-9850-cf27f118d5fe"},"device_name":{"type":"string","example":"IE-3400-8P2S+FOC1408V0FJ (self)"},"gateway_name":{"type":"string","example":"IE-3400-8P2S+FCW1408P9S2TEMP"},"groups":{"type":"array","items":{"type":"object","properties":{"group_id":{"type":"string","format":"uuid","example":"cbf76024-00e8-445b-9be4-d31f4781a64d"},"group_name":{"type":"string","example":"IE-3400 group"}},"$$ref":"#/definitions/response_group"}},"id":{"type":"string","format":"uuid","example":"9b06dbf6-0cca-4c59-81d8-000ad64817cc"},"name":{"type":"string","example":"IE-3400-8P2S+FCW1408P9S2TEMP (self) (SSH)"},"protocol":{"type":"string","description":"Available options: [SSH, RDP, TELNET, VNC, WEB, SEA_PLUS]","enum":["SSH","RDP","TELNET","VNC","WEB","SEA_PLUS"],"example":"SSH"},"protocol_display_name":{"type":"string","description":"Available options: [SSH, RDP, Telnet, VNC, Web App, SEA Plus]","enum":["SSH","RDP","Telnet","VNC","Web App","SEA Plus"],"example":"SSH"}},"$$ref":"#/definitions/response_connection"}},"page":{"type":"integer","description":"Current page to display","default":1,"example":1},"page_links":{"type":"object","description":"Page links to navigate pages","example":null},"size":{"type":"integer","description":"The numbers of records to return","default":500,"example":500},"total_count":{"type":"integer","description":"Total count of records retrieved by query","example":95},"total_pages":{"type":"integer","description":"Total count of records retrieved by query","example":19}},"$$ref":"#/definitions/response_get_connections"}},"401":{"description":"Bad request","schema":{"example":"Authentication Token is invalid","type":"string"}},"403":{"description":"Forbidden","schema":{"example":"Permission denied to access the resource","type":"string"}},"404":{"description":"Access Method not found.","schema":{"properties":{"debug_message":{"items":{"type":"string"},"type":"array"},"error_code":{"type":"string"},"message":{"type":"string"}},"type":"object","$$ref":"#/definitions/response_error"}},"500":{"description":"Internal server error","schema":{"example":"Could not connect to server","type":"string"}}},"summary":"Get Access Methods","tags":["Access Methods"],"__originalOperationId":"get_connections","security":[{"access_token":[]},{"bearer_token":[]}],"method":"get","path":"/connections"}}