[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Example for issue CAMP-198 resolution
Let /paas/assembly/8675309/comps be the component resource collection URI of an assembly. Let the collection contain five items, with the first item containing the tag “db”; second element containing the tags “db” and “app-server”; third element containing the tag “db”; fourth and fifth element do not have the tags attribute. In this case a GET on /paas/assembly/8675309/comps?select_collection_attr=tags will result in response containing three unique elements as follows:
{ "uri": ..., "name": ..., "collection_type":..., "total_items": 3, "items_per_page": 3, "start_index": 0, "items":[{tags: ["db"]}, {tags: ["db", "app-server"]}, {}], "metadata": ... } Thanks. --Anish
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]