# Telefix — Developer Resources

Telefix (https://telefix.cl) — servicio técnico de televisores a domicilio en Santiago, Chile.

## Machine-readable endpoints

| Resource | URL | Format |
|---|---|---|
| Site index for LLMs | https://telefix.cl/llms.txt | text/plain |
| Consolidated content mirror | https://telefix.cl/llms-full.txt | text/plain |
| Per-topic markdown docs | https://telefix.cl/llms/{topic}.md | text/markdown |
| XML sitemap | https://telefix.cl/sitemaps.xml | application/xml |
| Search | https://telefix.cl/?s={query} | text/html |

## REST API (WordPress)

Base: https://telefix.cl/wp-json/ (anonymous index is minimal — use the routes below)

| Endpoint | Description |
|---|---|
| `GET /wp-json/wp/v2/search?search={query}` | Site search, JSON |
| `GET /wp-json/wp/v2/posts` | Blog posts |
| `GET /wp-json/wp/v2/pages` | Pages (services, garantía, contacto, …) |
| `GET /wp-json/wp/v2/pages?slug={slug}` | Single page by slug |
| `GET /wp-json/wp/v2/posts?slug={slug}` | Single post by slug |

Public read-only data; no authentication required for GET requests.

```bash
curl 'https://telefix.cl/wp-json/wp/v2/search?search=samsung'
```

## Content negotiation (acceptmarkdown.com)

Every post, page and product URL serves a Markdown representation:

- Header: `Accept: text/markdown` (q-values honored)
- Query: `?format=markdown` on any content URL
- Suffix: `.md` on any content URL (e.g. `/cotizar.md`)
- Unsatisfiable `Accept` → `406` listing available representations
- Responses set `Vary: Accept`; negotiated variants are `Cache-Control: no-store`

```bash
curl -H 'Accept: text/markdown' https://telefix.cl/cotizar/
curl https://telefix.cl/cotizar.md
```

## Contact

- WhatsApp: +56 9 5194 7210 — https://wa.me/56951947210
- Email: contacto@telefix.cl
