You would pass the uuid as a parameter on the index call?

Sent from my iPad

> On Sep 26, 2014, at 2:37 PM, Fabian Peters <[email protected]> wrote:
> 
> I'd know how to do this via a custom action, a qualifier and mod_rewrite, 
> but: Is there an easy way to get a rest route to retrieve an object by a 
> different attribute than the PK?
> 
> /ra/Booking/a4450596-662b-43ac-cc4f-ecd4d7b37409.json
> 
> or maybe
> 
> /ra/Booking/uuid/a4450596-662b-43ac-cc4f-ecd4d7b37409.json
> 
> Fabian
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to