/api/v1/inOffice
This endpoint returns the current status of Jens Spahn's political roles.
GET
A JSON object with the following structure:
{
"lastUpdated": "2025-01-01 12:34:56",
"isSpahnStillInOffice": true,
"isSpahnStillInParliament": true,
"isSpahnStillParliamentaryLeader": true
}
Field | Type | Description |
---|---|---|
lastUpdated |
string (datetime) |
Timestamp of the last status update in YYYY-MM-DD HH:MM:SS format. (Timezone Europe/Berlin) |
isSpahnStillInOffice |
boolean |
true if Jens Spahn currently holds a public office. |
isSpahnStillInParliament |
boolean |
true if he is currently a member of the German Bundestag. |
isSpahnStillParliamentaryLeader |
boolean |
true if he is currentl a parliamentary leader in the German Bundestag. |
fetch('/api/v1/inOffice')
.then(res => res.json())
.then(data => {
console.log('Is Spahn in office?', data.isSpahnStillInOffice);
});
lastUpdated
field.