From caa3a91b6804e548a116c02b14c6ac6377ed10db Mon Sep 17 00:00:00 2001 From: Dave Chen Date: Fri, 15 Jul 2016 18:38:14 +0800 Subject: [PATCH] Remove `name` property from `endpoint` create/update API `endpoint` doesn't need `name` property by default, remove them from the doc, this change make it align with V3 API SPEC. Change-Id: I61429b39086d15aed7d2315d7c3971727a9fa419 --- api-ref/source/v3/samples/admin/endpoint-create-request.json | 1 - api-ref/source/v3/samples/admin/endpoint-update-response.json | 1 - api-ref/source/v3/service-catalog.inc | 4 ---- 3 files changed, 6 deletions(-) diff --git a/api-ref/source/v3/samples/admin/endpoint-create-request.json b/api-ref/source/v3/samples/admin/endpoint-create-request.json index e6004df14e..5fbd3ec051 100644 --- a/api-ref/source/v3/samples/admin/endpoint-create-request.json +++ b/api-ref/source/v3/samples/admin/endpoint-create-request.json @@ -1,7 +1,6 @@ { "endpoint": { "interface": "public", - "name": "ec2-2", "region_id": "RegionOne", "url": "http://example.com/identity/v3/endpoints/828384", "service_id": "9242e05f0c23467bbd1cf1f7a6e5e596" diff --git a/api-ref/source/v3/samples/admin/endpoint-update-response.json b/api-ref/source/v3/samples/admin/endpoint-update-response.json index 232b452ad7..09b062f0b4 100644 --- a/api-ref/source/v3/samples/admin/endpoint-update-response.json +++ b/api-ref/source/v3/samples/admin/endpoint-update-response.json @@ -5,7 +5,6 @@ "links": { "self": "http://example.com/identity/v3/endpoints/828384" }, - "name": "the internal volume endpoint", "region_id": "north", "service_id": "686766", "url": "http://example.com/identity/v3/endpoints/828384" diff --git a/api-ref/source/v3/service-catalog.inc b/api-ref/source/v3/service-catalog.inc index 4549e850ab..15d6bd02c3 100644 --- a/api-ref/source/v3/service-catalog.inc +++ b/api-ref/source/v3/service-catalog.inc @@ -150,7 +150,6 @@ Request .. rest_parameters:: parameters.yaml - endpoint: endpoint - - name: name - url: url - region: region - interface: interface @@ -169,7 +168,6 @@ Response Parameters .. rest_parameters:: parameters.yaml - endpoint: endpoint - - name: name - links: links - url: url - region: region @@ -257,7 +255,6 @@ Request .. rest_parameters:: parameters.yaml - endpoint: endpoint - - name: name - url: url - enabled: enabled - interface: interface @@ -276,7 +273,6 @@ Response Parameters .. rest_parameters:: parameters.yaml - endpoint: endpoint - - name: name - links: links - url: url - region: region