Fix api-ref for v3 group type specs

This patch aims to make some trivial fix on api-ref for v3 group type
specs.

Change-Id: If59c491446a7bf7b928ca2219092ed9561501cd9
This commit is contained in:
jeremy.zhang 2017-12-06 11:59:48 +08:00
parent 44902c501c
commit 07624e533c
2 changed files with 11 additions and 3 deletions

View File

@ -3,8 +3,8 @@
Group type specs Group type specs
================ ================
Create group specs for a group type Create or update group specs for a group type
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. rest_method:: POST /v3/{project_id}/group_types/{group_type_id}/group_specs .. rest_method:: POST /v3/{project_id}/group_types/{group_type_id}/group_specs
@ -131,7 +131,7 @@ Update one specific group spec for a group type
Update a group spec for a group type, Update a group spec for a group type,
Normal response codes: 202 Normal response codes: 200
Error response codes: itemNotFound(404), forbidden(403) Error response codes: itemNotFound(404), forbidden(403)
@ -146,6 +146,11 @@ Request
- spec_id: spec_id - spec_id: spec_id
- spec: spec_value - spec: spec_value
Request Example
---------------
.. literalinclude:: ./samples/group-type-specs-update-request.json
:language: javascript
Response Parameters Response Parameters
------------------- -------------------

View File

@ -0,0 +1,3 @@
{
"key1": "value1"
}