Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
COVID-19/summary.json
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
67 lines (67 sloc)
4.35 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"allRoute": { | |
"Name": "Get All Data", | |
"Description": "Returns all data in the system. Warning: this request returns 8MB+ and takes 5+ seconds", | |
"Path": "/all" | |
}, | |
"countriesRoute": { | |
"Name": "Get List Of Countries", | |
"Description": "Returns all countries and associated provinces. The country_slug variable is used for country specific data", | |
"Path": "/countries" | |
}, | |
"countryStatusDayOneLiveRoute": { | |
"Name": "Get List Of Cases Per Country Per Province By Case Type From The First Recorded Case With Live Count", | |
"Description": "Returns all cases by case type for a country from the first recorded case with the latest record being the live count. Country must be the country_slug from /countries. Cases must be one of: confirmed, recovered, deaths", | |
"Path": "/dayone/country/:country/status/:status/live" | |
}, | |
"countryStatusDayOneRoute": { | |
"Name": "Get List Of Cases Per Country Per Province By Case Type From The First Recorded Case", | |
"Description": "Returns all cases by case type for a country from the first recorded case. Country must be the country_slug from /countries. Cases must be one of: confirmed, recovered, deaths", | |
"Path": "/dayone/country/:country/status/:status" | |
}, | |
"countryStatusDayOneTotalRoute": { | |
"Name": "Get List Of Cases Per Country By Case Type From The First Recorded Case", | |
"Description": "Returns all cases by case type for a country from the first recorded case. Country must be the country_slug from /countries. Cases must be one of: confirmed, recovered, deaths", | |
"Path": "/total/dayone/country/:country/status/:status" | |
}, | |
"countryStatusLiveRoute": { | |
"Name": "Get List Of Cases Per Country Per Province By Case Type With Live Count", | |
"Description": "Returns all cases by case type for a country with the latest record being the live count. Country must be the country_slug from /countries. Cases must be one of: confirmed, recovered, deaths", | |
"Path": "/country/:country/status/:status/live" | |
}, | |
"countryStatusRoute": { | |
"Name": "Get List Of Cases Per Country Per Province By Case Type", | |
"Description": "Returns all cases by case type for a country. Country must be the country_slug from /countries. Cases must be one of: confirmed, recovered, deaths", | |
"Path": "/country/:country/status/:status" | |
}, | |
"countryStatusTotalRoute": { | |
"Name": "Get List Of Cases Per Country By Case Type", | |
"Description": "Returns all cases by case type for a country. Country must be the country_slug from /countries. Cases must be one of: confirmed, recovered, deaths", | |
"Path": "/total/country/:country/status/:status" | |
}, | |
"exportRoute": { | |
"Name": "Get All Data as a zip file", | |
"Description": "Returns all data in the system, compressed as a zip file. Warning: this request returns 8MB+ and takes 5+ seconds", | |
"Path": "/export" | |
}, | |
"liveCountryStatusAfterDateRoute": { | |
"Name": "Get Live List Of Cases Per Country Per Province By Case Type After A Date", | |
"Description": "Returns all live cases by case type for a country after a given date. These records are pulled every 10 minutes and are ungrouped. Country must be the country_slug from /countries. Cases must be one of: confirmed, recovered, deaths", | |
"Path": "/live/country/:country/status/:status/date/:date" | |
}, | |
"liveCountryStatusRoute": { | |
"Name": "Get Live List Of Cases Per Country Per Province By Case Type", | |
"Description": "Returns all live cases by case type for a country. These records are pulled every 10 minutes and are ungrouped. Country must be the country_slug from /countries. Cases must be one of: confirmed, recovered, deaths", | |
"Path": "/live/country/:country/status/:status" | |
}, | |
"summaryRoute": { | |
"Name": "Summary of new and total cases per country", | |
"Description": "A summary of new and total cases per country", | |
"Path": "/summary" | |
}, | |
"webhookRoute": { | |
"Name": "Add a webhook to be notified when new data becomes available", | |
"Description": "POST Request must be in JSON format with key URL and the value of the webhook. Response data is the same as returned from /summary", | |
"Path": "/webhook" | |
} | |
} |