WADL file should specify templated URIs to resources of various types

Bug #267792 reported by Leonard Richardson on 2008-09-08
10
Affects Status Importance Assigned to Milestone
lazr.restful
Low
Unassigned

Bug Description

The XSLT stylesheet gives templated URIs to each resource type. Eg. for bug attachments it's https://api.edge.launchpad.net/beta/bugs/<bug.id>/attachments/<id>. But this information has to be hacked into the XSLT stylesheet because it's not present in WADL.

The way to put this into the WADL file is to export a <resource> tag for each resource type and give the templates URI in its 'path'. Then we can change the XSLT stylesheet to get that information from the <resource> tag whose ID corresponds to the resource type ID.

Tags: api Edit Tag help
Leonard Richardson (leonardr) wrote :

I worked on this a bit before realizing that we don't have the server-side ability to generate the URL Template for a resource type. Put on hold.

Changed in launchpad-foundations:
status: New → Triaged
affects: launchpad-foundations → lazr.restful
Changed in lazr.restful:
importance: Undecided → Medium
Changed in lazr.restful:
importance: Medium → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers