Hi. I'm trying to use DSpace REST api but I cannot understand why I cannot get parentCommunity information.
This is the command line I used: curl -X GET -s -H "Accept: application/json" -H "rest-dspace-token: 6c516241..." http://localhost:8080/rest/collections | python -m json.tool | less And below is a fragment of the answer: [ { "copyrightText": "", "expand": [ "parentCommunityList", "parentCommunity", "items", "license", "logo", "all" ], "handle": "1235813/6", "id": 1, "introductoryText": "", "items": [], "license": null, "link": "/rest/collections/1", "logo": null, "name": "Correio da Lavoura de 1917 a 1950", "numberItems": 0, "parentCommunity": null, "parentCommunityList": [], "shortDescription": "", "sidebarText": "", "type": "collection" }, In fact, many fields are null or empty but I suppose the parentCommunity of a Collection must exists. Thank you for any help. Ricardo -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
