Skip to main content
POST
/
v2
/
cryptography
/
hints
/
range
/
components
Get cryptographic hints across version ranges - legacy endpoint.
curl --request POST \
  --url http://api.scanoss.com/v2/cryptography/hints/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": [
        "5.0.0",
        "5.1.0"
      ],
      "hints": [
        {
          "id": "openssl-hint-001",
          "name": "OpenSSL",
          "description": "Industry standard cryptographic library",
          "category": "library",
          "url": "https://www.openssl.org/",
          "purl": "pkg:generic/openssl@3.0.0"
        }
      ]
    },
    {
      "purl": "pkg:github/scanoss/scanoss.py",
      "versions": [],
      "hints": [],
      "info_message": "Component not found in database",
      "info_code": "COMPONENT_NOT_FOUND"
    }
  ],
  "status": {
    "status": "SUCCESS",
    "message": "Cryptographic hints in range 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.

components
Information about the requested purl · object[]
status
object

Detailed response details.