Get Component by id.
Security
bearerAuth
- Mock serverhttps://codeinsightapi.redocly.app/_mock/swagger/components/{componentId}
- Code Insight REST API Serverhttps://codeinsightapi.redocly.app/codeinsight/api/components/{componentId}
curl -i -X GET \
'https://codeinsightapi.redocly.app/_mock/swagger/components/1?includeVersions=true&vulnerabilitySummary=false&cvssVersion=V2' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'OK
url
Example:"http://abc@xyz.com | NA"
purl
Example:"pkg:maven/org.apache/commons-lang3 | N/A | NA"
Response
{ "name": "Comp1", "title": "Component1", "url": "http://abc@xyz.com | NA", "description": "This is a custom component.", "encryption": "E.g. YES | default: NO", "forgeId": 1, "purl": "pkg:maven/org.apache/commons-lang3 | N/A | NA", "id": 0, "forge": "string", "versionList": [ { … } ], "licenseList": [ { … } ], "componentCPEList": [ { … } ], "createdBy": "string", "createdOn": "string", "updatedBy": "string", "updatedOn": "string" }