See: http://docs.ckan.org/en/latest/api.html#ckan.logic.action.get.package_show

The id for this should be the uuid, not the alias.

This should also mirror rest/dataset/{id}

Steps:

  • Create two custom menu items
  • Create callbacks that call the dkan_dataset_resources_json view grabbing the nid for the uuid supplied as the argument
  • Return "not found" if nid is not from a dataset
  • Update the dkan_dataset_resources_json view so that it isn't a page anymore and is just a master display
  • Check to verify that the output is compatible with the CKAN API
  • Update dkan_sitewide block to reflect change from node/%/json endpoint to api/action/package_show?uuid=%

Comments

acouch’s picture

acouch’s picture

acouch’s picture

Issue summary: View changes
Krista Brenner’s picture

Issue tags: +Release 1.0
drkloc’s picture

Assigned: Unassigned » drkloc
drkloc’s picture

Status: Active » Fixed

This is fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

acouch’s picture

Issue tags: -Release 1.0