is there a way to map the parameters in an URL to the results?
I got a rest service where the user can search something by its ID. The path is search/:id
You probably need to specify the pathPattern and keyPath of your response descriptor::
RKResponseDescriptor *responseDescriptor =
[RKResponseDescriptor
responseDescriptorWithMapping:itemMapping
method:RKRequestMethodAny
pathPattern:@"search/:id"
keyPath:@"item"
statusCodes:RKStatusCodeIndexSetForClass(RKStatusCodeClassSuccessful)];