Export list items Beta
Export list item values from the specified list.
Query parameters
-
List's id to export
Minimum length is
1
. Format should match the following pattern:^(?! *$).+$
.
Responses
-
200 application/ndjson; Elastic-Api-Version=2023-10-31
Successful response
A
.txt
file containing list items from the specified list -
400 application/json; Elastic-Api-Version=2023-10-31
Invalid input data response
-
401 application/json; Elastic-Api-Version=2023-10-31
Unsuccessful authentication response
-
403 application/json; Elastic-Api-Version=2023-10-31
Not enough privileges response
-
404 application/json; Elastic-Api-Version=2023-10-31
List not found response
-
500 application/json; Elastic-Api-Version=2023-10-31
Internal server error response
POST /api/lists/items/_export
curl \
-X POST https://localhost:5601/api/lists/items/_export?list_id=string
Response examples (200)
@file
Response examples (400)
Security_lists_api_platformerrorresponse (generated)
{
"error": "string",
"message": "string",
"statusCode": 42
}
{
"message": "string",
"status_code": 42
}
Response examples (401)
{
"error": "string",
"message": "string",
"statusCode": 42
}
Response examples (403)
{
"error": "string",
"message": "string",
"statusCode": 42
}
Response examples (404)
{
"message": "string",
"status_code": 42
}
Response examples (500)
{
"message": "string",
"status_code": 42
}