Skip to content

Infocenter update service endpoints

General headers

Header Name Type Description

| Ocp-Apim-Subscription-Key | string | Appropriate subscription key you can get in the developer portal |

General query parameters

Parameter Name Type Description
project string project name of data to be modified
sourceId string external identifier of data which is used by partners on theirs portals

Creative Work

Route Type Request type Response type
/creativeWorks/{project} POST CreativeWorkRequest UpdateResponse
/creativeWorks/{project} PUT CreativeWorkRequest UpdateResponse
/creativeWorks/{project}/{sourceId} DELETE - UpdateResponse

Tour

Route Type Request type Response type
/tours/{project} POST TourRequest UpdateResponse
/tours/{project} PUT TourRequest UpdateResponse
/tours/{project}/{sourceId} DELETE - UpdateResponse

OpenAPI document

All methods and response models can be viewed in the Developer Portal. To generate an API client you can use the following URLs without user authentication but still with the Subscription Key in the Header (Ocp-Apim-Subscription-Key) or as Query Parameter (subscription-key=<your-surbscription-key>):

  • hhttps://api.discover.swiss/info-update/v2/openapi/v2.json
  • hhttps://api.discover.swiss/info-update/v2/openapi/v3.json

Last update: February 5, 2023 20:53:54