Repos List

get
List repo versions

https://pagecdn.com/api/v2/public/repos
This endpoint allows you to fetch list of all repos on the Public CDN, with additional details like human readable repo name and list of all versions. You can optionally limit your search to one repo, and in that case it will return information of only that repo.
Request
Response
Query Parameters
apikey
required
string
The api key to identify originator of the request.
repo
optional
string
Specify the repo of which you want to list all files, i.e. lib/jquery
200: OK
Successfully found 2109 repos.
{
"status": "200",
"message": "Ok",
"details": "Success",
"response": {
"count": 2109,
"repos": [
{
"repo": "lib/normalize",
"repo_name": "Normalize.css",
"versions": [
"3.0.0",
"3.0.1",
"3.0.2",
"3.0.3",
"4.0.0",
"4.1.0",
"4.1.1",
"4.2.0",
"5.0.0",
"6.0.0",
"7.0.0",
"8.0.0",
"8.0.1",
"v1.0.0",
"v1.0.1",
"v1.0.2",
"v1.1.0",
"v1.1.1",
"v1.1.2",
"v1.1.3",
"v2.0.0",
"v2.0.1",
"v2.1.0",
"v2.1.1",
"v2.1.2",
"v2.1.3"
]
},
{
"repo": "lib/impress",
"repo_name": "Impress.js",
"versions": [
"0.1",
"0.2",
"0.3",
"0.4",
"0.4.1",
"0.5",
"0.5.1",
"0.5.2",
"0.5.3",
"0.6.0",
"1.0.0"
]
},
...
]
}
}

Sample Requests

List versions of all repos:

https://pagecdn.com/api/v2/public/repos?apikey=160a426ff2894252cd7cebbdd6d6b7da8fcd319c65b70468f10b6690c45d02ef

List versions of a specific repo:

https://pagecdn.com/api/v2/public/repos?apikey=160a426ff2894252cd7cebbdd6d6b7da8fcd319c65b70468f10b6690c45d02ef&repo=lib/jquery