Skip to content

Latest commit

 

History

History
102 lines (67 loc) · 2.08 KB

documentation.md

File metadata and controls

102 lines (67 loc) · 2.08 KB

Parks

  • URL

    /parks

  • Method:

  • GET

  • Success Response:

    • Code: 200
      Content: [ { "name": "Disneyland", "short_name": "dlusa", "park_id": "330339", "resort": "dlr", "region": "us", "city": "Anaheim", "country": "USA", "is_intl": 0 }, ...]
  • Error Response:

    • Code: 404
      Content: 404 page
  • Sample Call:

    curl -i -H "Accept: application/json" -H "Content-Type: application/json" localhost:8080/parks

Wait Times

Valid parkName requests:

Park Location {shortName}
Disneyland Anaheim, CA dlusa
California Adventure Anaheim, CA dca
Walt Disney World Orlando, FL mk
Epcot Orlando, FL epcot
Hollywood Studios Orlando, FL hlyst
Animal Kingdom Orlando, FL ak
Shanghai Disneyland Shanghai, China sh
Hong Kong Disneyland Hong Kong, China hk
Disneyland Paris Paris, France dlp
Walt Disney Studios Paris, France wdsp
  • URL

    /parks/:shortName/wait

  • Method:

  • GET

  • Success Response:

    • Code: 200
      Content: { links, offset, limit, total, entries, region }
  • Error Response:

    • Code: 404
      Content: 404 page
  • Sample Call:

    curl -i -H "Accept: application/json" -H "Content-Type: application/json" localhost:8080/parks/dlusa/wait

Attraction Info

  • URL

    /ride/:rideId/region/:region

  • Method:

  • GET

  • Success Response:

    • Code: 200
      Content: { links, id, name, urlFriendlyId, descriptions, admissionRequired, disneyOwned, disneyOperated, coordiantes, media, type, webLinks, facets, ancestorDestination, accessibilities, services, fastPassPlus, fastPass, riderSwapAvailable }
  • Error Response:

    • Code: 404
      Content: 404 page
  • Sample Call:

    curl -i -H "Accept: application/json" -H "Content-Type: application/json" localhost:8080/ride/attMeetDroidFriends;entityType=Attraction;destination=shdr/region/cn