Merge "add 'tags' in request body of projects"

This commit is contained in:
Zuul 2018-02-01 10:02:49 +00:00 committed by Gerrit Code Review
commit bedd507134
2 changed files with 11 additions and 2 deletions

View File

@ -1345,6 +1345,13 @@ project_parent_id_response_body:
required: true
type: string
min_version: 3.4
project_tags_request_body:
description: |
A list of simple strings assigned to a project.
Tags can be used to classify projects into groups.
in: body
required: false
type: array
projects:
description: |
A list of ``project`` objects, each containing:

View File

@ -119,12 +119,13 @@ Parameters
.. rest_parameters:: parameters.yaml
- project: project
- name: project_name_request_body
- is_domain: is_domain_request_body
- description: project_description_request_body
- domain_id: project_domain_id_request_body
- enabled: project_enabled_request_body
- name: project_name_request_body
- parent_id: project_parent_id_request_body
- tags: project_tags_request_body
Examples
~~~~~~~~
@ -264,11 +265,12 @@ Parameters
- project_id: project_id_path
- project: project
- name: project_name_update_request_body
- is_domain: is_domain_request_body
- description: project_description_request_body
- domain_id: project_domain_id_update_request_body
- enabled: project_enabled_update_request_body
- name: project_name_update_request_body
- tags: project_tags_request_body
Example
~~~~~~~