Documentation Index
Fetch the complete documentation index at: https://mintlify.com/akibanks/api-tienda-vinilos/llms.txt
Use this file to discover all available pages before exploring further.
GET /redis-ping is an administrative diagnostic endpoint that verifies the Redis connection and lists all keys currently stored in the cache. It uses SCAN (non-blocking) instead of KEYS to safely inspect the keyspace in production, iterating through the store in batches without stalling other requests.
Endpoint details
| Property | Value |
|---|---|
| Method | GET |
| Path | /redis-ping |
| Auth | JWT — admin or demo role |
Request parameters
No query parameters or request body required.Response
Connection health indicator.
"conectado" if Redis responds to PING with PONG; "error" otherwise.Total number of keys currently present in Redis across all namespaces.
Alphabetically sorted list of every key found during the
SCAN traversal.Example response
Example request
Cache key patterns
VinylVibes uses a consistent naming scheme for Redis keys so each resource namespace is easy to identify at a glance:| Pattern | Source endpoint | TTL |
|---|---|---|
buscar:<query>:<page> | GET /buscar | 1 hour |
genero:<genre>:<page> | GET /genero/:genero | 24 hours |
recientes | GET /recientes | 24 hours |
disco:<discogs_id> | GET /disco/:id | 7 days |
historia:<discogs_id> | GET /disco/:id/historia | 7 days |
video:<discogs_id> | GET /disco/:id/video | 7 days |
recomendaciones:<id>:<user_or_anonimo> | GET /disco/:id/recomendaciones | 1 hour |
Error response
If Redis is unreachable or throws during theSCAN loop, the endpoint returns HTTP 500:
| Field | Type | Description |
|---|---|---|
estado | string | Always "error" on failure. |
mensaje | string | The underlying error message from the exception. |
The endpoint uses Redis
SCAN in batches of 100 keys (COUNT 100) rather than the blocking KEYS * command, making it safe to call against production instances with large keystores without risking server latency spikes.