Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Resources are the image files associated with a floor. The .svg or .pdf asset URL and the associated metadata are often referred to as a map.

Map for Level One

The example request below creates a map for the floor named Level One. The example response returns the newly created resource's ID. 

Example Request

POST /v1.1/resources HTTP/1.1 
X-Auth: see MaaS Security Protocol v1.0
Content-Type: application/json
	"floorId": 17,
    "pdfUrl": "",
    "svgUrl": "",
    "zoomLevel": 0

Example Response

HTTP/1.1 200 OK 
Vary: Accept-Encoding
Content-Type: application/json; charset=utf-8
Date: Tue, 20 May 2015 16:06:54 GMT
Connection: keep-alive
        "id": 71


  • No labels