{"type":"api","title":"Get Device Credential Details","meta":{"id":"/apps/pubhub/media/dna-center-235/0e427c513038595590fc5a0593cb0e208dd78571/2192edf3-d24e-3461-ab8c-12a97b547df4","swagger":"2.0","info":{"description":"Cisco DNA Center Platform v. 2.3.5","version":"2.3.5","title":"Intent API"},"schemes":["https"],"x-parser-conf":{"expand":0,"labelConfig":{"endpoint":"summary"}}},"spec":{"operationId":"getDeviceCredentialDetails","tags":["Network Settings"],"summary":"Get Device Credential Details","description":"API to get device credential details.","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"siteId","description":"Site id to retrieve the credential details associated with the site.","default":"","required":false,"type":"string","in":"query"}],"responses":{"200":{"description":"The request was successful. The result is contained in the response body.","schema":{"type":"object","properties":{"snmp_v3":{"type":"array","items":{"type":"object","properties":{"username":{"type":"string"},"authPassword":{"type":"string"},"authType":{"type":"string"},"privacyPassword":{"type":"string"},"privacyType":{"type":"string"},"snmpMode":{"type":"string"},"comments":{"type":"string"},"description":{"type":"string"},"credentialType":{"type":"string"},"instanceUuid":{"type":"string"},"instanceTenantId":{"type":"string"},"id":{"type":"string"}}}},"http_read":{"type":"array","items":{"type":"object","properties":{"secure":{"type":"string"},"username":{"type":"string"},"password":{"type":"string"},"port":{"type":"string"},"comments":{"type":"string"},"description":{"type":"string"},"credentialType":{"type":"string"},"instanceUuid":{"type":"string"},"instanceTenantId":{"type":"string"},"id":{"type":"string"}}}},"http_write":{"type":"array","items":{"type":"object","properties":{"secure":{"type":"string"},"username":{"type":"string"},"password":{"type":"string"},"port":{"type":"string"},"comments":{"type":"string"},"description":{"type":"string"},"credentialType":{"type":"string"},"instanceUuid":{"type":"string"},"instanceTenantId":{"type":"string"},"id":{"type":"string"}}}},"snmp_v2_write":{"type":"array","items":{"type":"object","properties":{"writeCommunity":{"type":"string"},"comments":{"type":"string"},"description":{"type":"string"},"credentialType":{"type":"string"},"instanceUuid":{"type":"string"},"instanceTenantId":{"type":"string"},"id":{"type":"string"}}}},"snmp_v2_read":{"type":"array","items":{"type":"object","properties":{"readCommunity":{"type":"string"},"comments":{"type":"string"},"description":{"type":"string"},"credentialType":{"type":"string"},"instanceUuid":{"type":"string"},"instanceTenantId":{"type":"string"},"id":{"type":"string"}}}},"cli":{"type":"array","items":{"type":"object","properties":{"username":{"type":"string"},"enablePassword":{"type":"string"},"password":{"type":"string"},"comments":{"type":"string"},"description":{"type":"string"},"credentialType":{"type":"string"},"instanceUuid":{"type":"string"},"instanceTenantId":{"type":"string"},"id":{"type":"string"}}}}},"$$ref":"#/definitions/GetDeviceCredentialDetailsResponse"}},"400":{"description":"The client made a request that the server could not understand (for example, the request syntax is incorrect)."},"401":{"description":"The client's authentication credentials included with the request are missing or invalid."},"404":{"description":"The client made a request for a resource that does not exist."},"500":{"description":"The server could not fulfill the request."}},"__originalOperationId":"getDeviceCredentialDetails","method":"get","path":"/dna/intent/api/v1/device-credential"}}