Update volume API v1 and v2 to make these changes

- Spell-check and remove passive voice from api-site
- Renamed api-ref/src/wadls/volume-api/src/v1/api_samples
  and api-ref/src/wadls/volume-api/src/v2/api_samples
  to .../samples
- Renamed code samples using this naming convention:
  <resource>-<action>-request.json or <resource>-<action>-response.json.
  For example, volume-create-request.json and volume-create-response.json.
- Removed unused code samples
- Made method names consistent throughout - use list<resource> for list
  operations, show<resource> for show operations, and so on.
- Changed csapi:uuid -> csapi:UUID

Change-Id: I61f33e093c2ec882680d85e9cb3f7c450107496e
Partial-Bug: #1521244
This commit is contained in:
Diane Fleming 2015-12-08 15:10:11 -06:00
parent b065c3f709
commit aedcdf5f24
215 changed files with 1347 additions and 1547 deletions

View File

@ -28,25 +28,25 @@
<listitem><para>IN-USE. The volume is attached to an
instance.</para></listitem>
<listitem><para>DELETING. The volume is being deleted.</para></listitem>
<listitem><para>ERROR. An error has occurred with the
volume.</para></listitem>
<listitem><para>ERROR_DELETING. There was an error deleting the
volume.</para></listitem>
<listitem><para>ERROR. An error occurred.</para></listitem>
<listitem><para>
ERROR_DELETING. A volume deletion error occurred.
</para></listitem>
</itemizedlist>
<section xml:id="volume-api-v1-versions">
<section xml:id="volumes-v1-versions">
<title>API versions</title>
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
<wadl:resource
href="../wadls/volume-api/src/v1/volume-api-v1.wadl#versions">
href="../wadls/volume-api/src/v1/wadl/volumes-v1.wadl#versions">
<wadl:method href="#listVersionsv1"/>
</wadl:resource>
<wadl:resource
href="../wadls/volume-api/src/v1/volume-api-v1.wadl#version">
href="../wadls/volume-api/src/v1/wadl/volumes-v1.wadl#version">
<wadl:method href="#showVersionDetailsv1"/>
</wadl:resource>
</wadl:resources>
</section>
<section xml:id="volume-api-v1-volumes">
<section xml:id="volumes-v1-volumes">
<title>Volumes</title>
<para>
The <code>snapshot_id</code> and <code>source_volid</code>
@ -57,61 +57,57 @@
</para>
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
<wadl:resource
href="../wadls/volume-api/src/v1/volume-api-v1.wadl#volumes">
href="../wadls/volume-api/src/v1/wadl/volumes-v1.wadl#volumes">
<wadl:method href="#createVolume"/>
<wadl:method href="#getVolumesSimple"/>
<wadl:method href="#listVolumesSimple"/>
</wadl:resource>
<wadl:resource
href="../wadls/volume-api/src/v1/volume-api-v1.wadl#detail-volume">
<wadl:method href="#getVolumesDetail"/>
href="../wadls/volume-api/src/v1/wadl/volumes-v1.wadl#detail-volume">
<wadl:method href="#listVolumesDetail"/>
</wadl:resource>
<wadl:resource
href="../wadls/volume-api/src/v1/volume-api-v1.wadl#volume_id">
<wadl:method href="#getVolume"/>
href="../wadls/volume-api/src/v1/wadl/volumes-v1.wadl#volume_id">
<wadl:method href="#showVolume"/>
<wadl:method href="#deleteVolume"/>
</wadl:resource>
</wadl:resources>
</section>
<section xml:id="volume-api-v1-types">
<section xml:id="volumes-v1-types">
<title>Volume types</title>
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
<wadl:resource
href="../wadls/volume-api/src/v1/volume-api-v1.wadl#types">
<wadl:method href="#getVolumeTypes"/>
</wadl:resource>
<wadl:resource
href="../wadls/volume-api/src/v1/volume-api-v1.wadl#types">
href="../wadls/volume-api/src/v1/wadl/volumes-v1.wadl#types">
<wadl:method href="#listVolumeTypes"/>
<wadl:method href="#createVolumeType"/>
</wadl:resource>
<wadl:resource
href="../wadls/volume-api/src/v1/volume-api-v1.wadl#volume_type_id">
<wadl:method href="#getVolumeType"/>
</wadl:resource>
<wadl:resource
href="../wadls/volume-api/src/v1/volume-api-v1.wadl#volume_type_id">
href="../wadls/volume-api/src/v1/wadl/volumes-v1.wadl#volume_type_id">
<wadl:method href="#updateVolumeType"/>
<wadl:method href="#updateVolumeTypeExtraSpecs"/>
<wadl:method href="#showVolumeType"/>
<wadl:method href="#deleteVolumeType"/>
</wadl:resource>
</wadl:resources>
</section>
<section xml:id="volume-api-v1-snapshots">
<section xml:id="volumes-v1-snapshots">
<title>Snapshots</title>
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
<wadl:resource
href="../wadls/volume-api/src/v1/volume-api-v1.wadl#snapshots">
href="../wadls/volume-api/src/v1/wadl/volumes-v1.wadl#snapshots">
<wadl:method href="#createSnapshot"/>
<wadl:method href="#getSnapshotsSimple"/>
<wadl:method href="#listSnapshotsSimple"/>
</wadl:resource>
<wadl:resource
href="../wadls/volume-api/src/v1/volume-api-v1.wadl#detail-snapshots">
<wadl:method href="#getSnapshotsDetail"/>
href="../wadls/volume-api/src/v1/wadl/volumes-v1.wadl#detail-snapshots">
<wadl:method href="#listSnapshotsDetail"/>
</wadl:resource>
<wadl:resource
href="../wadls/volume-api/src/v1/volume-api-v1.wadl#snapshot_id">
<wadl:method href="#getSnapshot"/>
href="../wadls/volume-api/src/v1/wadl/volumes-v1.wadl#snapshot_id">
<wadl:method href="#showSnapshot"/>
<wadl:method href="#deleteSnapshot"/>
</wadl:resource>
<wadl:resource
href="../wadls/volume-api/src/v1/volume-api-v1.wadl#snapshot-metadata">
href="../wadls/volume-api/src/v1/wadl/volumes-v1.wadl#snapshot-metadata">
<wadl:method href="#showSnapshotMetadata"/>
<wadl:method href="#updateSnapshotMetadata"/>
</wadl:resource>
@ -125,20 +121,20 @@
Shows, updates, and deletes quotas for a tenant.
</para>
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
<wadl:resource href="../wadls/volume-api/src/v1/os-quota-sets-v1.wadl#tenant_id-quotas-cinder-v1">
<wadl:resource href="../wadls/volume-api/src/v1/wadl/os-quota-sets-v1.wadl#tenant_id-quotas-cinder-v1">
<wadl:method href="#showQuota"/>
<wadl:method href="#updateQuota"/>
<wadl:method href="#deleteQuotas"/>
</wadl:resource>
<wadl:resource href="../wadls/volume-api/src/v1/os-quota-sets-v1.wadl#defaults-cinder-v1">
<wadl:method href="#getDefaults"/>
<wadl:resource href="../wadls/volume-api/src/v1/wadl/os-quota-sets-v1.wadl#defaults-cinder-v1">
<wadl:method href="#showQuotaDefaults"/>
</wadl:resource>
<wadl:resource href="../wadls/volume-api/src/v1/os-quota-sets-v1.wadl#user_id-cinder-v1">
<wadl:resource href="../wadls/volume-api/src/v1/wadl/os-quota-sets-v1.wadl#user_id-cinder-v1">
<wadl:method href="#showQuotaUser"/>
<wadl:method href="#updateQuotaUser"/>
<wadl:method href="#deleteQuotasUser"/>
</wadl:resource>
<wadl:resource href="../wadls/volume-api/src/v1/os-quota-sets-v1.wadl#user_id-detail-cinder-v1">
<wadl:resource href="../wadls/volume-api/src/v1/wadl/os-quota-sets-v1.wadl#user_id-detail-cinder-v1">
<wadl:method href="#showQuotaDetailUser"/>
</wadl:resource>
</wadl:resources>

View File

