Write APIs
Prerequisites
Step 1 - Generate API Keys:
Step 2 - Verify API Connectivity:
Step 3 - Publish Dataset:
Step 4 - Create Upload / Append URL:
Path parameters
datasetIdstringRequiredExample:
d_263ee33e4d309a0bba75a1fd30ab7035Query parameters
md5stringOptionalExample:
(Optional) MD5 hash of the file to be uploaded. The MD5 Hash should be encoded in base64. The base64, MD5 hash should then be URI encoded.
FkXeisMYBP6UpdSiY8kOsA%3D%3DHeader parameters
x-dgs-admin-api-keystringOptionalExample:
your-api-keyResponses
201
Created
application/json
get
/v2/admin/api/datasets/{datasetId}/append-link201
Created
Step 5 - Upload Tabular File:
Step 6 - Get Latest Ingestion Status:
Path parameters
datasetIdstringRequiredExample:
d_263ee33e4d309a0bba75a1fd30ab7035Header parameters
x-dgs-admin-api-keystringOptionalExample:
your-api-keyResponses
200
Legend
| Order | Ingestion status | Description |
|---|---|---|
| 1 | Pending | The dataset validation and ingestion process has been started. |
| 2 | Pending Validation | The dataset has been queued for validation. |
| 2.1 | Validation Failed | The dataset contains invalid values causing validation failure. Please review the reported errors, make the necessary changes and try again. |
| 2.2 | Validation Passed | The dataset has been validated successfully, but not yet ingested. |
| 3 | Pending Ingestion | The dataset has been queued for ingestion. |
| 3.1 | Ingestion Failed | The dataset failed to be ingested. Please try again later. |
| 3.2 | Ingestion Success | The dataset has been ingested successfully. |
application/json
Responseobject
get
/v2/admin/api/datasets/{datasetId}/ingestion-status200
Legend
| Order | Ingestion status | Description |
|---|---|---|
| 1 | Pending | The dataset validation and ingestion process has been started. |
| 2 | Pending Validation | The dataset has been queued for validation. |
| 2.1 | Validation Failed | The dataset contains invalid values causing validation failure. Please review the reported errors, make the necessary changes and try again. |
| 2.2 | Validation Passed | The dataset has been validated successfully, but not yet ingested. |
| 3 | Pending Ingestion | The dataset has been queued for ingestion. |
| 3.1 | Ingestion Failed | The dataset failed to be ingested. Please try again later. |
| 3.2 | Ingestion Success | The dataset has been ingested successfully. |
Order
Status
Description
Raw API Schema:
Last updated
Was this helpful?