SierraLeoneHeritage API

Example API calls
get_item/coid/1/.....
Call returns a CulturalObject description from a COId. Renderered example does not currently show all available image sizes.
Populate the results area (below) with an example render of the response.
fetch_related_objects/coid/1/.....
Call returns an array of related CulturalObject descriptions from a COId. - This call is taken from the original API so may not return expected results - Renderered example does not currently show all available image sizes.
Populate the results area (below) with an example render of the response.
get_associated_media/coid/1/.....
Call returns an array of Associated media descriptions (videos) from a COId. - This call is taken from the original API so may not return expected results - Renderered example does not currently show all available image sizes. e.g thumbnails - could do with a prettybox player window.
Populate the results area (below) with an example render of the response.
get_associated_media_object/amoid/1/.....
Call returns a single Associated media descriptions (videos) from a AMOId. - This call is taken from the original API - Renderered example does not currently show all available media e.g thumbnails - could do with a prettybox player window.
Populate the results area (below) with an example render of the response.
get_museum_list/get_museum_list/.....
Call returns an array of Museums (contributors) to the database. No argument required
Populate the results area (below) with an example render of the response.
get_collection_by_museum/museum/British%20Museum/.....
Call returns an array of CulturalObject descriptions from a Museum name. - This call is taken from the original API so may not return expected results - Renderered example does not currently show all available image sizes. e.g thumbnails
Populate the results area (below) with an example render of the response.
get_random_objects
Would be improved by adding adding media paths to the response
No renderer example yet
get_random_videos
No renderer example yet
get_related_items/coid/1/.....
Call returns an array of related CulturalObject descriptions from a COId. - This call is a from recent work - May undergo development once an RCH API convention is established - Renderered example does not currently show all available image sizes. e.g thumbnails.
This call can generated a large response so you may want to use get_related_list instead.
Populate the results area (below) with an example render of the response.
get_related_list/coid/1/.....
Call returns a minimised array of related CulturalObject descriptions from a COId. The call was added to provide a compact (small) message size compared to the get_related_items call. The reasoning behind the reduced field set is that only the image path and the COId are needed for a basic list (e.g. a selector window). - This call is from recent work - May undergo development once an RCH API convention is established - Renderered example does not currently show all available image sizes. e.g thumbnails.
Populate the results area (below) with an example render of the response.
get_all_videos/..... note: call returns 47 distinct video filenames (+ AMOId) This suggests a further 11 videos are in the assets directory that are not accesible via the db (so need to be added)
Basic renderer example yet (see comment at top of html page
get_collection_list/..... note: call currently returns the entire contents of the CulturalObjects table.
What it should/will do is include the entire object description for all objects. (Massive!)
This is big

Note!: This input sets the COId variable used in rendering calls with a COId url segment
Results