@ -12,21 +12,21 @@
Manages volumes and snapshots for use with the Block Storage API, also
known as cinder services.
</para>
<section xml:id="volume-api-v2-versions">
<section xml:id="volumes-v2-versions">
<title>API versions</title>
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
<wadl:resource href="../wadls/volume-api/src/v2/volume-api-v2.wadl#versions">
<wadl:resource href="../wadls/volume-api/src/v2/wadl/volumes-v2.wadl#versions">
<wadl:method href="#listVersions"/>
</wadl:resource>
<wadl:resource href="../wadls/volume-api/src/v2/volume-api-v2.wadl#version">
<wadl:resource href="../wadls/volume-api/src/v2/wadl/volumes-v2.wadl#version">
<wadl:method href="#versionDetails"/>
</wadl:resource>
</wadl:resources>
</section>
<section xml:id="volume-api-v2-extensions">
<section xml:id="volumes-v2-extensions">
<title>API extensions (extensions)</title>
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
<wadl:resource href="../wadls/volume-api/src/v2/volume-api-v2.wadl#extensions">
<wadl:resource href="../wadls/volume-api/src/v2/wadl/volumes-v2.wadl#extensions">
<wadl:method href="#listExtensions-cinder-v2"/>
</wadl:resource>
</wadl:resources>
@ -40,10 +40,10 @@
An absolute limit value of <code>-1</code> indicates that the
absolute limit for the item is infinite.
</para>
<wadl:resources href="../wadls/volume-api/src/v2/os-limits-v2.wadl"
<wadl:resources href="../wadls/volume-api/src/v2/wadl/limits-v2.wadl"
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
</section>
<section xml:id="volume-api-v2-volumes">
<section xml:id="volumes-v2-volumes">
<title>Volumes (volumes)</title>
<para>
A volume is a detachable block storage device similar to a USB
@ -95,13 +95,14 @@
</tr>
<tr>
<td><para>error</para></td>
<td><para>An error occurred during volume
creation.</para></td>
<td><para>
A volume creation error occurred.
</para></td>
</tr>
<tr>
<td><para>error_deleting</para></td>
<td><para>An error occurred during volume
deletion.</para></td>
<td><para>
A volume deletion error occurred.</para></td>
</tr>
<tr>
<td><para>backing-up</para></td>
@ -114,8 +115,7 @@
</tr>
<tr>
<td><para>error_restoring</para></td>
<td><para>An error occurred during backup restoration to a
volume.</para></td>
<td><para>A backup restoration error occurred.</para></td>
</tr>
<tr>
<td><para>error_extending</para></td>
@ -126,19 +126,19 @@
</table>
<para></para>
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
<wadl:resource href="../wadls/volume-api/src/v2/volume-api-v2.wadl#volumes">
<wadl:resource href="../wadls/volume-api/src/v2/wadl/volumes-v2.wadl#volumes">
<wadl:method href="#createVolume"/>
<wadl:method href="#getVolumesSimple"/>
<wadl:method href="#listVolumesSimple"/>
</wadl:resource>
<wadl:resource href="../wadls/volume-api/src/v2/volume-api-v2.wadl#detail">
<wadl:method href="#getVolumesDetail"/>
<wadl:resource href="../wadls/volume-api/src/v2/wadl/volumes-v2.wadl#detail">
<wadl:method href="#listVolumesDetail"/>
</wadl:resource>
<wadl:resource href="../wadls/volume-api/src/v2/volume-api-v2.wadl#volume_id">
<wadl:method href="#getVolume"/>
<wadl:resource href="../wadls/volume-api/src/v2/wadl/volumes-v2.wadl#volume_id">
<wadl:method href="#showVolume"/>
<wadl:method href="#updateVolume"/>
<wadl:method href="#deleteVolume"/>
</wadl:resource>
<wadl:resource href="../wadls/volume-api/src/v2/volume-api-v2.wadl#volume-metadata">
<wadl:resource href="../wadls/volume-api/src/v2/wadl/volumes-v2.wadl#volume-metadata">
<wadl:method href="#showVolumeMetadata"/>
<wadl:method href="#updateVolumeMetadata"/>
</wadl:resource>
@ -158,12 +158,12 @@
administrative role and context.
</para>
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
<wadl:resource href="../wadls/volume-api/src/v2/os-volume-type-access-v2.wadl#volumes">
<wadl:method href="#createVolumeTypeAccessExt"/>
<wadl:resource href="../wadls/volume-api/src/v2/wadl/volumes-v2.wadl#volumes">
<wadl:method href="#createVolumeTypeAccessExt"/>
</wadl:resource>
</wadl:resources>
</section>
<section xml:id="volume-api-v2-volumes-actions">
<section xml:id="volumes-v2-volumes-actions">
<title>Volume actions (volumes, action)</title>
<para>
Extends the size of, resets statuses for, sets image metadata for,
@ -173,7 +173,7 @@
storage object associated with it.
</para>
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
<wadl:resource href="../wadls/volume-api/src/v2/volume-api-v2.wadl#volume-action">
<wadl:resource href="../wadls/volume-api/src/v2/wadl/volumes-v2.wadl#volume-action">
<wadl:method href="#extendVolume"/>
<wadl:method href="#resetVolume"/>
<wadl:method href="#setVolumeimagemetadata"/>
@ -256,7 +256,7 @@
</td>
<td>
<para>
An error has occurred with the backup.
A backup error occurred.
</para>
</td>
</tr>
@ -280,8 +280,7 @@
</td>
<td>
<para>
An error occurred during backup restoration to a
volume.
A backup restoration error occurred.
</para>
</td>
</tr>
@ -293,18 +292,18 @@
in the <code>fail_reason</code> field for the backup.
</para>
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
<wadl:resource href="../wadls/volume-api/src/v2/volume-backups-api-v2.wadl#backups">
<wadl:resource href="../wadls/volume-api/src/v2/wadl/backups-v2.wadl#backups">
<wadl:method href="#createBackup"/>
<wadl:method href="#listBackups"/>
</wadl:resource>
<wadl:resource href="../wadls/volume-api/src/v2/volume-backups-api-v2.wadl#detail">
<wadl:resource href="../wadls/volume-api/src/v2/wadl/backups-v2.wadl#detail">
<wadl:method href="#listBackupsDetails"/>
</wadl:resource>
<wadl:resource href="../wadls/volume-api/src/v2/volume-backups-api-v2.wadl#backup_id">
<wadl:resource href="../wadls/volume-api/src/v2/wadl/backups-v2.wadl#backup_id">
<wadl:method href="#showBackup"/>
<wadl:method href="#deleteBackup"/>
</wadl:resource>
<wadl:resource href="../wadls/volume-api/src/v2/volume-backups-api-v2.wadl#restore">
<wadl:resource href="../wadls/volume-api/src/v2/wadl/backups-v2.wadl#restore">
<wadl:method href="#restoreBackup"/>
</wadl:resource>
</wadl:resources>
@ -315,19 +314,19 @@
Force-deletes a backup.
</para>
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
<wadl:resource href="../wadls/volume-api/src/v2/volume-backups-api-v2.wadl#action">
<wadl:resource href="../wadls/volume-api/src/v2/wadl/backups-v2.wadl#action">
<wadl:method href="#forceDeleteBackup"/>
</wadl:resource>
</wadl:resources>
</section>
<section xml:id="os-backend-capabilities-v2">
<section xml:id="capabilities-v2">
<title>Capabilities for storage back ends (capabilities)</title>
<para>
Shows capabilities for a storage back end.
</para>
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
<wadl:resource href="../wadls/volume-api/src/v2/os-backend-capabilities-v2.wadl#hostname">
<wadl:method href="#getBackendCapabilities"/>
<wadl:resource href="../wadls/volume-api/src/v2/wadl/capabilities-v2.wadl#hostname">
<wadl:method href="#showBackendCapabilities"/>
</wadl:resource>
</wadl:resources>
</section>
@ -340,25 +339,25 @@
Shows, updates, and deletes quotas for a tenant.
</para>
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
<wadl:resource href="../wadls/volume-api/src/v2/os-quota-sets-v2.wadl#tenant_id_cinder_v2">
<wadl:resource href="../wadls/volume-api/src/v2/wadl/os-quota-sets-v2.wadl#tenant_id_cinder_v2">
<wadl:method href="#showQuota"/>
<wadl:method href="#updateQuota"/>
<wadl:method href="#deleteQuotas"/>
</wadl:resource>
<wadl:resource href="../wadls/volume-api/src/v2/os-quota-sets-v2.wadl#defaults-cinder-v2">
<wadl:method href="#getDefaults"/>
<wadl:resource href="../wadls/volume-api/src/v2/wadl/os-quota-sets-v2.wadl#defaults-cinder-v2">
<wadl:method href="#showQuotaDefaults"/>
</wadl:resource>
<wadl:resource href="../wadls/volume-api/src/v2/os-quota-sets-v2.wadl#user_id-cinder-v2">
<wadl:resource href="../wadls/volume-api/src/v2/wadl/os-quota-sets-v2.wadl#user_id-cinder-v2">
<wadl:method href="#showQuotaUser"/>
<wadl:method href="#updateQuotaUser"/>
<wadl:method href="#deleteQuotasUser"/>
</wadl:resource>
<wadl:resource href="../wadls/volume-api/src/v2/os-quota-sets-v2.wadl#user_id-detail-cinder-v2">
<wadl:resource href="../wadls/volume-api/src/v2/wadl/os-quota-sets-v2.wadl#user_id-detail-cinder-v2">
<wadl:method href="#showQuotaDetailUser"/>
</wadl:resource>
</wadl:resources>
</section>
<section xml:id="os-qos-v2-qos-specs">
<section xml:id="qos-specs-v2-qos-specs">
<title>Quality of service (QoS) specifications (qos-specs)</title>
<para>
Administrators only, depending on policy settings.
@ -369,45 +368,42 @@
specifications.
</para>
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
<wadl:resource href="../wadls/volume-api/src/v2/os-qos-v2.wadl#qos-specs">
<wadl:resource href="../wadls/volume-api/src/v2/wadl/qos-specs-v2.wadl#qos-specs">
<wadl:method href="#createQoSSpec"/>
<wadl:method href="#listQoSSpecs"/>
</wadl:resource>
<wadl:resource href="../wadls/volume-api/src/v2/os-qos-v2.wadl#qos_id"/>
<wadl:resource href="../wadls/volume-api/src/v2/os-qos-v2.wadl#associate">
<wadl:resource href="../wadls/volume-api/src/v2/wadl/qos-specs-v2.wadl#qos_id"/>
<wadl:resource href="../wadls/volume-api/src/v2/wadl/qos-specs-v2.wadl#associate">
<wadl:method href="#associateQoSSpec"/>
</wadl:resource>
<wadl:resource href="../wadls/volume-api/src/v2/os-qos-v2.wadl#disassociate">
<wadl:resource href="../wadls/volume-api/src/v2/wadl/qos-specs-v2.wadl#disassociate">
<wadl:method href="#disassociateQoSSpec"/>
</wadl:resource>
<wadl:resource href="../wadls/volume-api/src/v2/os-qos-v2.wadl#disassociate_all">
<wadl:resource href="../wadls/volume-api/src/v2/wadl/qos-specs-v2.wadl#disassociate_all">
<wadl:method href="#disassociateQoSSpecAll"/>
</wadl:resource>
<wadl:resource href="../wadls/volume-api/src/v2/os-qos-v2.wadl#associations">
<wadl:method href="#getQoSAssociations"/>
<wadl:resource href="../wadls/volume-api/src/v2/wadl/qos-specs-v2.wadl#associations">
<wadl:method href="#listQoSAssociations"/>
</wadl:resource>
</wadl:resources>
</section>
<section xml:id="volume-api-v2-types">
<section xml:id="volumes-v2-types">
<title>Volume types (types)</title>
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
<wadl:resource href="../wadls/volume-api/src/v2/volume-api-v2.wadl#types">
<wadl:method href="#getVolumeTypes"/>
</wadl:resource>
<wadl:resource
href="../wadls/volume-api/src/v2/volume-api-v2.wadl#types">
<wadl:resource href="../wadls/volume-api/src/v2/wadl/volumes-v2.wadl#types">
<wadl:method href="#showVolumeTypes"/>
<wadl:method href="#createVolumeType"/>
</wadl:resource>
<wadl:resource
href="../wadls/volume-api/src/v2/volume-api-v2.wadl#volume_type_id">
href="../wadls/volume-api/src/v2/wadl/volumes-v2.wadl#volume_type_id">
<wadl:method href="#updateVolumeType"/>
<wadl:method href="#updateVolumeTypeExtraSpecs"/>
<wadl:method href="#getVolumeType"/>
<wadl:method href="#showVolumeType"/>
<wadl:method href="#deleteVolumeType"/>
</wadl:resource>
</wadl:resources>
</section>
<section xml:id="volume-api-v2-snapshots">
<section xml:id="volumes-v2-snapshots">
<title>Volume snapshots (snapshots)</title>
<para>
A snapshot is a point-in-time copy of the data that a volume
@ -472,7 +468,7 @@
</td>
<td>
<para>
An error occurred during snapshot creation.
A snapshot creation error occurred.
</para>
</td>
</tr>
@ -484,7 +480,7 @@
</td>
<td>
<para>
An error occurred during snapshot deletion.
A snapshot deletion error occurred.
</para>
</td>
</tr>
@ -492,19 +488,19 @@
</table>
<para></para>
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
<wadl:resource href="../wadls/volume-api/src/v2/volume-api-v2.wadl#snapshots">
<wadl:resource href="../wadls/volume-api/src/v2/wadl/volumes-v2.wadl#snapshots">
<wadl:method href="#createSnapshot"/>
<wadl:method href="#listSnapshots"/>
</wadl:resource>
<wadl:resource href="../wadls/volume-api/src/v2/volume-api-v2.wadl#detail-snapshot">
<wadl:resource href="../wadls/volume-api/src/v2/wadl/volumes-v2.wadl#detail-snapshot">
<wadl:method href="#listSnapshotsDetail"/>
</wadl:resource>
<wadl:resource href="../wadls/volume-api/src/v2/volume-api-v2.wadl#snapshot_id">
<wadl:resource href="../wadls/volume-api/src/v2/wadl/volumes-v2.wadl#snapshot_id">
<wadl:method href="#showSnapshot"/>
<wadl:method href="#updateSnapshot"/>
<wadl:method href="#deleteSnapshot"/>
</wadl:resource>
<wadl:resource href="../wadls/volume-api/src/v2/volume-api-v2.wadl#snapshot-metadata">
<wadl:resource href="../wadls/volume-api/src/v2/wadl/volumes-v2.wadl#snapshot-metadata">
<wadl:method href="#showSnapshotMetadata"/>
<wadl:method href="#updateSnapshotMetadata"/>
</wadl:resource>
@ -516,14 +512,14 @@
Creates volumes by using existing storage instead of allocating
new storage.
</para>
<wadl:resources href="../wadls/volume-api/src/v2/os-volume-manage-v2.wadl"/>
<wadl:resources href="../wadls/volume-api/src/v2/wadl/os-volume-manage-v2.wadl"/>
</section>
<section xml:id="os-vol-image-meta-v2">
<title>Volume image metadata extension (os-vol-image-meta)</title>
<para>
Shows image metadata that is associated with a volume.
</para>
<wadl:resources href="../wadls/volume-api/src/v2/os-vol-image-meta-v2.wadl"/>
<wadl:resources href="../wadls/volume-api/src/v2/wadl/os-vol-image-meta-v2.wadl"/>
</section>
<section xml:id="os-vol-pool-v2">
<title>Back-end storage pools</title>
@ -531,14 +527,14 @@
Administrator only. Lists all back-end storage pools that are
known to the scheduler service.
</para>
<wadl:resources href="../wadls/volume-api/src/v2/os-vol-pool-v2.wadl"/>
<wadl:resources href="../wadls/volume-api/src/v2/wadl/scheduler-stats-v2.wadl"/>
</section>
<section xml:id="os-vol-transfer-v2">
<title>Volume transfer</title>
<para>
Transfers a volume from one user to another user.
</para>
<wadl:resources href="../wadls/volume-api/src/v2/os-volume-transfer-api-v2.wadl"/>
<wadl:resources href="../wadls/volume-api/src/v2/wadl/os-volume-transfer-v2.wadl"/>
</section>
<section xml:id="consistencygroups-v2">
<title>Consistency groups</title>
@ -554,7 +550,7 @@
Use the <code>policy.json</code> file to grant permissions
for these actions to limit roles.
</para>
<wadl:resources href="../wadls/volume-api/src/v2/consistencygroups-v2.wadl"/>
<wadl:resources href="../wadls/volume-api/src/v2/wadl/consistencygroups-v2.wadl"/>
</section>
<section xml:id="os-cgsnapshots-v2">
<title>Consistency group snapshots</title>
@ -562,6 +558,6 @@
Lists all, lists all with details, shows details for, creates, and
deletes consistency group snapshots.
</para>
<wadl:resources href="../wadls/volume-api/src/v2/cgsnapshots-v2.wadl"/>
<wadl:resources href="../wadls/volume-api/src/v2/wadl/cgsnapshots-v2.wadl"/>
</section>
</chapter>

