List files
Retrieve a paginated list of uploaded files.
AuthorizationBasic <token>
WordPress Application Password authentication. Generate one at wp-admin > Users > Application Passwords. Use as Basic Auth with username:application_password (base64-encoded).
In: header
Query Parameters
page?integer
Default
1per_page?integer
Default
10search?string
Response Body
application/json
application/json
curl -X GET "https://your-site.com/wp-json/fluent-cart/v2/files"{
"files": [
{
"id": 0,
"file_name": "string",
"file_path": "string",
"file_url": "http://example.com",
"file_size": 0,
"file_type": "string",
"storage_driver": "string",
"is_public": true,
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
]
}{
"code": "rest_forbidden",
"message": "Sorry, you are not allowed to do that.",
"data": {
"status": 401
}
}