Restructure the response JSON
ibnesayeed opened this issue · comments
I would suggest that response
{
"results": [
"https://web.archive.org/web/20170209143327/http://www.foxnews.com",
"http://archive.is/H2Yfg",
"http://www.webcitation.org/6o9Jubykh",
"Error (The Perma.cc Archive): An API KEY is required"
]
}
should be changed to
{
"uri": "http://www.foxnews.com",
"request-datetime": "20170209143321",
"mementos": {
"web.archive.org": "https://web.archive.org/web/20170209143327/http://www.foxnews.com",
"archive.is": "http://archive.is/H2Yfg",
"webcitation.org": "http://www.webcitation.org/6o9Jubykh",
"perma.cc": "Error: An API KEY is required"
}
}