View File

@ -1,31 +1,30 @@
<!-- Pagination request parameters: Limit and Marker -->
<!ENTITY limitReqParameter '
<param xmlns="http://wadl.dev.java.net/2009/02" name="limit"
style="query" required="false" type="xsd:int">
style="query" required="false" type="xsd:int">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>
Requests a page size of returned items from the query.
Returns a number of items up to a limit value. Use the
<code>limit</code> parameter to make an initial limited request
and use the ID of the last-seen item from the response as the
<code>marker</code> parameter value in a subsequent limited
request.
Requests a page size of items. Returns a number of items up to a
limit value. Use the <code>limit</code> parameter to make an
initial limited request and use the ID of the last-seen item from
the response as the <code>marker</code> parameter value in a
subsequent limited request.
</para>
</wadl:doc>
</param>'>
<!ENTITY markerReqParameter '
<param xmlns="http://wadl.dev.java.net/2009/02" name="marker"
style="query" required="false" type="xsd:string">
style="query" required="false" type="xsd:string">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>
Specifies the ID of the last-seen item. Use the <code>limit</code>
parameter to make an initial limited request and use the ID of the
last-seen item from the response as the <code>marker</code>
parameter value in a subsequent limited request.
The ID of the last-seen item. Use the <code>limit</code> parameter
to make an initial limited request and use the ID of the last-seen
item from the response as the <code>marker</code> parameter value
in a subsequent limited request.
</para>
</wadl:doc>
</param>'>
@ -36,11 +35,11 @@
<!-- ISO 8601 request parameters -->
<!ENTITY before_timestamp-QueryParameter '
<param xmlns="http://wadl.dev.java.net/2009/02"
name="before_timestamp" style="query" required="true"
type="xsd:dateTime">
name="before_timestamp" style="query" required="true"
type="xsd:dateTime">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>
The date and time before which to list usage audits.
</para>
@ -65,18 +64,18 @@
<param xmlns="http://wadl.dev.java.net/2009/02"
name="changes-since" style="query" required="false" type="xsd:dateTime">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>
The date and time when the image or server last changed status.
</para>
<para>
Use this query parameter to check for changes since a previous request
rather than re-downloading and re-parsing the full status at each
polling interval. If data has changed, only the items changed since
the <code>changes-since</code> time are returned in the response. If
data has not changed since the <code>changes-since</code> time, an
empty list is returned.
Use this query parameter to check for changes since a previous
request rather than re-downloading and re-parsing the full status
at each polling interval. If data has changed, the response
returns only the items that have changed since the
<code>changes-since</code> time. If data has not changed since the
<code>changes-since</code> time, the response returns an empty list.
</para>
<para>
For example, issue a &GET; request against the following endpoint to
@ -86,9 +85,10 @@
<programlisting>GET /v2/010101/servers?changes-since=2015-01-24T17:08:00Z</programlisting>
<para>
To enable you to keep track of changes, this filter also displays
images and servers that were deleted if the <code>changes-since</code>
value specifies a date in the last 30 days. Items deleted more than 30
days ago might be returned, but it is not guaranteed.
deleted images and servers if the <code>changes-since</code> value
specifies a date in the last 30 days. The response might include
items that were deleted more than 30 days ago, but it is not
guaranteed.
</para>
<para>
The date and time stamp format is <link
@ -189,15 +189,17 @@
</param>'>
<!ENTITY oauth_nonce-RequestParameter '
<param xmlns="http://wadl.dev.java.net/2009/02" name="oauth_nonce"
style="plain" required="false" type="xsd:string">
style="plain" required="false" type="xsd:string">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02" xml:lang="EN">
<para>
The nonce. This random string is uniquely generated for each
request and enables the service provider to verify that a request has never
been made before. A nonce helps prevent replay attacks when requests are made
over a non-secure channel, such as HTTP. For information, see <link
xlink:href="http://oauth.net/core/1.0a/#nonce">Nonce and Timestamp</link>.
The nonce. The API generates this unique, random string for each
request and enables the service provider to verify that a request
has never been made before. A nonce helps prevent replay attacks
when requests are made over a non-secure channel, such as HTTP.
For information, see <link
xlink:href="http://oauth.net/core/1.0a/#nonce">Nonce and
Timestamp</link>.
</para>
</wadl:doc>
</param>'>
@ -693,7 +695,7 @@
Wed, 26 Aug 2015 19:57:28 GMT</code>.
</para>
<para>
If not set, this header is not returned by this operation.
If not set, this operation does not return this header.
</para>
</wadl:doc>
</param>'>

View File

