-
Notifications
You must be signed in to change notification settings - Fork 0
API
All endpoints are under the /api
url.
Miro with all API Endpoints:
https://miro.com/app/board/uXjVPg7IgSc=/?share_link_id=718216349886
Get building info
Params:
auth
Authorization token
Returns:
Building with given buildingID
Get owners of building
Params:
auth
Authorization token
Returns:
List with all owners of building with given buildingID
Add new building
Params:
auth
Authorization token
todo
building info
Returns:
Update building information
Params:
Returns:
Add user as owner
Params:
Returns:
Delete building
Params:
Returns:
Delete user as owner
Params:
Returns:
Return user information by id
Params:
Returns:
Return user information by auth token
Params:
Returns:
Return all owned buildings
Params:
Returns:
Log in
Params:
Returns:
Add new user
Params:
Returns:
Update user information
Params:
Returns:
Delete user
Params:
Returns:
Return tour by id
Params:
Returns:
Returns the tour from the giving tourID.
Return buildings in tour (in order)
Params:
Returns:
Add a new tour
Params:
name
: name of the tour
region
: id of the region
Returns:
id
: id of the tour
Add new tour version of existing tour
Params:
Returns:
Update tour information
Params:
Returns:
Delete tour (and all previous versions?)
Params:
Returns:
Return schedule by id
Params:
Returns:
Return schedule for logged in user
Params:
Returns:
Add new schedule to tour
Params:
Returns:
Update schedule information
Params:
Returns:
Delete Schedule
Params:
Returns:
Return visit by id
Params:
Returns:
Return images linked to visit
Params:
Returns:
Add new visit to building with id
Params:
Returns:
Add new image to visit
Params:
Returns:
Update visit information
Params:
Returns:
Delete visit
Params:
Returns:
Return photo by id
Params:
Returns:
Update image information
Params:
Returns:
Delete image
Params:
Returns: