[
https://issues.apache.org/jira/browse/CLOUDSTACK-9351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15243060#comment-15243060
]
ASF GitHub Bot commented on CLOUDSTACK-9351:
--------------------------------------------
GitHub user nvazquez opened a pull request:
https://github.com/apache/cloudstack/pull/1497
CLOUDSTACK-9351: Add ids parameter to resource listing API calls
## General behaviour
A new parameter is added in each method, its type a list of IDs of the
entity, it will be mutually exclusive with id. (Similar to <code>id</code> and
<code>ids</code> parameters in <code>listVirtualMachines</code> method)
### API Methods affected
* <code>listTemplates</code>: new parameter **<code>ids</code>**, mutually
exclusive with <code>id</code>
* <code>listVolumes</code>: new parameter **<code>ids</code>**, mutually
exclusive with <code>id</code>
* <code>listSnapshots</code>: new parameter **<code>ids</code>**, mutually
exclusive with <code>id</code>
* <code>listVMSnapshots</code>: new parameter
**<code>vmsnapshotids</code>**, mutually exclusive with
<code>vmsnapshotid</code>
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nvazquez/cloudstack addidsparam
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/1497.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1497
----
commit be4e51f98bb2c569f9182bdd3813888598324159
Author: nvazquez <[email protected]>
Date: 2016-04-12T17:57:55Z
CLOUDSTACK-9351: Add ids param to ListVolumesCmd
commit 5f9500550eef292665da9c90062f60fa5e611450
Author: nvazquez <[email protected]>
Date: 2016-04-14T14:39:41Z
CLOUDSTACK-9351: Add ids param to ListSnapshotsCmd
commit 8677458130437401e0c77f0fe672aa103778cb45
Author: nvazquez <[email protected]>
Date: 2016-04-14T15:28:22Z
CLOUDSTACK-9351: Add vmsnapshotids param to ListVMSnapshotsCmd
commit d2f22f0daa75f09412853917af49adab0a72d68a
Author: nvazquez <[email protected]>
Date: 2016-04-14T18:44:34Z
CLOUDSTACK-9351: Add ids param to ListTemplatesCmd
----
> Add ids parameter to resource listing API calls
> -----------------------------------------------
>
> Key: CLOUDSTACK-9351
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9351
> Project: CloudStack
> Issue Type: Improvement
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: API
> Affects Versions: 4.9.0
> Reporter: Nicolas Vazquez
> Fix For: 4.9.0
>
>
> h2. General behaviour
> A new parameter is added in each method, its type a list of IDs of the
> entity, it will be mutually exclusive with id. (Similar to {{id}} and {{ids}}
> parameters in {{listVirtualMachines}} method)
> h3. API Methods affected
> * +{{listTemplates}}+: new parameter *{{ids}}*, mutually exclusive with {{id}}
> * +{{listVolumes}}+: new parameter *{{ids}}*, mutually exclusive with {{id}}
> * +{{listSnapshots}}+: new parameter *{{ids}}*, mutually exclusive with {{id}}
> * +{{listVMSnapshots}}+: new parameter *{{vmsnapshotids}}*, mutually
> exclusive with {{vmsnapshotid}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)