@ -1,16 +0,0 @@
{
"quota_set": {
"cores": 20,
"floating_ips": 10,
"id": "fake_tenant",
"injected_file_content_bytes": 10240,
"injected_file_path_bytes": 255,
"injected_files": 5,
"instances": 10,
"key_pairs": 100,
"metadata_items": 128,
"ram": 51200,
"security_group_rules": 20,
"security_groups": 10
}
}

View File

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<quota_set id="fake_tenant">
<cores>20</cores>
<floating_ips>10</floating_ips>
<injected_file_content_bytes>10240</injected_file_content_bytes>
<injected_file_path_bytes>255</injected_file_path_bytes>
<injected_files>5</injected_files>
<instances>10</instances>
<key_pairs>100</key_pairs>
<metadata_items>128</metadata_items>
<ram>51200</ram>
<security_group_rules>20</security_group_rules>
<security_groups>10</security_groups>
</quota_set>

View File

@ -1,28 +0,0 @@
{
"version": {
"id": "v1.0",
"links": [
{
"href": "http://23.253.211.234:8776/v1/",
"rel": "self"
},
{
"href": "http://docs.openstack.org/",
"rel": "describedby",
"type": "text/html"
}
],
"media-types": [
{
"base": "application/xml",
"type": "application/vnd.openstack.volume+xml;version=1"
},
{
"base": "application/json",
"type": "application/vnd.openstack.volume+json;version=1"
}
],
"status": "DEPRECATED",
"updated": "2014-06-28T12:20:21Z"
}
}

View File

@ -1,4 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
<quota_set id="fake_tenant">
<security_groups>45</security_groups>
</quota_set>
</quota_set>

View File

@ -5,4 +5,4 @@
"volume_id": "521752a6-acf6-4b2d-bc7a-119f9148cd8c",
"force": true
}
}
}

View File

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- (C) 2013-2015 OpenStack Foundation, All Rights Reserved -->
<!DOCTYPE application [
<!ENTITY % common SYSTEM "../v2/common.ent">
<!ENTITY % common SYSTEM "../../v2/common.ent">
%common;
<!ENTITY % common SYSTEM "../common_project.ent">
<!ENTITY % common_project SYSTEM "../../../../common_project.ent">
%common_project;
]>
<application xmlns="http://wadl.dev.java.net/2009/02"
@ -16,62 +16,25 @@
<resource id="version-cinder-v1" type="#VersionDetails"
path="//v1">
<resource id="tenant_id-cinder-v1" path="{tenant_id}">
&tenantIdRequestParameter;
&tenant_idTemplateParameter;
<resource id="os-quota-sets-cinder-for-v1"
path="os-quota-sets">
<resource path="{tenant_id}"
id="tenant_id-quotas-cinder-v1">
<param name="tenant_id" style="template"
type="xsd:string" required="true">
<wadl:doc
xmlns="http://docbook.org/ns/docbook"
xml:lang="EN" title="Project ID">
<para>
The ID for the tenant for which you want
to show, update, or delete quotas. This ID
is different from the first tenant ID that
you specify in the URI: That ID is for the
admin tenant.
</para>
</wadl:doc>
</param>
&tenant_idTemplateParameter2;
<method href="#showQuota"/>
<method href="#updateQuota"/>
<method href="#deleteQuotas"/>
</resource>
<resource path="defaults" id="defaults-cinder-v1">
<method href="#getDefaults"/>
<method href="#showQuotaDefaults"/>
</resource>
<resource path="{tenant_id}"
id="tenantID-cinder-v1">
<param name="tenant_id" style="template"
type="xsd:string" required="true">
<wadl:doc
xmlns="http://docbook.org/ns/docbook"
xml:lang="EN" title="Project ID">
<para>
The ID of the tenant for which you want to
show or update quotas. This ID is
different from the first tenant ID that
you specify in the URI: That ID is for the
admin tenant.
</para>
</wadl:doc>
</param>
&tenant_idTemplateParameter2;
<resource id="user_id-cinder-v1"
path="{user_id}">
<param name="user_id" style="template"
type="xsd:string" required="true">
<wadl:doc
xmlns="http://docbook.org/ns/docbook"
xml:lang="EN" title="User ID">
<para>
The user ID. Specify in the
URI as a query string:
<code>user_id={user_id}</code>.
</para>
</wadl:doc>
</param>
&user_idTemplateParameter;
<method href="#showQuotaUser"/>
<method href="#updateQuotaUser"/>
<method href="#deleteQuotasUser"/>
@ -79,18 +42,7 @@
<resource id="detail-cinder-v1" path="detail">
<resource id="user_id-detail-cinder-v1"
path="{user_id}">
<param name="user_id" style="template"
type="xsd:string" required="true">
<wadl:doc
xmlns="http://docbook.org/ns/docbook"
xml:lang="EN" title="User ID">
<para>
The user ID. Specify in the
URI as a query string:
<code>user_id={user_id}</code>.
</para>
</wadl:doc>
</param>
&user_idTemplateParameter;
<method href="#showQuotaDetailUser"/>
</resource>
</resource>
@ -99,11 +51,11 @@
</resource>
</resource>
</resources>
<method name="GET" id="getDefaults">
<method name="GET" id="showQuotaDefaults">
<wadl:doc xml:lang="EN" xmlns="http://docbook.org/ns/docbook"
title="Get default quotas">
title="Show default quotas">
<para role="shortdesc">
Gets default quotas for a
Shows default quotas for a
tenant.
</para>
</wadl:doc>
@ -111,18 +63,18 @@
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xml:lang="EN"
title="Get default quotas response: JSON">
title="Show default quotas: JSON response">
<xsdxt:code
href="api_samples/os-quota-sets/quotas-show-defaults-get-resp.json"
href="../samples/os-quota-sets/quotas-defaults-show-response.json"
/>
</wadl:doc>
</representation>
<representation mediaType="application/xml">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xml:lang="EN"
title="Get default quotas response: XML">
title="Show default quotas: XML response">
<xsdxt:code
href="api_samples/os-quota-sets/quotas-show-defaults-get-resp.xml"
href="../samples/os-quota-sets/quotas-defaults-show-response.xml"
/>
</wadl:doc>&quotaSetsRespParameters; </representation>
</response>
@ -144,7 +96,7 @@
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xml:lang="EN" title="Show quotas response: JSON">
<xsdxt:code
href="api_samples/os-quota-sets/quotas-show-get-resp.json"
href="../samples/os-quota-sets/quotas-show-response.json"
/>
</wadl:doc>
</representation>
@ -152,10 +104,11 @@
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xml:lang="EN" title="Show quotas response: XML">
<xsdxt:code
href="api_samples/os-quota-sets/quotas-show-get-resp.xml"
href="../samples/os-quota-sets/quotas-show-response.xml"
/>
</wadl:doc>&quotaSetsRespParameters;
&quotasShowResponse;
</wadl:doc>
&quotaSetsRespParameters;
&quotasShowResponse;
</representation>
</response>
</method>
@ -171,7 +124,7 @@
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xml:lang="EN" title="Update quotas response: JSON">
<xsdxt:code
href="api_samples/os-quota-sets/quotas-update-post-req.json"
href="../samples/os-quota-sets/quotas-update-request.json"
/>
</wadl:doc>
</representation>
@ -179,7 +132,7 @@
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xml:lang="EN" title="Show quotas response: XML">
<xsdxt:code
href="api_samples/os-quota-sets/quotas-update-post-req.xml"
href="../samples/os-quota-sets/quotas-update-request.xml"
/>
</wadl:doc>&quotaSetsReqParameters; </representation>
</request>
@ -188,7 +141,7 @@
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xml:lang="EN" title="Update quota response: JSON">
<xsdxt:code
href="api_samples/os-quota-sets/quotas-update-post-resp.json"
href="../samples/os-quota-sets/quotas-update-response.json"
/>
</wadl:doc>
</representation>
@ -196,7 +149,7 @@
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xml:lang="EN" title="Update quota response: XML">
<xsdxt:code
href="api_samples/os-quota-sets/quotas-update-post-resp.xml"
href="../samples/os-quota-sets/quotas-update-response.xml"
/>
</wadl:doc> &quotaSetsRespParameters;
</representation>
@ -226,7 +179,7 @@
xml:lang="EN"
title="Show quotas for user response: JSON">
<xsdxt:code
href="api_samples/os-user-quotas/user-quotas-show-get-resp.json"
href="../samples/os-user-quotas/user-quotas-show-response.json"
/>
</wadl:doc>
</representation>
@ -235,7 +188,7 @@
xml:lang="EN"
title="Show quotas for user response: XML">
<xsdxt:code
href="api_samples/os-user-quotas/user-quotas-show-get-resp.xml"
href="../samples/os-user-quotas/user-quotas-show-response.xml"
/>
</wadl:doc> &quotaSetsRespParameters;
</representation>
@ -254,7 +207,7 @@
xml:lang="EN"
title="Update quotas for user request: JSON">
<xsdxt:code
href="api_samples/os-user-quotas/user-quotas-update-post-req.json"
href="../samples/os-user-quotas/user-quotas-update-request.json"
/>
</wadl:doc>
</representation>
@ -263,7 +216,7 @@
xml:lang="EN"
title="Update quotas for user request: XML">
<xsdxt:code
href="api_samples/os-user-quotas/user-quotas-update-post-req.xml"
href="../samples/os-user-quotas/user-quotas-update-request.xml"
/>
</wadl:doc> &quotaSetsReqParameters; </representation>
</request>
@ -273,7 +226,7 @@
xml:lang="EN"
title="Update quotas for user response: JSON">
<xsdxt:code
href="api_samples/os-user-quotas/user-quotas-update-post-resp.json"
href="../samples/os-user-quotas/user-quotas-update-response.json"
/>
</wadl:doc>
</representation>
@ -282,7 +235,7 @@
xml:lang="EN"
title="Show quotas for user response: XML">
<xsdxt:code
href="api_samples/os-user-quotas/user-quotas-update-post-resp.xml"
href="../samples/os-user-quotas/user-quotas-update-response.xml"
/>
</wadl:doc>&quotaSetsRespParameters; </representation>
</response>
@ -311,7 +264,7 @@
xmlns="http://docbook.org/ns/docbook"
title="Show quota details for user response: JSON">
<xsdxt:code
href="api_samples/os-quota-sets/quotas-user-show-detail-get-resp.json"
href="../samples/os-user-quotas/user-quotas-show-detail-response.json"
/>
</wadl:doc>
<param name="quota_set" style="plain" required="true"

