From ff2bb7429ccb55003522650288aacfadee1d2267 Mon Sep 17 00:00:00 2001 From: Anindita Das Date: Mon, 22 Aug 2016 04:41:53 +0000 Subject: [PATCH] api-ref: Fix api-ref for service-providers Added request parameters for the rest_method:: GET /v2.0/service-providers Change-Id: Ieb73c0634cf74e9d379ed961391053f7a7bb07c7 Partially-Implements: blueprint neutron-in-tree-api-ref Partial-Bug: #1613151 --- api-ref/source/v2/service-providers.inc | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/api-ref/source/v2/service-providers.inc b/api-ref/source/v2/service-providers.inc index b056fc77f..90fb4fa99 100644 --- a/api-ref/source/v2/service-providers.inc +++ b/api-ref/source/v2/service-providers.inc @@ -1,8 +1,4 @@ .. -*- rst -*- -.. needs:method_verification -.. needs:parameter_verification -.. needs:example_verification -.. needs:body_verification ================= Service providers @@ -17,22 +13,32 @@ List service providers Lists service providers and their associated service types. +Use the ``fields`` query parameter to control which fields are +returned in the response body. Additionally, you can filter results +by using query string parameters. For information, see `Filtering +and Column Selection `__. + Normal response codes: 200 -Error response codes: 404,409,401,400 +Error response codes: 401 Request ------- +.. rest_parameters:: parameters.yaml + + - fields: fields + Response Parameters ------------------- .. rest_parameters:: parameters.yaml - - default: default - - service_type: service_type - service_providers: service_providers + - service_type: service_type - name: name + - default: default Response Example ----------------