{"openapi":"3.1.0","info":{"title":"Sovereignty Monitor public endpoint","version":"0.9.0","description":"Read-only JSON over the European Sovereignty Monitor data. CC BY 4.0; grants data from CORDIS, European Union."},"servers":[{"url":"https://api.sovereigntymonitor.eu"}],"paths":{"/api/status":{"get":{"summary":"Snapshots, counts and file dates","parameters":[],"responses":{"200":{"description":"JSON"},"404":{"description":"not found, with suggestions where possible"}}}},"/api/news":{"get":{"summary":"Graded news and opinion items, newest first","parameters":[{"name":"area","in":"query","schema":{"type":"string"},"description":"policy-and-law, compute-and-infrastructure, defence-and-space, industry-investment-and-rd"},{"name":"grade","in":"query","schema":{"type":"string"},"description":"Verified or Reported"},{"name":"kind","in":"query","schema":{"type":"string"},"description":"news or opinion"},{"name":"origin","in":"query","schema":{"type":"string"},"description":"europe or abroad"},{"name":"author","in":"query","schema":{"type":"string"},"description":"an actor id, matched exactly; opinion items only"},{"name":"mentions","in":"query","schema":{"type":"string"},"description":"an actor id, matched exactly: the items the record links to that actor as what they are about"},{"name":"month","in":"query","schema":{"type":"string"},"description":"YYYY-MM"},{"name":"from","in":"query","schema":{"type":"string"},"description":"YYYY-MM-DD"},{"name":"to","in":"query","schema":{"type":"string"},"description":"YYYY-MM-DD"},{"name":"q","in":"query","schema":{"type":"string"},"description":"text in headline, summary or does_not_test"},{"name":"source","in":"query","schema":{"type":"string"},"description":"publisher name or url fragment"},{"name":"limit","in":"query","schema":{"type":"string"},"description":"1 to 500"},{"name":"offset","in":"query","schema":{"type":"string"},"description":"paging offset"}],"responses":{"200":{"description":"JSON"},"404":{"description":"not found, with suggestions where possible"}}}},"/api/index":{"get":{"summary":"The European Sovereignty Index, both numbers, under the area weights","parameters":[{"name":"key","in":"query","schema":{"type":"string"},"description":"four area weights, compute-policy-defence-industry, e.g. 30-25-25-20"},{"name":"area","in":"query","schema":{"type":"string"},"description":"one area slug"},{"name":"pillar","in":"query","schema":{"type":"string"},"description":"older name for area, still accepted"}],"responses":{"200":{"description":"JSON"},"404":{"description":"not found, with suggestions where possible"}}}},"/api/news/stats":{"get":{"summary":"News counts by month, area, grade, publisher and language","parameters":[{"name":"from","in":"query","schema":{"type":"string"},"description":"YYYY-MM-DD"},{"name":"to","in":"query","schema":{"type":"string"},"description":"YYYY-MM-DD"}],"responses":{"200":{"description":"JSON"},"404":{"description":"not found, with suggestions where possible"}}}},"/api/calendar":{"get":{"summary":"Dated events ahead: deadlines, votes, launches, scheduled reports and the days laws start to apply, in windows measured from today","parameters":[{"name":"window","in":"query","schema":{"type":"string"},"description":"week, month, quarter, year, later or all"},{"name":"area","in":"query","schema":{"type":"string"},"description":"one area slug"}],"responses":{"200":{"description":"JSON"},"404":{"description":"not found, with suggestions where possible"}}}},"/api/news/{id}":{"get":{"summary":"One news item with its map nodes, ledger case and timeline event","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"news item id"}],"responses":{"200":{"description":"JSON"},"404":{"description":"not found, with suggestions where possible"}}}},"/api/search":{"get":{"summary":"Substring search across collections","parameters":[{"name":"q","in":"query","schema":{"type":"string"},"description":"text to find"},{"name":"collections","in":"query","schema":{"type":"string"},"description":"comma-separated collection names"},{"name":"limit","in":"query","schema":{"type":"string"},"description":"1 to 200"}],"responses":{"200":{"description":"JSON"},"404":{"description":"not found, with suggestions where possible"}}}},"/api/cards/{id}":{"get":{"summary":"Everything the record holds about one map card","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"card id, e.g. openchip"}],"responses":{"200":{"description":"JSON"},"404":{"description":"not found, with suggestions where possible"}}}},"/api/actors/{id}":{"get":{"summary":"One actor from the registry: its card and, via the card, grants, cases and events; the news about it and, apart, what it published (503 while the endpoint cannot read the actors file)","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"actor id, e.g. mistral-ai"}],"responses":{"200":{"description":"JSON"},"404":{"description":"not found, with suggestions where possible"}}}},"/api/{collection}":{"get":{"summary":"Rows from one collection; any other query parameter filters by that field","parameters":[{"name":"collection","in":"path","required":true,"schema":{"type":"string"},"description":"news, cards, layers, partners, goals, variants, tests, cases, contradictions, consortia, orgs, events, actors"},{"name":"limit","in":"query","schema":{"type":"string"},"description":"1 to 500"}],"responses":{"200":{"description":"JSON"},"404":{"description":"not found, with suggestions where possible"}}}},"/api/{collection}/{id}":{"get":{"summary":"One row by id","parameters":[{"name":"collection","in":"path","required":true,"schema":{"type":"string"},"description":"news, cards, layers, partners, goals, variants, tests, cases, contradictions, consortia, orgs, events, actors"},{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"row id"}],"responses":{"200":{"description":"JSON"},"404":{"description":"not found, with suggestions where possible"}}}}}}