View File

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- (C) 2012-2015 OpenStack Foundation, All Rights Reserved -->
<!DOCTYPE application [
<!ENTITY % common SYSTEM "../v2/common.ent">
<!ENTITY % common SYSTEM "../../v2/common.ent">
%common;
<!ENTITY % common SYSTEM "../common_project.ent">
<!ENTITY % common_project SYSTEM "../../../../common_project.ent">
%common_project;
]>
<application xmlns="http://wadl.dev.java.net/2009/02"
@ -18,52 +18,39 @@
</resource>
<resource id="version" type="#VersionDetails" path="//v1">
<resource id="tenant_id" path="{tenant_id}">
&tenantIdRequestParameter;
&tenant_idTemplateParameter;
<resource id="volumes" path="volumes">
<method href="#createVolume"/>
<method href="#getVolumesSimple"/>
<method href="#listVolumesSimple"/>
<resource path="detail" id="detail-volume">
<method href="#getVolumesDetail"/>
<method href="#listVolumesDetail"/>
</resource>
<resource path="{volume_id}" id="volume_id">
<param name="volume_id" style="template" required="true" type="csapi:UUID">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<para>The unique identifier of an existing volume.</para>
</wadl:doc>
</param>
<method href="#getVolume"/>
&volume_idTemplateParameter;
<method href="#showVolume"/>
<method href="#deleteVolume"/>
</resource>
</resource>
<resource id="types" path="types">
<method href="#getVolumeTypes"/>
<method href="#listVolumeTypes"/>
<method href="#createVolumeType"/>
<resource path="{volume_type_id}" id="volume_type_id">
<param name="volume_type_id" style="template" required="true"
type="csapi:UUID">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<para>The unique identifier of an existing volume type.</para>
</wadl:doc>
</param>
&vol_type_idTemplateParameter;
<method href="#updateVolumeType"/>
<method href="#updateVolumeTypeExtraSpecs"/>
<method href="#getVolumeType"/>
<method href="#showVolumeType"/>
<method href="#deleteVolumeType"/>
</resource>
</resource>
<resource id="snapshots" path="snapshots">
<method href="#createSnapshot"/>
<method href="#getSnapshotsSimple"/>
<method href="#listSnapshotsSimple"/>
<resource path="detail" id="detail-snapshots">
<method href="#getSnapshotsDetail"/>
<method href="#listSnapshotsDetail"/>
</resource>
<resource path="{snapshot_id}" id="snapshot_id">
<param name="snapshot_id" style="template" required="true" type="csapi:UUID">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<para>The unique identifier of an existing snapshot.</para>
</wadl:doc>
</param>
<method href="#getSnapshot"/>
&snapshot_idTemplateParameter;
<method href="#showSnapshot"/>
<method href="#deleteSnapshot"/>
<resource path="metadata" id="snapshot-metadata">
<method href="#showSnapshotMetadata"/>
@ -91,7 +78,7 @@
<response status="200 300">
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/cinder-versions-response.json"/>
<xsdxt:code href="../samples/volumes/versions-list-response.json"/>
</wadl:doc>
</representation>
<!-- The following call fails - opened bug #1311243 -->
@ -99,7 +86,7 @@
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xml:lang="EN">
<xsdxt:code
href="samples/cinder-versions-response.xml"
href="../samples/volumes/cinder-versions-response.xml"
/>
</wadl:doc>
</representation>-->
@ -114,7 +101,7 @@
<response status="200">
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/versionv1-get-resp.json"/>
<xsdxt:code href="../samples/volumes/version-show-response.json"/>
</wadl:doc>
</representation>
<!-- this call fails - opened bug 1311243 -->
@ -123,7 +110,7 @@
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xml:lang="EN">
<xsdxt:code
href="../api_samples/version-get-resp.xml"/>
href="../samples/version-show-resp.xml"/>
</wadl:doc>
<param name="location" style="plain" type="xsd:anyURI"
required="true"
@ -138,7 +125,7 @@
<response status="203">
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/versionv1-get-resp.json"/>
<xsdxt:code href="../samples/volumes/version-show-response.json"/>
</wadl:doc>
</representation>
</response>
@ -152,17 +139,19 @@
<request>
<representation mediaType="application/xml">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/volume_create.xml"/>
<xsdxt:code href="../samples/volumes/volume-create-request.xml"/>
</wadl:doc>
</representation>
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/volume_create.json"/>
<xsdxt:code href="../samples/volumes/volume-create-request.json"/>
</wadl:doc>
<param name="volume" style="plain" required="true" type="csapi:string">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<para>A partial representation of a volume used in the creation
process.</para>
<para>
A partial representation of a volume that the
creation process uses.
</para>
</wadl:doc>
</param>
&createVolumeParameters;
@ -171,12 +160,12 @@
<response status="201">
<representation mediaType="application/xml">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/volume_show.xml"/>
<xsdxt:code href="../samples/volumes/volume-show-response.xml"/>
</wadl:doc>
</representation>
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/volume_show.json"/>
<xsdxt:code href="../samples/volumes/volume-show-response.json"/>
</wadl:doc>
<param name="volume" style="plain" required="true" type="csapi:string">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
@ -187,7 +176,7 @@
</representation>
</response>
</method>
<method name="GET" id="getVolumesSimple">
<method name="GET" id="listVolumesSimple">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN" title="List volumes">
<para role="shortdesc">
Lists volumes.
@ -196,12 +185,12 @@
<response status="200">
<representation mediaType="application/xml">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/volume_list_simple.xml"/>
<xsdxt:code href="../samples/volumes/volumes-list-response.xml"/>
</wadl:doc>
</representation>
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/volume_list_simple.json"/>
<xsdxt:code href="../samples/volumes/volumes-list-response.json"/>
</wadl:doc>
<param name="volumes" style="plain" required="true" type="csapi:string">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
@ -212,7 +201,7 @@
</representation>
</response>
</method>
<method name="GET" id="getVolumesDetail">
<method name="GET" id="listVolumesDetail">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="List volumes, with details">
<para role="shortdesc">
@ -222,12 +211,12 @@
<response status="200">
<representation mediaType="application/xml">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/volume_list_simple.xml"/>
<xsdxt:code href="../samples/volumes/volumes-list-response.xml"/>
</wadl:doc>
</representation>
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/volume_list_simple.json"/>
<xsdxt:code href="../samples/volumes/volumes-list-response.json"/>
</wadl:doc>
<param name="volumes" style="plain" required="true" type="csapi:string">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
@ -238,7 +227,7 @@
</representation>
</response>
</method>
<method name="GET" id="getVolume">
<method name="GET" id="showVolume">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="Show volume details">
<para role="shortdesc">
@ -248,12 +237,12 @@
<response status="200">
<representation mediaType="application/xml">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/volume_show.xml"/>
<xsdxt:code href="../samples/volumes/volume-show-response.xml"/>
</wadl:doc>
</representation>
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/volume_show.json"/>
<xsdxt:code href="../samples/volumes/volume-show-response.json"/>
</wadl:doc>
<param name="volume" style="plain" required="true" type="csapi:string">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
@ -274,7 +263,7 @@
</wadl:doc>
<response status="202"/>
</method>
<method name="GET" id="getVolumeTypes">
<method name="GET" id="listVolumeTypes">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN" title="List volume types">
<para role="shortdesc">
Lists volume types.
@ -283,12 +272,12 @@
<response status="200">
<representation mediaType="application/xml">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/volume_type_list.xml"/>
<xsdxt:code href="../samples/volumes/volume-types-list-response.xml"/>
</wadl:doc>
</representation>
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/volume_type_list.json"/>
<xsdxt:code href="../samples/volumes/volume-types-list-response.json"/>
</wadl:doc>
</representation>
</response>
@ -302,18 +291,18 @@
<request>
<representation mediaType="application/xml">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/volume_type_create_request.xml"/>
<xsdxt:code href="../samples/volumes/volume-type-create-request.xml"/>
</wadl:doc>
</representation>
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/volume_type_create_request.json"/>
<xsdxt:code href="../samples/volumes/volume-type-create-request.json"/>
</wadl:doc>
<param name="volume_type" style="plain" required="true" type="csapi:string">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<para>
A partial representation of a volume type used in the creation
process.
A partial representation of a volume type that the
creation process uses.
</para>
</wadl:doc>
</param>
@ -322,12 +311,12 @@
<response status="200">
<representation mediaType="application/xml">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/volume_type_show.xml"/>
<xsdxt:code href="../samples/volumes/volume-type-show-response.xml"/>
</wadl:doc>
</representation>
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/volume_type_show.json"/>
<xsdxt:code href="../samples/volumes/volume-type-show-response.json"/>
</wadl:doc>
</representation>
</response>
@ -342,17 +331,19 @@
<request>
<representation mediaType="application/xml">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/volume_type_create_request.xml"/>
<xsdxt:code href="../samples/volumes/volume-type-create-request.xml"/>
</wadl:doc>
</representation>
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/volume_type_create_request.json"/>
<xsdxt:code href="../samples/volumes/volume-type-create-request.json"/>
</wadl:doc>
<param name="volume_type" style="plain" required="true" type="csapi:string">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<para>A volume type offers a way to categorize
or group volumes.</para>
<para>
Use volume types to categorize
or group volumes.
</para>
</wadl:doc>
</param>
</representation>
@ -360,12 +351,12 @@
<response status="200">
<representation mediaType="application/xml">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/volume_type_show.xml"/>
<xsdxt:code href="../samples/volumes/volume-type-show-response.xml"/>
</wadl:doc>
</representation>
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/volume_type_show.json"/>
<xsdxt:code href="../samples/volumes/volume-type-show-response.json"/>
</wadl:doc>
</representation>
</response>
@ -374,25 +365,23 @@
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="Update extra specs for a volume type">
<para role="shortdesc">
Updates the extra specifications that are
assigned to a volume type.
Updates the extra specifications for a volume type.
</para>
</wadl:doc>
<request>
<representation mediaType="application/xml">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/volume_type_create_request.xml"/>
<xsdxt:code href="../samples/volumes/volume-type-create-request.xml"/>
</wadl:doc>
</representation>
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/volume_type_create_request.json"/>
<xsdxt:code href="../samples/volumes/volume-type-create-request.json"/>
</wadl:doc>
<param name="volume_type" style="plain" required="true" type="csapi:string">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<para>
A volume type. Use to categorize
or group volumes.
A volume type. Use to categorize or group volumes.
</para>
</wadl:doc>
</param>
@ -400,10 +389,9 @@
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<para>
A key and value pair that contains additional
specifications associated with the volume type.
Examples include capabilities, capacity,
compression, and so on, depending on the storage
driver in use.
specifications for the volume type. Examples
include capabilities, capacity, compression, and
so on, depending on the storage driver in use.
</para>
</wadl:doc>
</param>
@ -412,24 +400,26 @@
<response status="200">
<representation mediaType="application/xml">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/volume_type_show.xml"/>
<xsdxt:code href="../samples/volumes/volume-type-show-response.xml"/>
</wadl:doc>
</representation>
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/volume_type_show.json"/>
<xsdxt:code href="../samples/volumes/volume-type-show-response.json"/>
</wadl:doc>
<param name="volume" style="plain" required="true" type="csapi:string">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<para>A partial representation of a volume used in the creation
process.</para>
<para>
A partial representation of a volume that the
creation process uses.
</para>
</wadl:doc>
</param>
&volumeDetailResponseParameters;
</representation>
</response>
</method>
<method name="GET" id="getVolumeType">
<method name="GET" id="showVolumeType">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="Show volume type details">
<para role="shortdesc">
@ -439,12 +429,12 @@
<response status="200">
<representation mediaType="application/xml">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/volume_type_show.xml"/>
<xsdxt:code href="../samples/volumes/volume-type-show-response.xml"/>
</wadl:doc>
</representation>
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/volume_type_show.json"/>
<xsdxt:code href="../samples/volumes/volume-type-show-response.json"/>
</wadl:doc>
</representation>
</response>
@ -466,17 +456,19 @@
<request>
<representation mediaType="application/xml">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/snapshot_create.xml"/>
<xsdxt:code href="../samples/volumes/snapshot-create-request.xml"/>
</wadl:doc>
</representation>
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/snapshot_create.json"/>
<xsdxt:code href="../samples/volumes/snapshot-create-request.json"/>
</wadl:doc>
<param name="snapshot" style="plain" required="true" type="csapi:string">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<para>A partial representation of a snapshot used in the creation
process.</para>
<para>
A partial representation of a snapshot that the
creation process uses.
</para>
</wadl:doc>
</param>
</representation>
@ -484,17 +476,17 @@
<response status="201">
<representation mediaType="application/xml">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/snapshot_show.xml"/>
<xsdxt:code href="../samples/volumes/snapshot-show-response.xml"/>
</wadl:doc>
</representation>
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/snapshot_show.json"/>
<xsdxt:code href="../samples/volumes/snapshot-show-response.json"/>
</wadl:doc>
</representation>
</response>
</method>
<method name="GET" id="getSnapshotsSimple">
<method name="GET" id="listSnapshotsSimple">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN" title="List snapshots">
<para role="shortdesc">
Lists simple snapshots.
@ -503,17 +495,17 @@
<response status="200">
<representation mediaType="application/xml">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/snapshot_list_simple.xml"/>
<xsdxt:code href="../samples/volumes/snapshots-list-response.xml"/>
</wadl:doc>
</representation>
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/snapshot_list_simple.json"/>
<xsdxt:code href="../samples/volumes/snapshots-list-response.json"/>
</wadl:doc>
</representation>
</response>
</method>
<method name="GET" id="getSnapshotsDetail">
<method name="GET" id="listSnapshotsDetail">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="List snapshots with details">
<para role="shortdesc">Lists all snapshots, with details.</para>
@ -521,17 +513,17 @@
<response status="200">
<representation mediaType="application/xml">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/snapshot_list_simple.xml"/>
<xsdxt:code href="../samples/volumes/snapshots-list-response.xml"/>
</wadl:doc>
</representation>
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/snapshot_list_simple.json"/>
<xsdxt:code href="../samples/volumes/snapshots-list-response.json"/>
</wadl:doc>
</representation>
</response>
</method>
<method name="GET" id="getSnapshot">
<method name="GET" id="showSnapshot">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="Show snapshot details">
<para role="shortdesc">
@ -541,12 +533,12 @@
<response status="200">
<representation mediaType="application/xml">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/snapshot_show.xml"/>
<xsdxt:code href="../samples/volumes/snapshot-show-response.xml"/>
</wadl:doc>
</representation>
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/snapshot_show.json"/>
<xsdxt:code href="../samples/volumes/snapshot-show-response.json"/>
</wadl:doc>
</representation>
</response>
@ -568,12 +560,12 @@
<response status="200">
<representation mediaType="application/xml">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/snapshot_metadata_response.xml"/>
<xsdxt:code href="../samples/volumes/snapshot-metadata-show-response.xml"/>
</wadl:doc>
</representation>
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/snapshot_metadata_response.json"/>
<xsdxt:code href="../samples/volumes/snapshot-metadata-show-response.json"/>
</wadl:doc>
</representation>
</response>
@ -588,12 +580,12 @@
<request>
<representation mediaType="application/xml">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/snapshot_update_metadata_request.xml"/>
<xsdxt:code href="../samples/volumes/snapshot-metadata-update-request.xml"/>
</wadl:doc>
</representation>
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/snapshot_update_metadata_request.json"/>
<xsdxt:code href="../samples/volumes/snapshot-metadata-update-request.json"/>
</wadl:doc>
<param name="metadata" style="plain" type="xsd:string" required="false">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
@ -601,12 +593,19 @@
One or more metadata key and value pairs to set or unset for the
snapshot.
</para>
<para>To unset a metadata key value, specify only the key name.</para>
<para>To set a metadata key value, specify the key and value pair.</para>
<para>The Block Storage server does not respect case-sensitive key names.
For example, if you specify both <code>"key": "v1"</code> and
<code>"KEY": "V1"</code>, the server sets and returns only the
<code>KEY</code> key and value pair.</para>
<para>
To unset a metadata key value, specify only the key name.
</para>
<para>
To set a metadata key value, specify the key and value pair.
</para>
<para>
The Block Storage server does not respect case-
sensitive key names. For example, if you specify
both <code>"key": "v1"</code> and <code>"KEY":
"V1"</code>, the server sets and returns only the
<code>KEY</code> key and value pair.
</para>
</wadl:doc>
</param>
</representation>
@ -614,12 +613,12 @@
<response status="200">
<representation mediaType="application/xml">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/snapshot_update_metadata_response.xml"/>
<xsdxt:code href="../samples/volumes/snapshot-metadata-update-response.xml"/>
</wadl:doc>
</representation>
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<xsdxt:code href="api_samples/snapshot_update_metadata_response.json"/>
<xsdxt:code href="../samples/volumes/snapshot-metadata-update-response.json"/>
</wadl:doc>
</representation>
</response>

