From c163ee39ee31e342f0bc9da6a938cfb6a9e5ef01 Mon Sep 17 00:00:00 2001 From: zlyqqq Date: Fri, 3 Aug 2018 14:23:40 +0800 Subject: [PATCH] Error location of parameters in api-ref:project tags Change-Id: I31ea18a74e5705ac571727b1935aba03019f79a6 --- api-ref/source/v3/parameters.yaml | 14 +++++++------- api-ref/source/v3/project-tags.inc | 12 ++++++------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/api-ref/source/v3/parameters.yaml b/api-ref/source/v3/parameters.yaml index c7eb5d6388..980e987b21 100644 --- a/api-ref/source/v3/parameters.yaml +++ b/api-ref/source/v3/parameters.yaml @@ -84,6 +84,13 @@ project_id_path: in: path required: true type: string +project_tag_path: + description: | + A simple string associated with a project. Can be used for assigning + values to projects and filtering based on those values. + in: path + required: true + type: string region_id_path: description: | The region ID. @@ -324,13 +331,6 @@ project_name_query: in: query required: false type: string -project_tag_path: - description: | - A simple string associated with a project. Can be used for assigning - values to projects and filtering based on those values. - in: query - required: true - type: string protocol_id_query: description: | Filters the response by a protocol ID. diff --git a/api-ref/source/v3/project-tags.inc b/api-ref/source/v3/project-tags.inc index f70300cbcc..d3645b63a9 100644 --- a/api-ref/source/v3/project-tags.inc +++ b/api-ref/source/v3/project-tags.inc @@ -40,7 +40,7 @@ Parameters .. rest_parameters:: parameters.yaml - - project_id: project_id + - project_id: project_id_path Response -------- @@ -93,7 +93,7 @@ Parameters .. rest_parameters:: parameters.yaml - - project_id: project_id + - project_id: project_id_path - tag: project_tag_path Response @@ -131,7 +131,7 @@ Parameters .. rest_parameters:: parameters.yaml - - project_id: project_id + - project_id: project_id_path - tag: project_tag_path Response @@ -170,7 +170,7 @@ Parameters .. rest_parameters:: parameters.yaml - - project_id: project_id + - project_id: project_id_path - tags: response_body_project_tags_required Example @@ -227,7 +227,7 @@ Parameters .. rest_parameters:: parameters.yaml - - project_id: project_id + - project_id: project_id_path - tag: project_tag_path Response @@ -265,7 +265,7 @@ Parameters .. rest_parameters:: parameters.yaml - - project_id: project_id + - project_id: project_id_path Response --------