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:
parent
44902c501c
commit
07624e533c
@ -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
|
||||||
-------------------
|
-------------------
|
||||||
|
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"key1": "value1"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user