Create a new source connector using the provided configuration and name.
curl --request POST \
--url https://platform.unstructuredapp.io/api/v1/sources/ \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"type": "azure",
"config": {
"remote_url": "<string>",
"account_name": "<string>",
"account_key": "<string>",
"connection_string": "<string>",
"sas_token": "<string>",
"recursive": true
}
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"type": "azure",
"config": {
"remote_url": "<string>",
"account_name": "<string>",
"account_key": "<string>",
"connection_string": "<string>",
"sas_token": "<string>",
"recursive": true
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
Successful Response
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://platform.unstructuredapp.io/api/v1/sources/ \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"type": "azure",
"config": {
"remote_url": "<string>",
"account_name": "<string>",
"account_key": "<string>",
"connection_string": "<string>",
"sas_token": "<string>",
"recursive": true
}
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"type": "azure",
"config": {
"remote_url": "<string>",
"account_name": "<string>",
"account_key": "<string>",
"connection_string": "<string>",
"sas_token": "<string>",
"recursive": true
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
Create a new source connector using the provided configuration and name.
curl --request POST \
--url https://platform.unstructuredapp.io/api/v1/sources/ \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"type": "azure",
"config": {
"remote_url": "<string>",
"account_name": "<string>",
"account_key": "<string>",
"connection_string": "<string>",
"sas_token": "<string>",
"recursive": true
}
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"type": "azure",
"config": {
"remote_url": "<string>",
"account_name": "<string>",
"account_key": "<string>",
"connection_string": "<string>",
"sas_token": "<string>",
"recursive": true
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
Successful Response
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://platform.unstructuredapp.io/api/v1/sources/ \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"type": "azure",
"config": {
"remote_url": "<string>",
"account_name": "<string>",
"account_key": "<string>",
"connection_string": "<string>",
"sas_token": "<string>",
"recursive": true
}
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"type": "azure",
"config": {
"remote_url": "<string>",
"account_name": "<string>",
"account_key": "<string>",
"connection_string": "<string>",
"sas_token": "<string>",
"recursive": true
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}