Skip to content

Update directory.json for base48 - #343

Closed
vega-d wants to merge 1 commit into
SpaceApi:masterfrom
base48:master
Closed

vega-d wants to merge 1 commit into
SpaceApi:masterfrom
base48:master

Conversation

@vega-d

@vega-d vega-d commented Aug 28, 2026

Copy link
Copy Markdown

haii just fixing up the url cause we've been doing some migrations and the endpoint moved.
The endpoint is valid according to https://validator.spaceapi.io/ui

@rnestler rnestler left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The old and the new endpoint report different data:

Old:

$ curl https://base48.cz/api/base_status_spaceapi.json|jq

{
  "api_compatibility": [
    "14",
    "15"
  ],
  "space": "Base48",
  "logo": "https://base48.cz/img/logo/logo.svg",
  "url": "https://base48.cz/",
  "location": {
    "address": "Palackého třída 742/82, Slovanské náměstí; 61200 Brno",
    "lon": 16.5954453,
    "lat": 49.2241667,
    "timezone": "Europe/Prague",
    "country_code": "CZ"
  },
  "contact": {
    "email": "info@base48.cz",
    "irc": "irc://irc.libera.chat/#base48",
    "twitter": "@base48_cz",
    "facebook": "https://www.facebook.com/Base48.cz/"
  },
  "issue_report_channels": [
    "email"
  ],
  "state": {
    "icon": {
      "open": "https://base48.cz/img/logo/logo.svg",
      "closed": "https://base48.cz/img/logo/logo.svg"
    },
    "open": true,
    "lastchange": 1788257222.474490869
  },
  "projects": [
    "https://github.com/base48",
    "https://wiki.base48.cz/wiki/Category:Projects"
  ]
}

New:

$ curl https://ha.base48.cz/api/spaceapi|jq
{
  "api": "0.13",
  "contact": {
    "email": "rada@lists.base48.cz"
  },
  "issue_report_channels": [
    "email"
  ],
  "location": {
    "lat": 49.22426822123422,
    "lon": 16.59547090530396,
    "address": "Mojmírovo náměstí 17, Brno, Česká republika"
  },
  "logo": "https://base48.cz/img/logo/logo_bw.svg",
  "space": "Base48",
  "state": {
    "open": true,
    "lastchange": 1788246826.260162
  },
  "url": "https://base48.cz/"
}

But the new endpoint seems to serve very outdated data. It only supports v0.13 for example instead of v14 and v15.

@rnestler

rnestler commented Oct 8, 2026

Copy link
Copy Markdown
Member

@vega-d any update?

@vega-d

vega-d commented Oct 9, 2026

Copy link
Copy Markdown
Author

The homeassistant integration unfortunately can't be easily made to support a newer schema version so we moved back to having a dedicated go container for this and the PR is no longer relevant. I'll close it.

@vega-d vega-d closed this Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants