API
Search listings
For the latest documentation on getting lists of groups, and events, for a place, category, or whatever else see the notes on the wiki.
FileRetrieve
GET api/1.0/file/:uuid
Update
PUT api/1.0/file/:uuid
Create_raw
POST api/1.0/file/create_raw
Group_events
Index
GET api/1.0/group_events/:uuid
Location
Retrieve
GET api/1.0/location/:uuid
Update
PUT api/1.0/location/:uuid
Node
Retrieve
GET api/1.0/node/:uuid
Update
PUT api/1.0/node/:uuid
Files
GET api/1.0/node/:nid/:file_contents/:image_styles/files
Search
Retrieve
GET api/1.0/search/:index
Query String Parameters(array) filter - optional
String of filters to apply to the search, in the form 'filter[~and][title]=title'. Filters can be nested.
(array) sort - optional
String containing the sort elements for the search in the form 'sort[nid]=DESC'. Multiple sort terms can be used.
(int) limit - optional
Number of results to retrieve.
(int) offset - optional
The position of the first returned search result.
(array) fields - optional
The fields to get, if fields are from a related entity, use field_relationship:field_name for getting a given field or field_relationship_* for getting the whole set of data
Taxonomy_term
Retrieve
GET api/1.0/taxonomy_term/:uuid
Update
PUT api/1.0/taxonomy_term/:uuid
User
Login
POST api/1.0/user/login
Body Data(string) username - required
A valid username
(string) password - required
A valid password
Logout
POST api/1.0/user/logout
Token
POST api/1.0/user/token
iCalendar feeds
Incoming
Administrators of groups can 'Create new Event ical importer in group', link in the grey section where others can add events. You just need to fill the iCalendar feed into the 'FEED URL' box. If your events do not have geolocation you will also want to select the default 'Offline' location for events.
Outgoing
Each group has an link to it's upcoming events feed on the group page.
Link presently missing, the URL will be https://radar.squat.net/ical/node/XXXX where XXXX is the group ID (see notes in API above).
Feeds of the other upcoming events pages to be created.
RDFa schema.org
All pages are marked up using RDFa primarily (but not only) using schema.org. You can see examples of the data by looking at the output of the Google (yer I don't know of a better example) Structure Data Testing tool https://search.google.com/structured-data/testing-tool#url=https%3A%2F%2Fradar.squat.net
GET api/1.0/file/:uuid
PUT api/1.0/file/:uuid
POST api/1.0/file/create_raw
GET api/1.0/group_events/:uuid
GET api/1.0/location/:uuid
PUT api/1.0/location/:uuid
GET api/1.0/node/:uuid
PUT api/1.0/node/:uuid
GET api/1.0/node/:nid/:file_contents/:image_styles/files
GET api/1.0/search/:index
(array) filter - optional
String of filters to apply to the search, in the form 'filter[~and][title]=title'. Filters can be nested.
(array) sort - optional
String containing the sort elements for the search in the form 'sort[nid]=DESC'. Multiple sort terms can be used.
(int) limit - optional
Number of results to retrieve.
(int) offset - optional
The position of the first returned search result.
(array) fields - optional
The fields to get, if fields are from a related entity, use field_relationship:field_name for getting a given field or field_relationship_* for getting the whole set of data
Taxonomy_term
Retrieve
GET api/1.0/taxonomy_term/:uuid
Update
PUT api/1.0/taxonomy_term/:uuid
User
Login
POST api/1.0/user/login
(string) username - required
A valid username
(string) password - required
A valid password
Logout
POST api/1.0/user/logout
Token
POST api/1.0/user/token
iCalendar feeds
Incoming
Administrators of groups can 'Create new Event ical importer in group', link in the grey section where others can add events. You just need to fill the iCalendar feed into the 'FEED URL' box. If your events do not have geolocation you will also want to select the default 'Offline' location for events.
Outgoing
Each group has an link to it's upcoming events feed on the group page.
Link presently missing, the URL will be https://radar.squat.net/ical/node/XXXX where XXXX is the group ID (see notes in API above).
Feeds of the other upcoming events pages to be created.
RDFa schema.org
All pages are marked up using RDFa primarily (but not only) using schema.org. You can see examples of the data by looking at the output of the Google (yer I don't know of a better example) Structure Data Testing tool https://search.google.com/structured-data/testing-tool#url=https%3A%2F%2Fradar.squat.net