Changelog
  • 1 Minute to read
  • Dark
    Light

Changelog

  • Dark
    Light

Article Summary

In this article, you will find a curated, chronologically ordered list of notable changes to the Dataddo Headless API.

2024-02 Updates

Deprecation of the storage Field

UpdateRequired Action
The storage field will be deprecated on February 28, 2024.Update to the new storageStrategy field as soon as possible.

Simplified Response Format for Request Data Validation Errors

UpdateRequired Action
The response format for request data validation errors (API requests with missing required parameters) was updated to be clearer and more intuitive.No action is required on your part.
// old
{
    "correlation_id": "89f7f3b5bbab34a015d032831b217923",
    "code": "REQUEST_VALIDATION_ERROR",
    "message": "Request validator error [password]: This value should be of type int.",
    "detail": [
        {
            "password": "This value should be of type int.",
        },
        {
            "password": "This value is not a valid country.",
        },
        {
            "email": "This value should be of type int."
        }
    ]
}

// new
{
    "correlation_id": "89f7f3b5bbab34a015d032831b217923",
    "code": "REQUEST_VALIDATION_ERROR",
    "message": "Request validator error [password]: This value should be of type int.",
    "detail": {
        "password": [
            "This value should be of type int.",
            "This value is not a valid country."
        ],
        "email": [
            "This value should be of type int."
        ]
    }
}

2023-11 Updates

Deprecation of API Endpoints

UpdateRequired action
As of November 1, 2023, the following API endpoints will be deprecated.Migrate to the new API endpoints before November 1, 2023.
POST /sources/{id}/extraction/runPOST /sources/{id}/extraction/enqueue
POST /flows/{id}/write/runPOST /flows/{id}/write/enqueue
GET /flows/{id}/write/runGET /sources/{id}/status
GET /flows/{id}/status

These endpoints are used for the current status of an action, whether the action has been completed or not:

  • GET /sources/{id}/status
  • GET /flows/{id}/status

Was this article helpful?