Skip to main content
GET
/
v2
/
cryptography
/
algorithms
/
versions
/
range
/
component
Get component versions that contain or don't contain cryptographic algorithms within specified ranges.
curl --request GET \
  --url http://api.scanoss.com/v2/cryptography/algorithms/versions/range/component
{
  "component": {
    "purl": "pkg:github/scanoss/engine",
    "versions_with": [
      "2.0.0",
      "3.0.0",
      "4.0.0"
    ],
    "versions_without": [
      "1.0.0",
      "1.5.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.

Query Parameters

purl
string
required

Package URL identifying the component to analyze.

requirement
string

Version constraint for component resolution when PURL lacks explicit version.

Response

A successful response.

Response message for ComponentVersionsInRange method.

Contains version lists for a single component categorized by cryptographic algorithm presence, helping assess cryptographic adoption across component evolution.

component
object

Version information for a specific component categorized by cryptographic presence.

status
object

Detailed response details.