Skip to content

Commit 4b9eeac

Browse files
inutanoclaude
andcommitted
Fix broken API cheat sheet table in demo page
Replace markdown table with individual code blocks to avoid rendering issues caused by long curl commands with quotes and special characters. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3d1b854 commit 4b9eeac

1 file changed

Lines changed: 67 additions & 13 deletions

File tree

views/demo.markdown

Lines changed: 67 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -307,19 +307,73 @@ The agent would synthesize all results into a summary of available data, relevan
307307

308308
## 8. HTTP API Cheat Sheet
309309

310-
| Task | Method | Command |
311-
|------|--------|---------|
312-
| List genomes | GET | `curl https://chip-atlas.org/data/list_of_genome.json` |
313-
| List experiment types | GET | `curl https://chip-atlas.org/data/list_of_experiment_types.json` |
314-
| Experiment types with counts | GET | `curl "https://chip-atlas.org/data/experiment_types?genome=hg38&clClass=Blood"` |
315-
| Sample types with counts | GET | `curl "https://chip-atlas.org/data/sample_types?genome=hg38&agClass=Histone"` |
316-
| List antigens | GET | `curl "https://chip-atlas.org/data/chip_antigen?genome=hg38&agClass=Histone&clClass=Blood"` |
317-
| List cell types | GET | `curl "https://chip-atlas.org/data/cell_type?genome=hg38&agClass=Histone&clClass=Blood"` |
318-
| Search experiments | GET | `curl "https://chip-atlas.org/data/search_experiments?query=CTCF&limit=5"` |
319-
| Experiment metadata | GET | `curl "https://chip-atlas.org/data/exp_metadata.json?expid=SRX018625"` |
320-
| Colocalization index | GET | `curl "https://chip-atlas.org/data/colo_analysis.json?genome=hg38"` |
321-
| Target genes index | GET | `curl https://chip-atlas.org/data/target_genes_analysis.json` |
322-
| Download BED URL | POST | `curl -X POST https://chip-atlas.org/download -H "Content-Type: application/json" -d '{"condition": {"genome": "hg38", "agClass": "Histone"}}'` |
310+
**List genomes** — GET
311+
312+
```bash
313+
curl https://chip-atlas.org/data/list_of_genome.json
314+
```
315+
316+
**List experiment types** — GET
317+
318+
```bash
319+
curl https://chip-atlas.org/data/list_of_experiment_types.json
320+
```
321+
322+
**Experiment types with counts** — GET
323+
324+
```bash
325+
curl "https://chip-atlas.org/data/experiment_types?genome=hg38&clClass=Blood"
326+
```
327+
328+
**Sample types with counts** — GET
329+
330+
```bash
331+
curl "https://chip-atlas.org/data/sample_types?genome=hg38&agClass=Histone"
332+
```
333+
334+
**List antigens** — GET
335+
336+
```bash
337+
curl "https://chip-atlas.org/data/chip_antigen?genome=hg38&agClass=Histone&clClass=Blood"
338+
```
339+
340+
**List cell types** — GET
341+
342+
```bash
343+
curl "https://chip-atlas.org/data/cell_type?genome=hg38&agClass=Histone&clClass=Blood"
344+
```
345+
346+
**Search experiments** — GET
347+
348+
```bash
349+
curl "https://chip-atlas.org/data/search_experiments?query=CTCF&limit=5"
350+
```
351+
352+
**Experiment metadata** — GET
353+
354+
```bash
355+
curl "https://chip-atlas.org/data/exp_metadata.json?expid=SRX018625"
356+
```
357+
358+
**Colocalization index** — GET
359+
360+
```bash
361+
curl "https://chip-atlas.org/data/colo_analysis.json?genome=hg38"
362+
```
363+
364+
**Target genes index** — GET
365+
366+
```bash
367+
curl https://chip-atlas.org/data/target_genes_analysis.json
368+
```
369+
370+
**Download BED URL** — POST
371+
372+
```bash
373+
curl -X POST https://chip-atlas.org/download \
374+
-H "Content-Type: application/json" \
375+
-d '{"condition": {"genome": "hg38", "agClass": "Histone"}}'
376+
```
323377

324378
---
325379

0 commit comments

Comments
 (0)