Re: [openstack-dev] [OpenStack-Dev][All][Manila] Api development question - nested urls - which approach is better?

2016-03-10 Thread Valeriy Ponomaryov
*"Option3":* · Create access-group-entry -- POST '/access_groups/%s/entries' · Show access-group-entry -- GET '/access_groups/entries/%s' · List access-group-entries -- GET '/access_groups/entries' · List access-group-entries with filter by access group ID --

Re: [openstack-dev] [OpenStack-Dev][All][Manila] Api development question - nested urls - which approach is better?

2016-03-10 Thread nidhi.hada
Hi All, This is a general doubt related to taking a decision on REST API url construction. In case of “nested urls”, lets say I have a relationship between two entities as below: access_group is parent can have many access_group_entries. Now for accessing access_group I have already created ·