View File

@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<qos_specs name="performance-spec" delay="0" throughput="100"/>

View File

@ -1,11 +0,0 @@
<?xml version='1.0' encoding='UTF-8'?>
<qos_specs>
<qos_spec consumer="back-end"
id="ecfc6e2e-7117-44a4-8eec-f84d04f531a8"
name="performance-spec">
<specs>
<delay>0</delay>
<throughput>100</throughput>
</specs>
</qos_spec>
</qos_specs>

View File

@ -1,21 +0,0 @@
{
"qos_specs": {
"specs": {
"availability": "100",
"numberOfFailures": "0"
},
"consumer": "back-end",
"name": "reliability-spec",
"id": "0388d6c6-d5d4-42a3-b289-95205c50dd15"
},
"links": [
{
"href": "http://23.253.228.211:8776/v2/e1cf63117ae74309a5bcc2002a23be8b/qos_specs/0388d6c6-d5d4-42a3-b289-95205c50dd15",
"rel": "self"
},
{
"href": "http://23.253.228.211:8776/e1cf63117ae74309a5bcc2002a23be8b/qos_specs/0388d6c6-d5d4-42a3-b289-95205c50dd15",
"rel": "bookmark"
}
]
}

View File

@ -1,2 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<qos_specs delay="2" throughput="100"/>

View File

@ -1,22 +0,0 @@
{
"version": {
"id": "v2.0",
"links": [
{
"href": "http://23.253.211.234:8776/v2/v2.0",
"rel": "self"
}
],
"media-types": [
{
"base": "application/xml",
"type": "application/vnd.openstack.volume+xml;version=1"
},
{
"base": "application/json",
"type": "application/vnd.openstack.volume+json;version=1"
}
],
"status": "CURRENT"
}
}

View File

