home

Phage Directory v3 API Content

Get Configs

[GET] /content/api/v3/config?config=local

Get New Configs

[GET] /content/api/v3/config?config=fresh

Get Content

[GET] /content/api/v3/content

Get Latest Capsid

[GET] /content/api/v3/capsid

Get Capsid by Issue #

[GET] /content/api/v3/capsid?issue=150

Get Capsid by Slug

[GET] /content/api/v3/capsid?slug=phaves-recap-apr-2021

Get Paged Capsid Previews

[GET] /content/api/v3/capsid/previews?page=2&size=3

Get Query

Query must exist in either Website or Public DB configs. No query defaults to "_content-copy"

e.g. _content-copy or People-profile-preview or atoms-latest

[GET] /content/api/v3/query?query=capsid-previews

Object Queries

POST (or GET) to endpoint with Cytosis options, including base key

[post] api/v3/query
[get] /content/api/v3/query

Reset Production Cache

This resets all levels of caches and redeploys Vercel. This ensures your content is fresh for production.

[get] /content/api/v3/prod