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

UGC API support#8

Open
Abbe98 wants to merge 7 commits intomasterfrom
UGC
Open

UGC API support#8
Abbe98 wants to merge 7 commits intomasterfrom
UGC

Conversation

@Abbe98
Copy link
Copy Markdown
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
Copy Markdown
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.

1 participant