Ticket #2322 (closed enhancement: fixed)

Opened 2 years ago

Last modified 21 months ago

Convenience offset on end of resource urls: /raw, /api, /viewer

Reported by: rgrp Owned by: ross
Priority: awaiting triage Milestone: ckan-sprint-2012-05-29
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none

Description (last modified by ross) (diff)

Raw

/raw or /download (latter may be better)

/dataset/{id}/resource/{resource-id}/raw

=> redirects to resource url (download)

API

/dataset/{id}/resource/{resource-id}/api[/....]

=> either redirects or directly serves /api/data/{resource-id}

Viewer (Explorer?)

Do data viewer but without anything else showing (full-screen?). this would not be just the data explorer but other cases too (including iframe etc ...)

/dataset/{id}/resource/{resource-id}/viewer

Resource (pre)-viewer without anything else (perhaps include resource title)

Assigning for kindly for review.

These would take about 20m to implement and would be *very* convenient from my experience of using the data API.


Implementation at enhancement-2322-convenience-urls

Change History

comment:1 Changed 2 years ago by rgrp

  • Description modified (diff)
  • Summary changed from Convenience offset on end of resource urls: /raw, /api to Convenience offset on end of resource urls: /raw, /api, /viewer

comment:2 Changed 2 years ago by rgrp

  • Description modified (diff)

comment:3 Changed 2 years ago by ross

+1 on these, although ../download instead of ../raw and ../view instead of ../viewer

comment:4 Changed 2 years ago by rgrp

  • Owner changed from kindly to rossjones
  • Status changed from new to assigned
  • Milestone changed from ckan-sprint-2012-04-30 to current-ckan-sprint-2012-05-29

comment:5 Changed 2 years ago by ross

  • Owner changed from rossjones to ross
  • Status changed from assigned to accepted

comment:6 Changed 2 years ago by ross

  • Description modified (diff)

Viewer almost exists with the /embed link and so have just used that with a better default size to provide a prettier url. Can still use the width=&height= that are used in the /embed url.

comment:7 Changed 2 years ago by ross

  • Status changed from accepted to closed
  • Resolution set to fixed

comment:8 Changed 23 months ago by rgrp

When will this go live? Will this be in v1.7.1?

comment:9 Changed 23 months ago by ross

No, new new features in point releases, we only put bug features in unless there is an extremely pressing need.

comment:10 Changed 23 months ago by ross

Going to try that last comment again.

No, no new features in point releases, we only put bug fixes in unless there is an extremely pressing need.

comment:11 Changed 21 months ago by rgrp

Can I confirm this is in v1.8 ...

Note: See TracTickets for help on using tickets.