This documentation is no longer actively supported and may be out of date. Going forward, please visit and bookmark our new site (https://docs.phunware.com/) for up-to-date documentation.
5. Create a Resource
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.
The map resource for Level One will be associated with the Level One floor.
Example Request
POST /v1.1/resources HTTP/1.1 Host: map-api.phunware.com X-Auth: see MaaS Security Protocol v1.0 Content-Type: application/json