{"openapi":"3.1.0","info":{"title":"The Five Number One Rules API","version":"1.0.0","description":"Every published Number One and its five rules. No key, no quota, no account. The five rules of each entry are unranked by construction: they do not substitute for each other, so array order is presentation only and no entry is first."},"servers":[{"url":"https://5nb1.com/api/v1"}],"paths":{"/1s":{"get":{"summary":"Every published Number One.","responses":{"200":{"description":"OK"}}}},"/1s/{slug}":{"get":{"summary":"One Number One, with its five rules.","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"404":{"description":"No such slug"}}}},"/topics":{"get":{"summary":"Every topic, with a count each.","responses":{"200":{"description":"OK"}}}},"/search":{"get":{"summary":"Search titles, topics and rule text.","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":50,"default":10}}],"responses":{"200":{"description":"OK"},"400":{"description":"Missing q"}}}}}}