You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Returns the file content with appropriate headers:
533
533
534
-
```json
535
-
{
536
-
"success": true,
537
-
"message": "All caches have been reset",
538
-
"before": {
539
-
"queryCache": 150,
540
-
"dateCache": 12
541
-
},
542
-
"after": {
543
-
"queryCache": 0,
544
-
"dateCache": 0
545
-
}
546
-
}
534
+
```http
535
+
Content-Type: application/json
536
+
ETag: "abc123..."
537
+
Content-Length: 1234
547
538
```
548
539
540
+
#### Error Responses
541
+
542
+
- **400 Bad Request**: Invalid file path (e.g., contains `..` or `//`)
543
+
- **404 Not Found**: File does not exist in the bucket
544
+
- **500 Internal Server Error**: Failed to retrieve or stream the file
545
+
549
546
## Testing
550
547
551
548
```bash
@@ -667,34 +664,4 @@ Response:
667
664
}
668
665
```
669
666
670
-
## Cache Stats Private Endpoint
671
-
672
-
The Cache Stats private endpoint provides information about the API's cache performance, including cache hits, misses, and the last time the cache was cleared. This endpoint is useful for monitoring and debugging cache behavior.
0 commit comments