From 98b8a8af72ef1cf84fd1b7f71108ac612d799141 Mon Sep 17 00:00:00 2001 From: Ha Van Tu Date: Tue, 30 Aug 2016 12:56:18 +0700 Subject: [PATCH] Validate parameters type This patch updates the parater from "xsd:string" to "string" to make it unify with new API documentation. Change-Id: Iaf336eb93599444fddf1d1a6b364d046a591b4c9 --- api-quick-start/source/api-quick-start.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/api-quick-start/source/api-quick-start.rst b/api-quick-start/source/api-quick-start.rst index c256e1a0b..3ca91fb4b 100644 --- a/api-quick-start/source/api-quick-start.rst +++ b/api-quick-start/source/api-quick-start.rst @@ -49,20 +49,20 @@ The payload of credentials to authenticate contains these parameters: +-----------------------+----------------+--------------------------------------+ | Parameter | Type | Description | +=======================+================+======================================+ -| username (required) | xsd:string | The user name. If you do not provide | +| username (required) | string | The user name. If you do not provide | | | | a user name and password, you must | | | | provide a token. | +-----------------------+----------------+--------------------------------------+ -| password (required) | xsd:string | The password for the user. | +| password (required) | string | The password for the user. | +-----------------------+----------------+--------------------------------------+ -| *tenantName* | xsd:string | The tenant name. Both the | +| *tenantName* | string | The tenant name. Both the | | (Optional) | | *tenantId* and *tenantName* | | | | are optional and mutually exclusive. | | | | If you specify both attributes, the | | | | server returns the Bad Request (400) | | | | response code. | +-----------------------+----------------+--------------------------------------+ -| *tenantId* | xsd:string | The tenant ID. Both the *tenantId* | +| *tenantId* | string | The tenant ID. Both the *tenantId* | | (Optional) | | and *tenantName* are optional and | | | | mutually exclusive. If you specify | | | | both attributes, the server returns | @@ -72,7 +72,7 @@ The payload of credentials to authenticate contains these parameters: | | | the tenant name or ID. The response | | | | returns the tenant name or ID. | +-----------------------+----------------+--------------------------------------+ -| token (Optional) | xsd:string | A token. If you do not provide a | +| token (Optional) | string | A token. If you do not provide a | | | | token, you must provide a user name | | | | and password. | +-----------------------+----------------+--------------------------------------+