Authorizations
Response
Successful response
curl --request POST \
--url https://zeropath.com/api/v1/sca/licenses/search \
--header 'Content-Type: application/json' \
--header 'X-ZeroPath-API-Token-Id: <api-key>' \
--header 'X-ZeroPath-API-Token-Secret: <api-key>' \
--data '{
"organizationId": "<string>",
"repositoryIds": [
"<string>"
]
}'{
"licenses": [
{
"id": "<string>",
"name": "<string>",
"packages": [
{
"id": "<string>",
"name": "<string>",
"version": "<string>",
"ecosystem": "<string>",
"manifestPath": "<string>",
"manifestStartLine": 123,
"manifestEndLine": 123,
"manifestStartColumn": 123,
"manifestEndColumn": 123,
"repositoryId": "<string>",
"repositoryName": "<string>",
"branch": "<string>",
"commitSha": "<string>",
"count": 123,
"items": [
{}
]
}
]
}
]
}List licenses grouped with their packages for the user’s repositories.
curl --request POST \
--url https://zeropath.com/api/v1/sca/licenses/search \
--header 'Content-Type: application/json' \
--header 'X-ZeroPath-API-Token-Id: <api-key>' \
--header 'X-ZeroPath-API-Token-Secret: <api-key>' \
--data '{
"organizationId": "<string>",
"repositoryIds": [
"<string>"
]
}'{
"licenses": [
{
"id": "<string>",
"name": "<string>",
"packages": [
{
"id": "<string>",
"name": "<string>",
"version": "<string>",
"ecosystem": "<string>",
"manifestPath": "<string>",
"manifestStartLine": 123,
"manifestEndLine": 123,
"manifestStartColumn": 123,
"manifestEndColumn": 123,
"repositoryId": "<string>",
"repositoryName": "<string>",
"branch": "<string>",
"commitSha": "<string>",
"count": 123,
"items": [
{}
]
}
]
}
]
}Successful response
Show child attributes