{"type":"api","title":"List secrets by secret type","meta":{"id":"/apps/pubhub/media/crosswork-workflow-manager-api-document/c2b1495da5c551db36e03cbfd612f025412f8417/262737b2-b3c2-32cd-b07b-fdbdcd23918f","info":{"description":"Cisco Crosswork Workflow Manager (CWM) 2.1 offers RESTful APIs that enable automation engineers and developers to create, deploy, and manage workflows, adapters, jobs, resources, events, and workers within the Cisco CWM platform.","title":"Cisco Crosswork Workflow Manager API","termsOfService":"www.cisco.com","contact":{"name":"API Support","url":"https://www.cisco.com/support"},"version":"2.1.0"},"x-parser-conf":{"overview":{"markdownPath":"reference/overview.md"}},"swagger":"2.0","basePath":"/crosswork/cwm/v2","securityDefinitions":{"Bearer":{"type":"apiKey","name":"Authorization","in":"header","description":"JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\""}}},"spec":{"description":"Retrieve a list of secrets associated with a specific secret type.","produces":["application/json"],"tags":["secrets"],"summary":"List secrets by secret type.","operationId":"get_secret_type","parameters":[{"type":"string","description":"Secret Type ID.","name":"secretTypeId","in":"path","required":true}],"responses":{"200":{"description":"Secrets retrieved successfully.","schema":{"type":"object","properties":{"secrets":{"type":"array","items":{"type":"object","properties":{"secretId":{"type":"string"},"secretType":{"type":"string"}},"$$ref":"#/definitions/server.SecretGetResponse"}}},"$$ref":"#/definitions/server.SecretList"}},"404":{"description":"Secret type not found.","schema":{"type":"object","properties":{"code":{"type":"integer","example":400},"message":{"type":"string","example":"status bad request"}},"$$ref":"#/definitions/server.HTTPError"}},"500":{"description":"Internal server error.","schema":{"type":"object","properties":{"code":{"type":"integer","example":400},"message":{"type":"string","example":"status bad request"}},"$$ref":"#/definitions/server.HTTPError"}}},"__originalOperationId":"get-secret-type","consumes":["application/json"],"method":"get","path":"/secretType/{secretTypeId}"}}