Skip to content

How to use ADT

Yuanhao Li edited this page Sep 29, 2023 · 16 revisions

Quick Start

With cURL

Prepare

Get the ID Token at first

Please refer to the documentation, how to get the ID Token

Get Channel List of a MF4 file

Download the request data template curl_channel_list.json.

curl -X POST --data @curl_channel_list.json \
-H "Content-Type: application/json" \
-H"Authorization: Bearer <IDToken>" \
https://api.automotive-data-transformer.com/v1/

You will get the signal list of the MF4 file. Which could be used for the export quick start tutorial.

Export One Signal

Download the request data template curl_export_one_signal.json.

curl -X POST --data @curl_export_one_signal.json \
-H "Content-Type: application/json" \
-H"Authorization: Bearer <IDToken>" \
https://api.automotive-data-transformer.com/v1/

You will find the exported parquet file of the chosen signal in the output folder.

With Postman

Download the Postman Quick Start Collection.

Prepare

Get the ID Token at first

image

Setup the ID Token in Postman Collection

image

Get Channel List of a MF4 file

Open the request "Quick Start Get Channels". Fill the needed fields. The input bucket must be the bucket that the cross account role has the access to. And then click "Send".

image

You will get the signal list of the MF4 file. Which could be used for the export quick start tutorial.

Export one Signal

Open the request "Quick Start Export Signal". Fill the needed fields. The input and output bucket must be the buckets that the cross account role has the access to. And then click "Send".

image

You will find the exported parquet file of the chosen signal in the output folder.

Want to know more about how to use ADT?

Checkout our Postman Collection

https://github.com/bosch-engineering/automotive_data_transformer_support/blob/main/adt_v1.postman_collection.json

OpenAPI Doc

https://github.com/bosch-engineering/automotive_data_transformer_support/blob/main/adt_openapi_v1.json

Clone this wiki locally