Skip to main content
GET
/
v2
/
cryptography
/
hints
/
range
/
component
Get cryptographic hints across version ranges - legacy endpoint.
curl --request GET \
  --url http://api.scanoss.com/v2/cryptography/hints/range/component
{
  "component": {
    "purl": "pkg:github/scanoss/engine",
    "versions": [
      "5.0.0",
      "5.1.0",
      "5.2.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"
      }
    ]
  },
  "status": {
    "status": "SUCCESS",
    "message": "Cryptographic hints in range retrieved"
  }
}

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.

Success example. For error cases, the component block reports the processing status via info_message and info_code. Example: {"component":{"purl":"pkg:github/unknown/component","versions":[],"hints":[],"info_message":"Component not found in database","info_code":"COMPONENT_NOT_FOUND"},"status":{"status":"SUCCESS","message":"Request processed"}}

component
Information about the requested purl · object
status
object

Detailed response details.