----- "Devan Goodwin" dgoodwin@rm-rf.ca wrote:
On Fri, Mar 5, 2010 at 10:50 AM, Jesus M. Rodriguez jesusr@redhat.com wrote:
Would it be better to have a serial number resource which the
client
makes a GET request against (no params except maybe consumer_uuid) which would return ALL serial numbers, then let the client do the diff making a request for any missing certificates?
GET /consumer/{consumer_uuid}/serialnumbers/
Jeff noticed this too, it's a little weird to have a metadata call returning nothing but serial numbers. I was thinking that at some point we *might* discover a need for some other little piece of metadata, maybe a status field or a created/modified date, which in the metadata case we could add in without busting anything querying for serial number now.
However it might be safe to assume the list of serial numbers is all the info the client tools will need, in which case I can switch that to a serialnumbers call easily. Shall we?
+1
-- Devan Goodwin dgoodwin@rm-rf.ca http://rm-rf.ca _______________________________________________ candlepin mailing list candlepin@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/candlepin