Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return format of the details calls #7

Open
ThomasCerq opened this issue Sep 28, 2015 · 0 comments
Open

Return format of the details calls #7

ThomasCerq opened this issue Sep 28, 2015 · 0 comments
Assignees

Comments

@ThomasCerq
Copy link

The following issue was posted on JIRA and I created a patch to solve the problem on the privacy proxy. Nevertheless, I think this problem should be solved on the Federated Recommender. Can someone fix it?

The response of the detail call I am getting, looks something like the following (see below). the "detail-property contains encoded JSON. This should be decoded before returning it to the caller.
{
"documentBadge": [
{
"id": "/04802/0C20B49D6C149705C27D255DC5666F27E46FE377",
"uri": "http://europeana.eu/resolve/record/04802/0C20B49D6C149705C27D255DC5666F27E46FE377",
"provider": "Europeana",
"detail": "{"eexcessProxy":{"edmlanguage":
{"xmlnsedm":"http://www.europeana.eu/schemas/edm<UrlBlockedError.aspx>/","content":"fr"}
,"dctitle":
{"content":1998,"xmlnsdc":"http://purl.org/dc/elements/1.1<UrlBlockedError.aspx>/"}
,"edmeuropeanaProxy":
{"xmlnsedm":"http://www.europeana.eu/schemas/edm<UrlBlockedError.aspx>/","content":false}
,"edmconcept":[
{"xmlnsedm":"http://www.europeana.eu/schemas/edm<UrlBlockedError.aspx>/","content":"film"}
,
{"xmlnsedm":"http://www.europeana.eu/schemas/edm<UrlBlockedError.aspx>/","content":"documentary film"}
],"xmlnseexcess":"http://eexcess.eu/schema<UrlBlockedError.aspx>/","dcidentifier":
{"content":"/04802/0C20B49D6C149705C27D255DC5666F27E46FE377file://///04802/0C20B49D6C149705C27D255DC5666F27E46FE377/","xmlnsdc":"http://purl.org/dc/elements/1.1<UrlBlockedError.aspx>/"}
}}"
}, .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants