Skip to content

Instantly share code, notes, and snippets.

@baisong
Created February 29, 2016 02:30
Show Gist options
  • Save baisong/6e4f2eabc1bc285bdeda to your computer and use it in GitHub Desktop.
Save baisong/6e4f2eabc1bc285bdeda to your computer and use it in GitHub Desktop.
{
"status": "invalid",
"reason": "could not validate linked resources",
"error": {
"message": "could not validate linked resources",
"code": "resources",
"extra": {
"issuer.image": {
"message": "invalid http status",
"code": "http-status",
"url": "https://badgr.io/public/issuers/kitten-club/image",
"expected": 200,
"received": 404,
"name": "ResourceError"
}
}
},
"info": {
"version": "1.0.0",
"guid": "0ed983ec4768ecd5e5db869f913a980b6b02623b153f885b4c4ae1e3cbca8b5a",
"structures": {
"assertion": {
"issuedOn": "2016-02-19T10:27:20.621903",
"verify": {
"url": "https://badgr.io/public/assertions/c6d6e4b9-2650-4df9-9071-9bcacbe52232",
"type": "hosted"
},
"uid": "c6d6e4b9-2650-4df9-9071-9bcacbe52232",
"badge": "https://badgr.io/public/badges/level-2-cat-fancier",
"image": "https://badgr.io/public/assertions/c6d6e4b9-2650-4df9-9071-9bcacbe52232/image",
"type": "Assertion",
"@context": "https://w3id.org/openbadges/v1",
"recipient": {
"salt": "326c351a-f9a6-4158-950e-761de160b97d",
"type": "email",
"hashed": true,
"identity": "sha256$d88708141951b53aafe8acfaad1cc5f9f1b6b17ea4e9a81743fc46251fb52071"
},
"id": "https://badgr.io/public/assertions/c6d6e4b9-2650-4df9-9071-9bcacbe52232"
},
"badge": {
"name": "Level 2 Cat Fancier",
"image": "https://badgr.io/public/badges/level-2-cat-fancier/image",
"description": "For fancier fanciers of cats.",
"criteria": "https://badgr.io/public/badges/level-2-cat-fancier/criteria",
"@context": "https://w3id.org/openbadges/v1",
"type": "BadgeClass",
"id": "https://badgr.io/public/badges/level-2-cat-fancier",
"issuer": "https://badgr.io/public/issuers/kitten-appreciation-club"
},
"issuer": {
"description": "A club for cat fanciers",
"url": "http://example.com/kittens",
"image": "https://badgr.io/public/issuers/kitten-club/image",
"id": "https://badgr.io/public/issuers/kitten-appreciation-club",
"@context": "https://w3id.org/openbadges/v1",
"type": "Issuer",
"email": "hi@example.com",
"name": "Kitten Club"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment