Skip to main content
GET
/
frameworks
/
{slug}
/
articles
List articles for a framework
curl --request GET \
  --url https://demo.law4devs.eu/api/v1/frameworks/{slug}/articles
{
  "data": [
    {
      "id": 1,
      "article_number": 1,
      "title": "Subject matter",
      "framework_slug": "cra",
      "position": 1,
      "paragraph_count": 0,
      "processed_date": "2023-11-07T05:31:56Z",
      "tags": [
        {
          "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",
    "total": 71,
    "page": 1,
    "per_page": 20,
    "pages": 4
  },
  "links": {
    "next": "?page=2&per_page=20",
    "prev": null
  }
}

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.

Path Parameters

slug
string
required

Framework slug (e.g. cra, nis2, gdpr)

Pattern: ^[a-z0-9_]+$
Example:

"cra"

Query Parameters

page
integer
default:1

Page number (1-based)

Required range: x >= 1
Example:

1

per_page
integer
default:20

Results per page (max 100)

Required range: 1 <= x <= 100
Example:

20

tag
string

Filter articles that have this tag slug

Example:

"vulnerability-reporting"

Full-text search within article title and content

Example:

"cybersecurity"

Response

Paginated articles

data
object[]
meta
object