• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ERRest with non-PK attribute
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERRest with non-PK attribute


  • Subject: Re: ERRest with non-PK attribute
  • From: Paul Yu <email@hidden>
  • Date: Fri, 26 Sep 2014 18:47:30 -0400

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@hidden> 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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: ERRest with non-PK attribute
      • From: Philippe Rabier <email@hidden>
References: 
 >ERRest with non-PK attribute (From: Fabian Peters <email@hidden>)

  • Prev by Date: Re: ERRest with non-PK attribute
  • Next by Date: Re: ERRest with non-PK attribute
  • Previous by thread: Re: ERRest with non-PK attribute
  • Next by thread: Re: ERRest with non-PK attribute
  • Index(es):
    • Date
    • Thread