{"components":{"schemas":{"DefaultResponse":{"properties":{"errors":{"items":{"properties":{"message":{"type":"string"}},"required":["message"],"type":"object"},"type":"array"},"path":{"type":"string"}},"required":["errors"],"type":"object"}}},"info":{"description":"This API is mostly used internally to build the [CPANTS](https:\/\/cpants.cpanauthors.org\/) web frontend.","title":"CPANTS API","version":"5.0"},"openapi":"3.0.0","paths":{"\/author\/{pause_id}":{"get":{"description":"Returns CPAN author information","parameters":[{"description":"PAUSE ID","in":"path","name":"pause_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application\/json":{"schema":{"properties":{},"type":"object"}}},"description":"CPAN author information"},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"500":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"501":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."}},"tags":["Author"],"x-mojo-to":["open_api#dispatch",{"module":"WWW::CPANTS::API::Model::V5::Author"}]}},"\/author\/{pause_id}\/cpan_distributions":{"get":{"description":"Returns CPAN Distributions released by the author","parameters":[{"description":"PAUSE ID","in":"path","name":"pause_id","required":true,"schema":{"type":"string"}},{"description":"number of records","in":"query","name":"length","schema":{"default":50,"type":"integer"}},{"description":"offset","in":"query","name":"start","schema":{"default":0,"type":"integer"}}],"responses":{"200":{"content":{"application\/json":{"schema":{"properties":{"data":{"items":{"properties":{"date":{"format":"date","type":"string"},"fails":{"items":{"type":"string"},"type":"array"},"latest":{"type":"integer"},"name":{"type":"string"},"score":{"format":"float","type":"number"},"version":{"type":"string"}},"type":"object"},"type":"array"},"recordsTotal":{"type":"integer"}},"type":"object"}}},"description":"CPAN Distributions released by the author"},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"500":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"501":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."}},"tags":["Author"],"x-mojo-to":["open_api#dispatch",{"module":"WWW::CPANTS::API::Model::V5::Author::CPANDistributions"}]}},"\/author\/{pause_id}\/recent_releases":{"get":{"description":"Returns CPAN releases by the author","parameters":[{"description":"PAUSE ID","in":"path","name":"pause_id","required":true,"schema":{"type":"string"}},{"description":"number of records","in":"query","name":"length","schema":{"default":50,"type":"integer"}},{"description":"offset","in":"query","name":"start","schema":{"default":0,"type":"integer"}}],"responses":{"200":{"content":{"application\/json":{"schema":{"properties":{"data":{"items":{"properties":{"date":{"format":"date","type":"string"},"fails":{"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"score":{"format":"float","type":"number"},"version":{"type":"string"}},"type":"object"},"type":"array"},"recordsTotal":{"type":"integer"}},"type":"object"}}},"description":"CPAN releases by the author"},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"500":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"501":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."}},"tags":["Author"],"x-mojo-to":["open_api#dispatch",{"module":"WWW::CPANTS::API::Model::V5::Author::RecentReleases"}]}},"\/dist\/{name}\/errors":{"get":{"description":"Returns errors of the distribution","parameters":[{"description":"name of the distribution","in":"path","name":"name","required":true,"schema":{"type":"string"},"x-mojo-placeholder":"#"},{"description":"number of records","in":"query","name":"length","schema":{"default":50,"type":"integer"}},{"description":"offset","in":"query","name":"start","schema":{"default":0,"type":"integer"}}],"responses":{"200":{"content":{"application\/json":{"schema":{"properties":{"data":{"type":"object"}},"type":"object"}}},"description":"errors of the distribution"},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"500":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"501":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."}},"tags":["Distribution"],"x-mojo-to":["open_api#dispatch",{"module":"WWW::CPANTS::API::Model::V5::Dist::Errors"}]}},"\/dist\/{name}\/files":{"get":{"description":"Returns files in the distribution","parameters":[{"description":"name of the distribution","in":"path","name":"name","required":true,"schema":{"type":"string"},"x-mojo-placeholder":"#"},{"description":"number of records","in":"query","name":"length","schema":{"default":50,"type":"integer"}},{"description":"offset","in":"query","name":"start","schema":{"default":0,"type":"integer"}}],"responses":{"200":{"content":{"application\/json":{"schema":{"properties":{"data":{"type":"object"}},"type":"object"}}},"description":"files in the distribution"},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"500":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"501":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."}},"tags":["Distribution"],"x-mojo-to":["open_api#dispatch",{"module":"WWW::CPANTS::API::Model::V5::Dist::Files"}]}},"\/dist\/{name}\/metadata":{"get":{"description":"Returns metadata of the distribution","parameters":[{"description":"name of the distribution","in":"path","name":"name","required":true,"schema":{"type":"string"},"style":"simple","x-mojo-placeholder":"#"},{"description":"number of records","in":"query","name":"length","schema":{"default":50,"type":"integer"}},{"description":"offset","in":"query","name":"start","schema":{"default":0,"type":"integer"}}],"responses":{"200":{"content":{"application\/json":{"schema":{"properties":{"data":{"properties":{"metadata":{"type":"object"}},"type":"object"}},"type":"object"}}},"description":"metadata of the distribution"},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"500":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"501":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."}},"tags":["Distribution"],"x-mojo-to":["open_api#dispatch",{"module":"WWW::CPANTS::API::Model::V5::Dist::Metadata"}]}},"\/dist\/{name}\/overview":{"get":{"description":"Returns overview of the distribution","parameters":[{"description":"name of the distribution","in":"path","name":"name","required":true,"schema":{"type":"string"},"x-mojo-placeholder":"#"},{"description":"number of records","in":"query","name":"length","schema":{"default":50,"type":"integer"}},{"description":"offset","in":"query","name":"start","schema":{"default":0,"type":"integer"}}],"responses":{"200":{"content":{"application\/json":{"schema":{"properties":{"data":{"type":"object"}},"type":"object"}}},"description":"overview of the distribution"},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"500":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"501":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."}},"tags":["Distribution"],"x-mojo-to":["open_api#dispatch",{"module":"WWW::CPANTS::API::Model::V5::Dist::Overview"}]}},"\/dist\/{name}\/prereq":{"get":{"description":"Returns prerequisites of the distribution","parameters":[{"description":"name of the distribution","in":"path","name":"name","required":true,"schema":{"type":"string"},"x-mojo-placeholder":"#"},{"description":"number of records","in":"query","name":"length","schema":{"default":50,"type":"integer"}},{"description":"offset","in":"query","name":"start","schema":{"default":0,"type":"integer"}}],"responses":{"200":{"content":{"application\/json":{"schema":{"properties":{"data":{"type":"object"}},"type":"object"}}},"description":"prerequisites of the distribution"},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"500":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"501":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."}},"tags":["Distribution"],"x-mojo-to":["open_api#dispatch",{"module":"WWW::CPANTS::API::Model::V5::Dist::Prereq"}]}},"\/dist\/{name}\/releases":{"get":{"description":"Returns past releases of the distribution","parameters":[{"description":"name of the distribution","in":"path","name":"name","required":true,"schema":{"type":"string"},"style":"simple","x-mojo-placeholder":"#"},{"description":"number of records","in":"query","name":"length","schema":{"default":50,"type":"integer"},"style":"form"},{"description":"offset","in":"query","name":"start","schema":{"default":0,"type":"integer"},"style":"form"}],"responses":{"200":{"content":{"application\/json":{"schema":{"properties":{"data":{"items":{"properties":{"author":{"type":"string"},"availability":{"type":"string"},"date":{"format":"date","type":"string"},"name":{"type":"string"},"score":{"format":"float","type":"number"},"version":{"type":"string"}},"type":"object"},"type":"array"},"recordsTotal":{"type":"integer"}},"type":"object"}}},"description":"past releases of the distribution"},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"500":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"501":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."}},"tags":["Distribution"],"x-mojo-to":["open_api#dispatch",{"module":"WWW::CPANTS::API::Model::V5::Dist::Releases"}]}},"\/dist\/{name}\/used_by":{"get":{"description":"Returns CPAN distributions that depend on the distribution","parameters":[{"description":"name of the distribution","in":"path","name":"name","required":true,"schema":{"type":"string"},"x-mojo-placeholder":"#"},{"description":"number of records","in":"query","name":"length","schema":{"default":50,"type":"integer"}},{"description":"offset","in":"query","name":"start","schema":{"default":0,"type":"integer"}}],"responses":{"200":{"content":{"application\/json":{"schema":{"properties":{"data":{"items":{"properties":{"author":{"type":"string"},"date":{"format":"date","type":"string"},"name_version":{"type":"string"},"score":{"format":"float","type":"number"}},"type":"object"},"type":"array"},"recordsTotal":{"type":"integer"}},"type":"object"}}},"description":"CPAN distributions that depend on the distribution"},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"500":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"501":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."}},"tags":["Distribution"],"x-mojo-to":["open_api#dispatch",{"module":"WWW::CPANTS::API::Model::V5::Dist::UsedBy"}]}},"\/kwalitee\/":{"get":{"description":"Returns Kwalitee metrics information","parameters":[],"responses":{"200":{"content":{"application\/json":{"schema":{"properties":{"data":{"properties":{"core_indicators":{"items":{"type":"object"},"type":"array"},"experimental_indicators":{"items":{"type":"object"},"type":"array"},"extra_indicators":{"items":{"type":"object"},"type":"array"}},"type":"object"}},"type":"object"}}},"description":"Kwalitee metrics information"},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"500":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"501":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."}},"tags":["Kwalitee"],"x-mojo-to":["open_api#dispatch",{"module":"WWW::CPANTS::API::Model::V5::Kwalitee"}]}},"\/kwalitee\/{name}":{"get":{"description":"Returns Kwalitee metrics","parameters":[{"description":"kwalitee indicator name","in":"path","name":"name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application\/json":{"schema":{"properties":{"data":{"properties":{"failing_latest_releases":{"items":{"type":"object"},"type":"array"},"indicator":{"properties":{"defined_in":{"type":"string"},"description":{"type":"string"},"level":{"type":"string"},"name":{"type":"string"},"remedy":{"type":"string"}},"type":"object"},"stats":{"type":"object"}},"type":"object"},"total_failing_latest_releases":{"type":"integer"}},"type":"object"}}},"description":"Kwalitee metrics"},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"500":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"501":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."}},"tags":["Kwalitee"],"x-mojo-to":["open_api#dispatch",{"module":"WWW::CPANTS::API::Model::V5::Kwalitee::Indicator"}]}},"\/kwalitee\/{name}\/fail":{"get":{"description":"Returns releases that fail a specific metric","parameters":[{"description":"metric name","in":"path","name":"name","required":true,"schema":{"type":"string"}},{"description":"latest\/cpan\/backpan","in":"query","name":"type","schema":{"default":"latest","enum":["latest","cpan","backpan"],"type":"string"}},{"description":"number of records","in":"query","name":"length","schema":{"default":50,"type":"integer"}},{"description":"offset","in":"query","name":"start","schema":{"default":0,"type":"integer"}}],"responses":{"200":{"content":{"application\/json":{"schema":{"properties":{"data":{"items":{"properties":{"author":{"type":"string"},"availability":{"type":"string"},"date":{"format":"date","type":"string"},"name_version":{"type":"string"}},"type":"object"},"type":"array"},"indicator":{"type":"object"},"recordsTotal":{"type":"integer"}},"type":"object"}}},"description":"releases that fail a specific metric"},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"500":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"501":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."}},"tags":["Kwalitee"],"x-mojo-to":["open_api#dispatch",{"module":"WWW::CPANTS::API::Model::V5::Kwalitee::Fail"}]}},"\/ranking\/{league}":{"get":{"description":"Returns top-ranking authors","parameters":[{"description":"five_or_more\/less_than_five","in":"path","name":"league","required":true,"schema":{"enum":["five_or_more","less_than_five"],"type":"string"}},{"description":"number of records","in":"query","name":"length","schema":{"default":50,"type":"integer"}},{"description":"offset","in":"query","name":"start","schema":{"default":0,"type":"integer"}}],"responses":{"200":{"content":{"application\/json":{"schema":{"properties":{"data":{"items":{"properties":{"average_core_kwalitee":{"format":"float","type":"number"},"cpan_dists":{"type":"integer"},"last_release_on":{"format":"date","type":"string"},"pause_id":{"type":"string"},"rank":{"type":"integer"}},"type":"object"},"type":"array"},"recordsTotal":{"type":"integer"}},"type":"object"}}},"description":"top-ranking authors"},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"500":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"501":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."}},"tags":["Ranking"],"x-mojo-to":["open_api#dispatch",{"module":"WWW::CPANTS::API::Model::V5::Ranking"}]}},"\/recent":{"get":{"description":"Returns recent CPAN releases","parameters":[{"description":"number of records","in":"query","name":"length","schema":{"default":50,"type":"integer"}},{"description":"offset","in":"query","name":"start","schema":{"default":0,"type":"integer"}}],"responses":{"200":{"content":{"application\/json":{"schema":{"properties":{"data":{"items":{"properties":{"date":{"format":"date","type":"string"},"name":{"type":"string"},"pause_id":{"type":"string"},"score":{"format":"float","type":"number"},"version":{"type":"string"}},"type":"object"},"type":"array"},"recordsTotal":{"type":"integer"}},"type":"object"}}},"description":"recent CPAN releases"},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"500":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"501":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."}},"tags":["Distribution"],"x-mojo-to":["open_api#dispatch",{"module":"WWW::CPANTS::API::Model::V5::Recent"}]}},"\/release\/{pause_id}\/{name}\/errors":{"get":{"description":"Returns errors of the release","parameters":[{"description":"PAUSE ID","in":"path","name":"pause_id","required":true,"schema":{"type":"string"}},{"description":"name and version of the release","in":"path","name":"name","required":true,"schema":{"type":"string"},"x-mojo-placeholder":"#"},{"description":"number of records","in":"query","name":"length","schema":{"default":50,"type":"integer"}},{"description":"offset","in":"query","name":"start","schema":{"default":0,"type":"integer"}}],"responses":{"200":{"content":{"application\/json":{"schema":{"properties":{"data":{"type":"object"}},"type":"object"}}},"description":"errors of the release"},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"500":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"501":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."}},"tags":["Release"],"x-mojo-to":["open_api#dispatch",{"module":"WWW::CPANTS::API::Model::V5::Release::Errors"}]}},"\/release\/{pause_id}\/{name}\/files":{"get":{"description":"Returns files in the release","parameters":[{"description":"PAUSE ID","in":"path","name":"pause_id","required":true,"schema":{"type":"string"}},{"description":"name and version of the release","in":"path","name":"name","required":true,"schema":{"type":"string"},"x-mojo-placeholder":"#"},{"description":"number of records","in":"query","name":"length","schema":{"default":50,"type":"integer"}},{"description":"offset","in":"query","name":"start","schema":{"default":0,"type":"integer"}}],"responses":{"200":{"content":{"application\/json":{"schema":{"properties":{"data":{"type":"object"}},"type":"object"}}},"description":"files in the release"},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"500":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"501":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."}},"tags":["Release"],"x-mojo-to":["open_api#dispatch",{"module":"WWW::CPANTS::API::Model::V5::Release::Files"}]}},"\/release\/{pause_id}\/{name}\/metadata":{"get":{"description":"Returns metadata of the release","parameters":[{"description":"PAUSE ID","in":"path","name":"pause_id","required":true,"schema":{"type":"string"}},{"description":"name and version of the release","in":"path","name":"name","required":true,"schema":{"type":"string"},"x-mojo-placeholder":"#"},{"description":"number of records","in":"query","name":"length","schema":{"default":50,"type":"integer"}},{"description":"offset","in":"query","name":"start","schema":{"default":0,"type":"integer"}}],"responses":{"200":{"content":{"application\/json":{"schema":{"properties":{"data":{"properties":{"metadata":{"type":"object"}},"type":"object"}},"type":"object"}}},"description":"metadata of the release"},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"500":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"501":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."}},"tags":["Release"],"x-mojo-to":["open_api#dispatch",{"module":"WWW::CPANTS::API::Model::V5::Release::Metadata"}]}},"\/release\/{pause_id}\/{name}\/overview":{"get":{"description":"Returns overview of the release","parameters":[{"description":"PAUSE ID","in":"path","name":"pause_id","required":true,"schema":{"type":"string"}},{"description":"name and version of the release","in":"path","name":"name","required":true,"schema":{"type":"string"},"x-mojo-placeholder":"#"},{"description":"number of records","in":"query","name":"length","schema":{"default":50,"type":"integer"}},{"description":"offset","in":"query","name":"start","schema":{"default":0,"type":"integer"}}],"responses":{"200":{"content":{"application\/json":{"schema":{"properties":{"data":{"type":"object"}},"type":"object"}}},"description":"overview of the release"},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"500":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"501":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."}},"tags":["Release"],"x-mojo-to":["open_api#dispatch",{"module":"WWW::CPANTS::API::Model::V5::Release::Overview"}]}},"\/release\/{pause_id}\/{name}\/prereq":{"get":{"description":"Returns prerequisites of the release","parameters":[{"description":"PAUSE ID","in":"path","name":"pause_id","required":true,"schema":{"type":"string"}},{"description":"name and version of the release","in":"path","name":"name","required":true,"schema":{"type":"string"},"x-mojo-placeholder":"#"},{"description":"number of records","in":"query","name":"length","schema":{"default":50,"type":"integer"}},{"description":"offset","in":"query","name":"start","schema":{"default":0,"type":"integer"}}],"responses":{"200":{"content":{"application\/json":{"schema":{"properties":{"data":{"type":"object"}},"type":"object"}}},"description":"prerequisites of the release"},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"500":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"501":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."}},"tags":["Release"],"x-mojo-to":["open_api#dispatch",{"module":"WWW::CPANTS::API::Model::V5::Release::Prereq"}]}},"\/release\/{pause_id}\/{name}\/releases":{"get":{"description":"Returns past releases of the release","parameters":[{"description":"PAUSE ID","in":"path","name":"pause_id","required":true,"schema":{"type":"string"}},{"description":"name and version of the release","in":"path","name":"name","required":true,"schema":{"type":"string"},"x-mojo-placeholder":"#"},{"description":"number of records","in":"query","name":"length","schema":{"default":50,"type":"integer"}},{"description":"offset","in":"query","name":"start","schema":{"default":0,"type":"integer"}}],"responses":{"200":{"content":{"application\/json":{"schema":{"properties":{"data":{"items":{"properties":{"author":{"type":"string"},"availability":{"type":"string"},"date":{"format":"date","type":"string"},"name":{"type":"string"},"score":{"format":"float","type":"number"},"version":{"type":"string"}},"type":"object"},"type":"array"},"recordsTotal":{"type":"integer"}},"type":"object"}}},"description":"past releases of the release"},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"500":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"501":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."}},"tags":["Release"],"x-mojo-to":["open_api#dispatch",{"module":"WWW::CPANTS::API::Model::V5::Release::Releases"}]}},"\/release\/{pause_id}\/{name}\/used_by":{"get":{"description":"Returns CPAN distributions that depend on the release","parameters":[{"description":"PAUSE ID","in":"path","name":"pause_id","required":true,"schema":{"type":"string"}},{"description":"name and version of the release","in":"path","name":"name","required":true,"schema":{"type":"string"},"x-mojo-placeholder":"#"},{"description":"number of records","in":"query","name":"length","schema":{"default":50,"type":"integer"}},{"description":"offset","in":"query","name":"start","schema":{"default":0,"type":"integer"}}],"responses":{"200":{"content":{"application\/json":{"schema":{"properties":{"data":{"items":{"properties":{"author":{"type":"string"},"date":{"format":"date","type":"string"},"name_version":{"type":"string"},"score":{"format":"float","type":"number"}},"type":"object"},"type":"array"},"recordsTotal":{"type":"integer"}},"type":"object"}}},"description":"CPAN distributions that depend on the release"},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"500":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"501":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."}},"tags":["Release"],"x-mojo-to":["open_api#dispatch",{"module":"WWW::CPANTS::API::Model::V5::Release::UsedBy"}]}},"\/search":{"get":{"description":"Returns names of matched CPAN Authors\/Distributions","parameters":[{"description":"PAUSE Id or distribution name","in":"query","name":"name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application\/json":{"schema":{"properties":{"authors":{"items":{"type":"string"},"type":"array"},"dists":{"items":{"type":"string"},"type":"array"}},"type":"object"}}},"description":"names of matched CPAN Authors\/Distributions"},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"500":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"501":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."}},"tags":["Search"],"x-mojo-to":["open_api#dispatch",{"module":"WWW::CPANTS::API::Model::V5::Search"}]}},"\/status":{"get":{"description":"Returns CPANTS status","parameters":[],"responses":{"200":{"content":{"application\/json":{"schema":{"properties":{"last_analyzed":{"description":"Epoch time","type":"integer"},"maintenance":{"type":"integer"}},"type":"object"}}},"description":"CPANTS status"},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"401":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"404":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"500":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."},"501":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultResponse"}}},"description":"Default response."}},"tags":["Status"],"x-mojo-to":["open_api#dispatch",{"module":"WWW::CPANTS::API::Model::V5::Status"}]}}},"servers":[{"url":"https:\/\/api.cpanauthors.org\/v5"}]}