Skip to main content
GET
/
compare
Compare articles across multiple frameworks
curl --request GET \
  --url https://demo.law4devs.eu/api/v1/compare
{
  "data": {
    "frameworks": {},
    "tag": {
      "id": 1,
      "slug": "vulnerability-reporting",
      "name": "Vulnerability Reporting",
      "description": "Requirements related to disclosing and reporting software vulnerabilities.",
      "keywords": [
        "vulnerability",
        "CVE",
        "disclose",
        "disclosure"
      ],
      "color": "#e74c3c",
      "created_at": "2023-11-07T05:31:56Z"
    }
  },
  "meta": {
    "api_version": "1.0"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.law4devs.eu/llms.txt

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

Query Parameters

frameworks
string
required

Comma-separated list of framework slugs (max 5 recommended)

Example:

"cra,nis2,gdpr"

tag
string

Filter articles to those with this tag slug

Example:

"risk-assessment"

Response

Articles and requirements grouped by framework

data
object
meta
object