DataTile Knowledge Base
Breadcrumbs

API for import and export codebooks

Authentication

A standard token-based authentication is to be used to access this API.

Download a codebook from a database

You can download codebooks from an existing database by calling the following Endpoints:

GET /api/v2/projects/{db_hash}/api/codebook/export

This one will download an optimized version of the codebook. DataTile will try to detect naming patterns in the database schema and generate an optimized codebook with ARR notation.

Python
GET /api/v2/projects/{db_hash}/api/codebook/export-lab

Upload a codebook to a database

POST an Excel file as mime/multipart to the following endpoint

POST /api/v2/projects/{projectId}/api/codebook/import