@ -38,8 +38,112 @@
<representation mediaType="application/xml" element="csapi:itemNotFound"/>
<representation mediaType="application/json"/>
</response>'>
<!-- tenantIdRequestParameter -->
<!ENTITY tenantIdRequestParameter '
<!ENTITY aliasTemplateParameter '
<param required="true"
xmlns="http://wadl.dev.java.net/2009/02"
name="alias" style="template"
type="xsd:string">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>
An alias, which is a name for a pointer to a resource. For example, a
named extension.
</para>
</wadl:doc>
</param>'>
<!ENTITY backup_idTemplateParameter '
<param name="backup_id" style="template"
required="true" type="csapi:UUID" xmlns="http://wadl.dev.java.net/2009/02">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>
The UUID for a backup.
</para>
</wadl:doc>
</param>'>
<!ENTITY cgsnapshot_idTemplateParameter '
<param name="cgsnapshot_id" style="template"
type="xsd:string" xmlns="http://wadl.dev.java.net/2009/02">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>
The unique identifier of the consistency
group snapshot.
</para>
</wadl:doc>
</param>'>
<!ENTITY consistencygroup_idTemplateParameter '
<param name="consistencygroup_id" style="template"
type="xsd:string" xmlns="http://wadl.dev.java.net/2009/02">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>
The unique identifier of the consistency
group.
</para>
</wadl:doc>
</param>'>
<!ENTITY hostnameTemplateParameter '
<param name="hostname" style="template"
type="xsd:string" xmlns="http://wadl.dev.java.net/2009/02">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>
The name of the host that hosts the storage back end.
</para>
</wadl:doc>
</param>'>
<!ENTITY interface_idTemplateParameter '
<param name="attachment_id"
style="template" type="csapi:UUID" xmlns="http://wadl.dev.java.net/2009/02">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>
The interface ID.
</para>
</wadl:doc>
</param>'>
<!ENTITY qos_idTemplateParameter '
<param xmlns="http://wadl.dev.java.net/2009/02"
name="qos_id" style="template"
type="xsd:string">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>
The ID for the QoS specification.
</para>
</wadl:doc>
</param>'>
<!ENTITY server_idTemplateParameter '
<param name="server_id" style="template"
type="csapi:UUID" xmlns="http://wadl.dev.java.net/2009/02">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>The UUID for the server of
interest to you.</para>
</wadl:doc>
</param>'>
<!ENTITY snapshot_idTemplateParameter '
<param name="snapshot_id" style="template"
required="true" type="csapi:UUID" xmlns="http://wadl.dev.java.net/2009/02">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>
The UUID of the snapshot.
</para>
</wadl:doc>
</param>'>
<!-- tenant_idTemplateParameter -->
<!ENTITY tenant_idTemplateParameter '
<param name="tenant_id" style="template" type="csapi:UUID"
xmlns="http://wadl.dev.java.net/2009/02">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
@ -50,9 +154,67 @@
</para>
</wadl:doc>
</param>'>
<!ENTITY tenant_idTemplateParameter2 '
<param name="tenant_id" style="template" type="csapi:UUID"
xmlns="http://wadl.dev.java.net/2009/02">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>
The UUID for the tenant for which you want to show, update, or delete
quotas. This UUID is different from the first tenant ID that you specify
in the URI: That UUID is for the administrative tenant.
</para>
</wadl:doc>
</param>'>
<!ENTITY user_idTemplateParameter '
<param name="user_id" style="template"
type="xsd:string" required="true" xmlns="http://wadl.dev.java.net/2009/02">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>
The user ID. Specify in the URI as <code>user_id={user_id}</code>.
</para>
</wadl:doc>
</param>'>
<!ENTITY vol_type_idTemplateParameter '
<param name="vol_type_id" id="vol_type_id"
style="query" type="xsd:string"
xmlns="http://wadl.dev.java.net/2009/02">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>
The ID of the volume type.
</para>
</wadl:doc>
</param>'>
<!ENTITY volume_idTemplateParameter '
<param name="volume_id" style="template"
required="true" type="csapi:UUID" xmlns="http://wadl.dev.java.net/2009/02">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>
The UUID of the volume.
</para>
</wadl:doc>
</param>'>
<!ENTITY volume_type_idTemplateParameter '
<param name="volume_type_id" style="template"
required="true" type="csapi:UUID" xmlns="http://wadl.dev.java.net/2009/02">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>
The UUID for an existing volume type.
</para>
</wadl:doc>
</param>'>
<!ENTITY volumeListQueryParameters '
<param xmlns="http://wadl.dev.java.net/2009/02" name="sort"
style="query" required="false" type="xsd:string">
style="query" required="false" type="xsd:string">
<wadl:doc xmlns:wadl="http://wadl.dev.java.net/2009/02"
xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<para>
@ -434,7 +596,7 @@
</param>
<param xmlns="http://wadl.dev.java.net/2009/02"
name="source_volid" style="plain"
type="csapi:uuid" required="false">
type="csapi:UUID" required="false">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
@ -467,7 +629,7 @@
</param>
<param xmlns="http://wadl.dev.java.net/2009/02"
name="snapshot_id" style="plain"
type="csapi:uuid" required="false">
type="csapi:UUID" required="false">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
@ -498,7 +660,7 @@
<para>The volume name.</para></wadl:doc>
</param>
<param xmlns="http://wadl.dev.java.net/2009/02"
name="imageRef" style="plain" type="csapi:uuid"
name="imageRef" style="plain" type="csapi:UUID"
required="false">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
@ -547,6 +709,107 @@
</para>
</wadl:doc>
</param>' >
<!ENTITY createVolumeResponseParameters '
<param xmlns="http://wadl.dev.java.net/2009/02"
name="availability_zone" style="plain"
type="xsd:string" required="true">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>The availability zone.</para></wadl:doc>
</param>
<param xmlns="http://wadl.dev.java.net/2009/02"
name="source_volid" style="plain"
type="csapi:UUID" required="true">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>
The UUID of the source volume, if any.
</para>
</wadl:doc>
</param>
<param xmlns="http://wadl.dev.java.net/2009/02"
name="description" style="plain"
type="xsd:string" required="true">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>The volume description.</para>
</wadl:doc>
</param>
<param xmlns="http://wadl.dev.java.net/2009/02"
name="multiattach" style="plain"
type="xsd:boolean" required="true">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>
If <code>true</code>, this volume can attach to more than one instance.
</para>
</wadl:doc>
</param>
<param xmlns="http://wadl.dev.java.net/2009/02"
name="snapshot_id" style="plain"
type="csapi:UUID" required="true">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>
The UUID of the source snapshot, if any.
</para>
</wadl:doc>
</param>
<param xmlns="http://wadl.dev.java.net/2009/02"
name="size" style="plain" type="xsd:int"
required="true">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>
The size of the volume, in gibibytes (GiB).
</para>
</wadl:doc>
</param>
<param xmlns="http://wadl.dev.java.net/2009/02"
name="name" style="plain"
type="xsd:string" required="true">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>The volume name.</para></wadl:doc>
</param>
<param xmlns="http://wadl.dev.java.net/2009/02"
name="imageRef" style="plain" type="csapi:UUID"
required="true">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>
The UUID of the source image, if any.
</para>
</wadl:doc>
</param>
<param xmlns="http://wadl.dev.java.net/2009/02"
name="volume_type" style="plain"
type="xsd:string" required="true">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>The associated volume type.</para></wadl:doc>
</param>
<param xmlns="http://wadl.dev.java.net/2009/02"
name="metadata" style="plain" type="xsd:dict"
required="true">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>
Metadata key and value pairs that are associated with the
volume.
</para>
</wadl:doc>
</param>'>
<!ENTITY isPublicParameterReq '
<param xmlns="http://wadl.dev.java.net/2009/02"
name="os-volume-type-access:is_public" style="plain" required="false"
@ -583,7 +846,7 @@
</wadl:doc>
</param>
<param xmlns="http://wadl.dev.java.net/2009/02" name="id"
style="plain" type="csapi:uuid"
style="plain" type="csapi:UUID"
required="true">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
@ -676,7 +939,7 @@
</wadl:doc>
</param>
<param xmlns="http://wadl.dev.java.net/2009/02" name="snapshot_id" style="plain"
type="csapi:uuid" required="true">
type="csapi:UUID" required="true">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
@ -687,7 +950,7 @@
</param>
<param xmlns="http://wadl.dev.java.net/2009/02"
name="source_volid" style="plain"
type="csapi:uuid" required="true">
type="csapi:UUID" required="true">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
@ -709,7 +972,7 @@
</wadl:doc>
</param>
<param xmlns="http://wadl.dev.java.net/2009/02" name="id"
style="plain" type="csapi:uuid"
style="plain" type="csapi:UUID"
required="true">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
@ -815,7 +1078,7 @@
<para>The associated volume type.</para></wadl:doc>
</param>
<param xmlns="http://wadl.dev.java.net/2009/02" name="snapshot_id" style="plain"
type="csapi:uuid" required="true">
type="csapi:UUID" required="true">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
@ -826,7 +1089,7 @@
</param>
<param xmlns="http://wadl.dev.java.net/2009/02"
name="source_volid" style="plain"
type="csapi:uuid" required="true">
type="csapi:UUID" required="true">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
@ -848,7 +1111,7 @@
</wadl:doc>
</param>
<param xmlns="http://wadl.dev.java.net/2009/02" name="id"
style="plain" type="csapi:uuid"
style="plain" type="csapi:UUID"
required="true">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
@ -1169,7 +1432,7 @@
</para>
</wadl:doc>
</param>'>
<!ENTITY getConsistencyGroupsResponseParameters '
<!ENTITY listConsistencyGroupsResponseParameters '
<param xmlns="http://wadl.dev.java.net/2009/02"
name="id" style="plain" required="true"
type="csapi:UUID">
@ -1192,7 +1455,7 @@
</para>
</wadl:doc>
</param>'>
<!ENTITY getConsistencyGroupsDetailResponseParameters '
<!ENTITY listConsistencyGroupsDetailResponseParameters '
<param xmlns="http://wadl.dev.java.net/2009/02"
name="id" style="plain" required="true"
type="csapi:UUID">
@ -1499,6 +1762,17 @@
</para>
</wadl:doc>
</param>'>
<!ENTITY qos_specsParameter '
<param name="qos_specs" style="plain"
type="xsd:dict" required="true" xmlns="http://wadl.dev.java.net/2009/02">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xml:lang="EN">
<para>
A <code>qos_specs</code> object.
</para>
</wadl:doc>
</param>'>
<!ENTITY getCGsnapshotsListResponseParameters '
<param xmlns="http://wadl.dev.java.net/2009/02"
name="id" style="plain" required="true"
@ -1718,7 +1992,7 @@
</para>
</wadl:doc>
</param>
<param xmlns="http://wadl.dev.java.net/2009/02" name="volume_id" style="plain" type="csapi:uuid"
<param xmlns="http://wadl.dev.java.net/2009/02" name="volume_id" style="plain" type="csapi:UUID"
required="true">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
@ -1738,7 +2012,7 @@
</para>
</wadl:doc>
</param>
<param xmlns="http://wadl.dev.java.net/2009/02" name="id" style="plain" type="csapi:uuid"
<param xmlns="http://wadl.dev.java.net/2009/02" name="id" style="plain" type="csapi:UUID"
required="true">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"

