POST
/
datasource
/
{datasource_id}
/
data_element
Python (SDK)
from meibelai import Meibelai
import os


with Meibelai(
    api_key_header=os.getenv("MEIBELAI_API_KEY_HEADER", ""),
) as m_client:

    res = m_client.data_elements.add_data_element(datasource_id="<id>", description="mmm slip punctual whether fooey", name="<value>", path="/dev", media_type="<value>", discovery_record={
        "discovery_time": "<value>",
        "last_modified_time": "<value>",
        "size": 643019,
        "element_hash": "<value>",
    })

    # Handle response
    print(res)
{
  "id": "<string>"
}

Authorizations

Meibel-API-Key
string
header
required

Path Parameters

datasource_id
string
required

Body

application/json

AddDataElementRequest

Response

200
application/json

Successful Response

AddDataElementResponse