openapi: 3.0.1 info: title: Traffic DATEX II API description: "Access to real time traffic and parking information from around Glasgow using the DATEX II protocol.\n\nMore information can be found at https://trafficscotland.org/datex/" version: '1.0' servers: - url: https://api.glasgow.gov.uk/datextraffic paths: /events: get: tags: - Transport summary: Traffic Events (Json) description: Real time traffic events from around Glasgow (in Json format). Access to real time traffic and parking information from around Glasgow using the DATEX II protocol. More information can be found at https://trafficscotland.org/datex/ operationId: 55c36a618b3a0306f0009484 responses: '200': description: /carparks: get: tags: - Transport summary: Car Parks (Xml) description: Real time car park capacity and volume data for various Glasgow City Council car parks (in Xml format). Access to real time traffic and parking information from around Glasgow using the DATEX II protocol. More information can be found at https://trafficscotland.org/datex/ operationId: 563ce77daab82f1168298574 responses: '200': description: /movement: get: tags: - Transport summary: Traffic Movement (Json) description: 'A Real time traffic movement API covering a network of over 1,000 vehicle sensors across Glasgow (Json format). Access to real time traffic and parking information from around Glasgow using the DATEX II protocol. More information can be found at https://trafficscotland.org/datex/' operationId: Traffic Movement responses: '200': description: /locations: get: tags: - Transport summary: Traffic Locations (Json) description: Traffic detector locations - used in conjunction with traffic movement data (in Json format). Access to real time traffic and parking information from around Glasgow using the DATEX II protocol. More information can be found at https://trafficscotland.org/datex/ operationId: 5abbcb80a1a3dc273ccf2e9f responses: '200': description: /vmslocations: get: summary: Variable Message Sign Locations (Xml) description: An API providing the location of variable message signs across Glasgow (Xml). Access to real time traffic and parking information from around Glasgow using the DATEX II protocol. More information can be found at https://trafficscotland.org/datex/ operationId: 5abbcfddbdcc02f84d420e2d responses: '200': description: /vms: get: summary: Variable Message Traffic Sign (Xml) description: An API providing real time data on the content of variable message signs across Glasgow (Xml). Access to real time traffic and parking information from around Glasgow using the DATEX II protocol. More information can be found at https://trafficscotland.org/datex/ operationId: 5abbd026bc0df22f98a2c8c9 responses: '200': description: /detectevents: get: summary: Traffic Detector Events (Xml) description: Real time traffic events from around Glasgow (in Xml format). Access to real time traffic and parking information from around Glasgow using the DATEX II protocol. More information can be found at https://trafficscotland.org/datex/ operationId: 5b339de59cbb608f5b6e7c12 responses: '200': description: components: securitySchemes: apiKeyHeader: type: apiKey name: Ocp-Apim-Subscription-Key in: header apiKeyQuery: type: apiKey name: subscription-key in: query security: - apiKeyHeader: [ ] - apiKeyQuery: [ ] x-ms-paths: /carparks?format=json: get: tags: - Transport summary: Car Parks (Json) description: Real time car park capacity and volume data for various Glasgow City Council car parks (in Json format). Access to real time traffic and parking information from around Glasgow using the DATEX II protocol. More information can be found at https://trafficscotland.org/datex/ operationId: 563cea91aab82f1168298575 responses: '200': description: /events?format=xml: get: tags: - Transport summary: Traffic Events (Xml) description: Real time traffic events from around Glasgow (in Xml format). Access to real time traffic and parking information from around Glasgow using the DATEX II protocol. More information can be found at https://trafficscotland.org/datex/ operationId: 5aba729d90e67803d224aceb responses: '200': description: /movement?format=xml: get: tags: - Transport summary: Traffic Movement (XML) description: 'A Real time traffic movement API covering a network of over 1,000 vehicle sensors across Glasgow (Xml format). Access to real time traffic and parking information from around Glasgow using the DATEX II protocol. More information can be found at https://trafficscotland.org/datex/' operationId: 5abbca9a2ffe9600d5b0f40b responses: '200': description: /locations?format=xml: get: summary: Traffic Locations (XML) description: Traffic detector locations - used in conjunction with traffic movement data (in xml format). Access to real time traffic and parking information from around Glasgow using the DATEX II protocol. More information can be found at https://trafficscotland.org/datex/ operationId: 5abbcbc9327471c6b49c3882 responses: '200': description: /vms?format=json: get: tags: - Transport summary: Variable Message Traffic Sign (Json) description: An API providing real time data on the content of variable message signs across Glasgow (Json). Access to real time traffic and parking information from around Glasgow using the DATEX II protocol. More information can be found at https://trafficscotland.org/datex/ operationId: 5ac4b77e66194849b6f90e2d responses: '200': description: /vmslocations?format=json: get: summary: Variable Message Sign Locations (Json) description: An API providing the location of variable message signs across Glasgow (Json). Access to real time traffic and parking information from around Glasgow using the DATEX II protocol. More information can be found at https://trafficscotland.org/datex/ operationId: 5ac4b8195e38cb59fb989bfa responses: '200': description: