List imports
Changed onPaginated listing of all imports across entity types and actions. Filters: code (entity type), type (synonym for code), action, state, created_at_from, created_at_to. Sort: id (default desc), state, created_at.
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Page number.
Items per page (default 10, max 50).
Filter by entity type (e.g. product, customer).
Alias for code (kept for spec compatibility).
Filter by action (append / update / delete).
Filter by state.
Filter by created_at >= (ISO date).
Filter by created_at <= (ISO date).
Sort column.
Sort direction.
Response
Paginated imports in the { data, meta } envelope.
Example response
[
{
"id": 1,
"code": "products",
"action": "append",
"state": "pending",
"validationStrategy": "stop-on-errors",
"fieldSeparator": ",",
"filePath": "imports/6f1a_products.csv",
"imagesDirectoryPath": "product/images",
"summary": {
"created": 0,
"updated": 0,
"deleted": 0
},
"createdAt": "2026-05-25T08:15:00+00:00",
"updatedAt": "2026-05-25T08:20:00+00:00",
"success": true,
"isValid": true,
"stats": {
"processed": 120,
"total": 120,
"invalid": 0
},
"message": "Import deleted successfully."
}
]Changes
- info
added the optional property
/to the response with the status (media type: application/json) - info
added the optional property
/to the response with the status (media type: text/html) - info
added the optional property
/to the response with the status (media type: application/json) - info
added the optional property
/to the response with the status (media type: text/html)
- info