-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspaceapi-list-spaces-example.json
More file actions
52 lines (52 loc) · 1.44 KB
/
spaceapi-list-spaces-example.json
File metadata and controls
52 lines (52 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"summary": "List All Spaces Example",
"description": "Example response from GET / on the SpaceAPI Collector showing registered hackerspaces and makerspaces",
"request": {
"method": "GET",
"url": "https://collector.spaceapi.io/",
"headers": {
"Accept": "application/json"
}
},
"response": {
"status": 200,
"headers": {
"Content-Type": "application/json"
},
"body": {
"items": [
{
"url": "https://hackerspace.example.org/spaceapi.json",
"valid": true,
"space": "Example Hackerspace",
"lastSeen": 1714652400,
"data": {
"api_compatibility": ["14"],
"space": "Example Hackerspace",
"logo": "https://hackerspace.example.org/logo.png",
"url": "https://hackerspace.example.org",
"location": {
"address": "123 Main St, Berlin, Germany",
"lat": 52.5200,
"lon": 13.4050
},
"state": {
"open": true
},
"contact": {
"email": "info@hackerspace.example.org",
"irc": "irc://irc.freenode.net/#example"
}
}
},
{
"url": "https://makerspace.example.com/status.json",
"valid": false,
"space": "Example Makerspace",
"lastSeen": 1714500000,
"errMsg": "Connection timeout"
}
]
}
}
}