{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/transport:mercedes-benz-diagnostics/get-dtc-data-list-by-ecu-using-post":{"post":{"operationId":"transport_mercedes_benz_diagnostics_get_dtc_data_list_by_ecu_using_post","summary":"View the List of DTCs for specific vehicleId.","description":"POST /vehicles/{vehicleId}/dtcReadouts","tags":["transport"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["vehicleId"],"properties":{"vehicleId":{"type":"string","description":"The vehicle identifier of the vehicle to read from."},"ecuId":{"type":"string","description":"Return DTCs from this ECU id only. Default: Return DTCs from all ECUs."},"dtcStatus":{"type":"string","description":"Returns DTCs with this statuses only. Default: Return DTCs with all statuses."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"live"}},"/v1/transport:mercedes-benz-diagnostics/get-dtc-snapshot-readouts-using-post":{"post":{"operationId":"transport_mercedes_benz_diagnostics_get_dtc_snapshot_readouts_using_post","summary":"View the List of DTC Snapshot for specific vehicleId.","description":"POST /vehicles/{vehicleId}/ecuId/{ecuId}/dtcId/{dtcId}/dtcSnapshotReadouts","tags":["transport"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["vehicleId","ecuId","dtcId"],"properties":{"vehicleId":{"type":"string","description":"The vehicle identifier of the vehicle to read from"},"ecuId":{"type":"string","description":"The id of the ECU to read from"},"dtcId":{"type":"string","description":"The id of the DTC associated with the snapshot"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"live"}},"/v1/transport:mercedes-benz-diagnostics/get-ecu-data-list-by-vehicle-id-using-post":{"post":{"operationId":"transport_mercedes_benz_diagnostics_get_ecu_data_list_by_vehicle_id_using_post","summary":"View the List of ECU for specific vehicleId.","description":"POST /vehicles/{vehicleId}/ecuReadouts","tags":["transport"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["vehicleId"],"properties":{"vehicleId":{"type":"string","description":"The vehicle identifier of the vehicle to read from"},"ecuId":{"type":"string","description":"Return this ECU id only. Default: Return all ECUs."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"live"}},"/v1/transport:mercedes-benz-diagnostics/get-resource-readouts-using-post":{"post":{"operationId":"transport_mercedes_benz_diagnostics_get_resource_readouts_using_post","summary":"View the List of resources","description":"POST /vehicles/{vehicleId}/resourceReadouts","tags":["transport"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["vehicleId"],"properties":{"vehicleId":{"type":"string","description":"vehicleId of the resources to be viewed"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"live"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}