--- swagger: "2.0" info: x-ibm-name: psa-vehicle-tracker title: PSA Vehicle Tracker version: 1.1.1 contact: name: NoƩ REBOUL email: noe.reboul@mpsa.com description: |- ``` 1.1.1 : updated backend URL for production 1.1.0 : updated backend URL for production 1.0.1 : updated backend URL for dev 1.0.0 : initial release ``` name: "" schemes: - https basePath: /applications/psa-tracker/v1 consumes: - application/json produces: - application/json securityDefinitions: clientId: type: apiKey in: query name: client_id security: - clientId: [] x-ibm-configuration: testable: true enforced: true phase: realized paths: /cars: get: responses: 200: description: 200 OK schema: $ref: '#/definitions/FeatureCollection' post: responses: 200: description: 200 OK parameters: - name: body required: false in: body schema: $ref: '#/definitions/geo-feature' /cars/{car-id}: get: responses: 200: description: 200 OK schema: $ref: '#/definitions/geo-feature' parameters: - name: car-id type: string required: true in: path definitions: FeatureCollection: type: object properties: features: $ref: '#/definitions/features' vehicle-property: properties: vis: type: string example: EJ653252 registration_time: type: integer format: int32 example: "1524666679" factory_id: type: string example: MU additionalProperties: false geo-feature: properties: type: type: string example: Feature geometry: $ref: '#/definitions/geometry-property' properties: $ref: '#/definitions/vehicle-property' additionalProperties: false geometry-property: properties: type: type: string example: Point coordinates: type: array items: type: string example: '[7.43682,47.77624]' additionalProperties: false features: type: array items: $ref: '#/definitions/geo-feature' tags: [] x-ibm-endpoints: - endpointUrl: https://api-preprod.groupe-psa.com type: - production - development - endpointUrl: https://api-preprod.psa-cloud.com type: - production - development ...