modify duplicate // to / in doc

Part of bp:api-ref-in-rst

Change-Id: I1da87f0e8f0a6b45d60be58af2d13c8a236469d3
This commit is contained in:
jichenjc 2016-03-24 05:01:06 +08:00
parent b87e6723ef
commit 11a79609e3
2 changed files with 12 additions and 12 deletions

View File

@ -17,7 +17,7 @@ image size in the ``OS-EXT-IMG-SIZE:size`` extended attribute.
List Images
===========
.. rest_method:: GET //v2.1/{tenant_id}/images
.. rest_method:: GET /v2.1/{tenant_id}/images
list images.
@ -44,7 +44,7 @@ Response
Show Image Details
==================
.. rest_method:: GET //v2.1/{tenant_id}/images/{image_id}
.. rest_method:: GET /v2.1/{tenant_id}/images/{image_id}
Shows details for an image.
@ -72,7 +72,7 @@ Response
List Images With Details
==================
.. rest_method:: GET //v2.1/{tenant_id}/images/detail
.. rest_method:: GET /v2.1/{tenant_id}/images/detail
List images with details.
@ -100,7 +100,7 @@ Response
Delete Image
============
.. rest_method:: DELETE //v2.1/{tenant_id}/images/{image_id}
.. rest_method:: DELETE /v2.1/{tenant_id}/images/{image_id}
Deletes an image.
@ -123,7 +123,7 @@ Response
Create Image Metadata
=====================
.. rest_method:: POST //v2.1/{tenant_id}/images/{image_id}/metadata
.. rest_method:: POST /v2.1/{tenant_id}/images/{image_id}/metadata
Create an image metadata.
@ -156,7 +156,7 @@ Response
Update Image Metadata
=====================
.. rest_method:: PUT //v2.1/{tenant_id}/images/{image_id}/metadata
.. rest_method:: PUT /v2.1/{tenant_id}/images/{image_id}/metadata
Update an image metadata
@ -189,7 +189,7 @@ Response
Show Image Metadata Details
===========================
.. rest_method:: GET //v2.1/{tenant_id}/images/{image_id}/metadata
.. rest_method:: GET /v2.1/{tenant_id}/images/{image_id}/metadata
Shows details for an image metadata.
@ -217,7 +217,7 @@ Response
Show Image Metadata Item Details
================================
.. rest_method:: GET //v2.1/{tenant_id}/images/{image_id}/metadata/{key}
.. rest_method:: GET /v2.1/{tenant_id}/images/{image_id}/metadata/{key}
Shows details for a metadata item, by key, for an image.
@ -246,7 +246,7 @@ Response
Create Or Update Image Metadata Item
====================================
.. rest_method:: PUT //v2.1/{tenant_id}/images/{image_id}/metadata/{key}
.. rest_method:: PUT /v2.1/{tenant_id}/images/{image_id}/metadata/{key}
Creates or updates a metadata item, by key, for an image.
@ -280,7 +280,7 @@ Response
Delete Image Metadata Item
==========================
.. rest_method:: DELETE //v2.1/{tenant_id}/images/{image_id}/metadata/{key}
.. rest_method:: DELETE /v2.1/{tenant_id}/images/{image_id}/metadata/{key}
Deletes a metadata item, by key, for an image.

View File

@ -45,7 +45,7 @@ Request
**Example Shelve server: JSON request**
.. literalinclude:: ../../doc/api_samples//os-shelve/os-shelve.json
.. literalinclude:: ../../doc/api_samples/os-shelve/os-shelve.json
:language: javascript
Response
@ -143,7 +143,7 @@ Request
**Example Unshelve server: JSON request**
.. literalinclude:: ../../doc/api_samples//os-shelve/os-unshelve.json
.. literalinclude:: ../../doc/api_samples/os-shelve/os-unshelve.json
:language: javascript
Response