Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

UGC API support #8

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

UGC API support #8

wants to merge 7 commits into from

Conversation

Abbe98
Copy link
Owner

@Abbe98 Abbe98 commented Feb 19, 2015

  • uri to URL parsing support.
  • ugcObject('SOCH uri string')
  • ugcCount('SOCH uri string')
  • ugcSingleRelation('ugc id string')
  • tests
  • update documentation

Other Merge Blockers

Currently the UGC API(scope=count) does not return expected results, the following requests return the same result:

  • http://ugc.kulturarvsdata.se/UGC-hub/api?x-api=ex2147ap36&method=retrieve&scope=count&objectUri=http://kulturarvsdata.se/raa/fmi/10034401240001
  • http://ugc.kulturarvsdata.se/UGC-hub/api?x-api=ex2147ap36&method=retrieve&scope=count&objectUri=all

Not known if there is a maximum number of results if so support for maxCount and selectFrom is needed.

Other Notes
scope=single requires objectUri
http://ugc.kulturarvsdata.se/UGC-hub/api?x-api=ex2147ap36&method=retrieve&contentId=2089464&scope=single

Relations from Platsr is not included(nor a relation to Platsr):

@Abbe98
Copy link
Owner Author

Abbe98 commented Jul 14, 2015

This should probably be implemented as a extension.

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

Successfully merging this pull request may close these issues.

None yet

1 participant