Skip to main content
POST
/
v2
/
cryptography
/
algorithms
/
versions
/
range
/
components
Get multiple component versions that contain or don't contain cryptographic algorithms within specified ranges.
curl --request POST \
  --url http://api.scanoss.com/v2/cryptography/algorithms/versions/range/components \
  --header 'Content-Type: application/json' \
  --data '
{
  "components": [
    {
      "purl": "pkg:github/scanoss/engine@1.0.0"
    },
    {
      "purl": "pkg:github/scanoss/scanoss.py@v1.30.0"
    }
  ]
}
'
{
  "components": [
    {
      "purl": "pkg:github/scanoss/engine",
      "versions_with": [
        "2.0.0",
        "3.0.0"
      ],
      "versions_without": [
        "1.0.0"
      ]
    },
    {
      "purl": "pkg:github/scanoss/scanoss.py",
      "versions_with": [
        "v1.30.0"
      ],
      "versions_without": [
        "v1.29.0"
      ]
    }
  ],
  "status": {
    "status": "SUCCESS",
    "message": "Version ranges Successfully retrieved"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.scanoss.com/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json

Represents a list of software component to be analyzed by SCANOSS API services. Allows analysis of multiple software components in a single API call, improving performance over individual requests.

Represents a list of software component to be analyzed by SCANOSS API services. Allows analysis of multiple software components in a single API call, improving performance over individual requests.

components
Array of component requests to analyze · object[]
required

Response

A successful response.

Response message for ComponentsVersionsInRange method.

Contains version lists for multiple components categorized by cryptographic algorithm presence, processed in a single batch request. Each component is analyzed independently.

components
Version details for each component in the batch · object[]
status
object

Detailed response details.