membermatters / MemberMatters

An open source membership, access and payments portal for makerspaces and community groups.
https://membermatters.org
MIT License
43 stars 23 forks source link

Return limited information when the state API is not set. #228

Closed proffalken closed 5 months ago

proffalken commented 10 months ago

Returns only the data from CONSTANCE and marks the space as "CLOSED" unless a SpaceAPI object has been created:


Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "space": "MemberMatters",
    "logo": "https://brisbanemaker.space/wp-content/uploads/2021/10/BMS-Logo-ONLY.png",
    "url": "http://localhost:8080/",
    "state": "closed",
    "contact": {
        "email": "[notset@example.com](mailto:notset@example.com)",
        "twitter": "",
        "phone": "",
        "facebook": ""
    },
    "spacefed": {
        "spacenet": false,
        "spacesaml": false,
        "spacephone": false
    },
    "projects": [],
    "issue_report_channels": [
        "email"
    ]
}```
proffalken commented 8 months ago

@jabelone - pretty sure this one can be closed off now? I don't think it adds anything we've not tackled elsewhere?