Both sides previous revisionPrevious revisionNext revision | Previous revision |
projets:fuz:spaceapi [2021-12-05 19:56] – [Deployment] Lomanic | projets:fuz:spaceapi [2023-02-02 22:06] (current) – external edit 127.0.0.1 |
---|
* Owner: [[:user:Lomanic]] | * Owner: [[:user:Lomanic]] |
* Participants: you? | * Participants: you? |
* Status: **running** | * Status: **online** |
* Project created on **Sat 17-10-20** by **[[:user:Lomanic]]** | * Project created on **Sat 17-10-20** by **[[:user:Lomanic]]** |
| |
===== Goals ===== | ===== Goals ===== |
| |
* serve a [[https://spaceapi.io/|SpaceAPI]] endpoint at https://spaceapi.fuz.re (**done**) | * serve a [[https://spaceapi.io/|SpaceAPI]] endpoint at https://spaceapi.fuz.re (**done**) |
* set the opening status according to the [[presence button]] API at https://presence.fuz.re/api (**done**) | * set the opening status according to the [[presence button]] API at https://presence.fuz.re/api (**done**) |
| |
===== Resources ===== | ===== Resources ===== |
| * Introduction to SpaceAPI on HaD https://hackaday.com/2021/06/18/do-you-spaceapi/ |
* https://spaceapi.io/ | * https://spaceapi.io/ |
* https://spaceapi.io/provide-an-endpoint/ | * https://spaceapi.io/provide-an-endpoint/ |
| |
Pull request opened https://github.com/SpaceApi/directory/pull/157 and merged! The hackerspace is now on [[https://api.spaceapi.io/]]! | Pull request opened https://github.com/SpaceApi/directory/pull/157 and merged! The hackerspace is now on [[https://api.spaceapi.io/]]! |
| |
| ==== 2022-09-27 ==== |
| |
| Redeployed on the new "octo" server, [[#deployment|following the previous documentation]] but with the following configuration in ''/etc/systemd/system/spaceapi.service'' |
| |
| <code> |
| Environment='SPACEAPI={"api":"0.14","api_compatibility":["14"],"space":"FUZ","logo":"https://wiki.fuz.re/lib/exe/fetch.php?media=wiki:logo.png","url":"https://fuz.re/","location":{"address":"57-59 Rue Étienne Marcel, 93100 Montreuil, FRANCE","lon":2.430790,"lat":48.858110},"contact":{"email":"","irc":"","ml":"fuz@fuz.re","twitter":"@fuz_re","matrix":"https://matrix.to/#/#fuz_general:matrix.fuz.re"},"issue_report_channels":["ml","twitter"],"state":{"icon":{"open":"https://presence.fuz.re/img","closed":"https://presence.fuz.re/img"},"message":"we are still moving in"},"projects":["https://wiki.fuz.re/doku.php?id=projets:fuz:start"]}' |
| </code> |
| |
| [[https://github.com/Lomanic/fuz-spaceapi/tree/spec0.14|With the following branch]], making our endpoint up to the 0.14 spec and not completely broken when there's no (like currently) presence API available |