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 12 Current »

6. Retrieve a Venue

 

Hyrule

The example request below retrieves the Hyrule venue, which can now be represented by this hierarchy of resources:

  • Hyrule (venue)
    • Hyrule Castle (campus)
      • Hyrule Castle Tower (building)
        • Level One (floor)
          • http://image.com/level1.pdf and http://image.com/level1.svg (resource)

The example response will contain the venue object only. 

Example Request

GET /v1.1/venues/f0685279-7497-4d90-882e-12201e476b0e HTTP/1.1 
Host: map-api.phunware.com
X-Auth: see MaaS Security Protocol v1.0
Content-Type: application/json

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
{    
	"guid": "f0685279-7497-4d90-882e-12201e476b0e",
    "name": "Hyrule",
    "appId": "123456",
    "clientIds": "98765,6543",
    "orgIds": "8,9",
    "isActive": true,
    "mseUdi": "abcd",
    "callbackUrl": "http://www.Hyrule.com",
    "createdAt": "2015-05-20T16:06:54Z",
    "updatedAt": null,
    "supportsGeographicCoordinates": true
}

ON THIS PAGE

  • No labels