View File

@ -1,40 +0,0 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/snapshots#post",
"type": "object",
"properties": {
"snapshot": {
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/snapshots#post/snapshot",
"type": "object",
"documentation": "A partial representation of a snapshot used in the creation process.",
"properties": {
"name": {
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/snapshots#post/snapshot/name",
"type": "string",
"documentation": "Name of the snapshot. The default is None."
},
"description": {
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/snapshots#post/snapshot/description",
"type": "string",
"documentation": "Description of the snapshot. The default is None."
},
"volume_id": {
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/snapshots#post/snapshot/volume_id",
"type": "string",
"documentation": "To create a snapshot from an existing volume, specify the ID of the existing volume."
},
"force": {
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/snapshots#post/snapshot/force",
"type": "boolean",
"documentation": "[True/False] Indicate whether to snapshot, even if the volume is attached. Default==False."
}
},
"required": [
"volume_id"
]
}
},
"required": [
"snapshot"
]
}

View File

@ -1,33 +0,0 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/types#post",
"type": "object",
"properties": {
"volume_type": {
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/types#post/volume_type",
"type": "object",
"documentation": "A partial representation of a volume type used in the creation process.",
"properties": {
"name": {
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/types#post/volume_type/name",
"type": "string",
"documentation": "The name of the volume type."
},
"extra_specs": {
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/types#post/volume_type/extra_specs",
"type": "object",
"properties": {
"capabilities": {
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/types#post/volume_type/extra_specs/capabilities",
"type": "string"
}
}
}
},
"required": []
}
},
"required": [
"volume_type"
]
}

View File

@ -1,75 +0,0 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "http://docs.openstack.org/api/openstack-block-storage/v2",
"type": "object",
"properties": {
"volume": {
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/volume#post",
"type": "object",
"properties": {
"availability_zone": {
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/volume#post/availability_zone",
"type": "string",
"documentation": "The availability zone."
},
"source_volid": {
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/volume#post/source_volid",
"type": "string",
"documentation": "To create a volume from an existing volume, specify the ID of the existing volume. If specified, the volume is created with same size of the source volume."
},
"description": {
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/volume#post/description",
"type": "string",
"documentation": "The volume description."
},
"snapshot_id": {
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/volume#post/snapshot_id",
"type": "string",
"documentation": "To create a volume from an existing snapshot, specify the ID of the existing volume snapshot. If specified, the volume is created in same availability zone and with same size of the snapshot."
},
"size": {
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/volume#post/size",
"type": "integer",
"documentation": "The size of the volume, in GBs."
},
"name": {
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/volume#post/name",
"type": "string",
"documentation": "The volume name."
},
"imageRef": {
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/volume#post/imageRef",
"type": "string",
"documentation": "The ID of the image from which you want to create the volume. Required to create a bootable volume."
},
"volume_type": {
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/volume#post/volume_type",
"type": "string",
"documentation": "The associated volume type."
},
"bootable": {
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/volume#post/metadata",
"type": "boolean",
"documentation": "Enables or disables the bootable attribute. You can boot an instance from a bootable volume."
},
"metadata": {
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/volume#post/metadata",
"type": "object",
"documentation": "One or more metadata key and value pairs to associate with the volume.",
"properties": {}
},
"encrypted": {
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/volume#post/metadata",
"type": "boolean",
"documentation": "Enables or disables encryption of the volume. You must choose the same volume type as the source volume to restore an encrypted backup volume. Must be set to true to encrypt a volume."
}
},
"required": [
"size"
]
}
},
"required": [
"volume"
]
}

View File

@ -1,24 +0,0 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/snapshots/metadata#put",
"type": "object",
"properties": {
"metadata": {
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/snapshots/metadata#put/metadata",
"type": "object",
"documentation": "One or more metadata key and value pairs to set or unset for the snapshot. To unset a metadata key value, specify only the key name. To set a metadata key value, specify the key and value pair. The Block Storage server does not respect case-sensitive key names. For example, if you specify both \"key\": \"v1\" and \"KEY\": \"V1\", the server sets and returns only the KEY key and value pair.",
"properties": {
"key": {
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/snapshots/metadata#put/metadata/key",
"type": "string"
}
},
"required": [
"key"
]
}
},
"required": [
"metadata"
]
}

View File

@ -1,27 +0,0 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/snapshots#put",
"type": "object",
"properties": {
"snapshot": {
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/snapshots#put/snapshot",
"type": "object",
"properties": {
"name": {
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/snapshots#put/snapshot/name",
"type": "string",
"documentation": "The name of the snapshot."
},
"description": {
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/snapshots#put/snapshot/description",
"type": "string",
"documentation": "Describes the snapshot."
}
},
"required": []
}
},
"required": [
"snapshot"
]
}

View File

@ -1,25 +0,0 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/volumes#put",
"type": "object",
"properties": {
"volume": {
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/volumes#put/volume",
"type": "object",
"properties": {
"name": {
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/volumes#put/volume/name",
"type": "string"
},
"description": {
"id": "http://docs.openstack.org/api/openstack-block-storage/v2/volumes#put/volume/description",
"type": "string"
}
},
"required": []
}
},
"required": [
"volume"
]
}

View File

@ -1,68 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- (C) 2014-2015 OpenStack Foundation, All Rights Reserved -->
<!DOCTYPE application [
<!ENTITY % common SYSTEM "common.ent">
%common;
<!ENTITY % common_project SYSTEM "../../../common_project.ent">
%common_project;
]>
<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://wadl.dev.java.net/2009/02 http://www.w3.org/Submission/wadl/wadl.xsd"
xmlns:csapi="http://docs.openstack.org/api/openstack-block-storage/v2"
xmlns="http://wadl.dev.java.net/2009/02" xmlns:xsdxt="http://docs.rackspacecloud.com/xsd-ext/v1.0"
xmlns:wadl="http://wadl.dev.java.net/2009/02" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<resources base="https://manage.example.com/"
xml:id="backend-capabilities-v2">
<resource id="version" path="//v2">
<resource id="tenant_id" path="{tenant_id}">
<param name="tenant_id" style="template"
type="xsd:string">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xml:lang="EN">
<para>
The unique identifier of the tenant or
account.
</para>
</wadl:doc>
</param>
<resource id="capabilities" path="capabilities">
<resource id="hostname" path="{hostname}">
<param name="hostname" style="template"
type="xsd:string">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xml:lang="EN">
<para>
The name of the host that hosts the storage back end.
</para>
</wadl:doc>
</param>
<method href="#getBackendCapabilities"/>
</resource>
</resource>
</resource>
</resource>
</resources>
<method name="GET" id="getBackendCapabilities">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="Show back-end capabilities">
<para role="shortdesc">
Shows capabilities for a storage back end.
</para>
</wadl:doc>
<request>
</request>
<response status="200">
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xml:lang="EN">
<xsdxt:code
href="api_samples/backend-capabilities/backend-capabilities-resp.json"
/>
</wadl:doc>
</representation>
<representation mediaType="application/xml">
&backendParametersResponse;
</representation>
</response>
</method>
</application>

View File

@ -1,75 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- (C) 2014-2015 OpenStack Foundation, All Rights Reserved -->
<!DOCTYPE application [
<!ENTITY % common SYSTEM "common.ent">
%common;
<!ENTITY % common_project SYSTEM "../../../common_project.ent">
%common_project;
]>
<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://wadl.dev.java.net/2009/02 http://www.w3.org/Submission/wadl/wadl.xsd"
xmlns:csapi="http://docs.openstack.org/api/openstack-block-storage/v2"
xmlns="http://wadl.dev.java.net/2009/02"
xmlns:xsdxt="http://docs.rackspacecloud.com/xsd-ext/v1.0"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xlink="http://www.w3.org/1999/xlink">
<resources base="https://manage.example.com/"
xml:id="volume-type-access-v2">
<resource id="version" path="//v2">
<resource id="tenant_id" path="{tenant_id}">
&tenantIdRequestParameter;
<resource id="volumes" path="volumes">
<method href="#createVolumeTypeAccessExt"/>
</resource>
</resource>
</resource>
</resources>
<method name="POST" id="createVolumeTypeAccessExt">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="Create private volume">
<para role="shortdesc">
Creates a private Block Storage volume.
</para>
</wadl:doc>
<request>
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xml:lang="EN">
<xsdxt:code
href="api_samples/os-volume-type-access/volume_create_request.json"
/>
</wadl:doc>
</representation>
<representation mediaType="application/xml">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xml:lang="EN">
<xsdxt:code
href="api_samples/os-volume-type-access/volume_create_request.xml"/>
</wadl:doc>
&createVolumeParameters;
&isPublicParameterReq;
</representation>
</request>
<response status="202">
<representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xml:lang="EN">
<xsdxt:code
href="api_samples/os-volume-type-access/volume_create_response.json"
/>
</wadl:doc>
</representation>
<representation mediaType="application/xml">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xml:lang="EN">
<xsdxt:code
href="api_samples/os-volume-type-access/volume_create_response.xml"
/>
</wadl:doc>
&volumeDetailResponseParameters;
&isPublicParameterResp;
</representation>
</response>
</method>
</application>

View File

@ -3,4 +3,4 @@
"backup_id": "2ef47aee-8844-490c-804d-2a8efe561c65",
"volume_id": "795114e8-7489-40be-a978-83797f2c1dd3"
}
}
}

Some files were not shown because too many files have changed in this diff Show More