Commit 21067159 authored by Walter Featherstone's avatar Walter Featherstone

Added HTTP location header field to 201 post responses

Signed-off-by: 's avatarWalter Featherstone <wol190@gmail.com>
parent 7770b926
...@@ -321,6 +321,11 @@ paths: ...@@ -321,6 +321,11 @@ paths:
responses: responses:
'201': '201':
description: Entity body in the request contains a subscription to the mobile edge service availability notifications that is to be created. description: Entity body in the request contains a subscription to the mobile edge service availability notifications that is to be created.
headers:
location:
description: The resource URI of the created resource
type: string
format: uri
schema: schema:
type: object type: object
properties: properties:
...@@ -684,6 +689,11 @@ paths: ...@@ -684,6 +689,11 @@ paths:
responses: responses:
'201': '201':
description: 'Upon success, the HTTP response shall include a Location HTTP header that contains the resource URI of the created resource.' description: 'Upon success, the HTTP response shall include a Location HTTP header that contains the resource URI of the created resource.'
headers:
location:
description: The resource URI of the created resource
type: string
format: uri
schema: schema:
type: object type: object
properties: properties:
......
...@@ -10,6 +10,11 @@ parameters: ...@@ -10,6 +10,11 @@ parameters:
responses: responses:
201: 201:
description: Entity body in the request contains a subscription to the mobile edge service availability notifications that is to be created. description: Entity body in the request contains a subscription to the mobile edge service availability notifications that is to be created.
headers:
location:
description: The resource URI of the created resource
type: string
format: uri
schema: schema:
type: object type: object
properties: properties:
......
...@@ -8,6 +8,11 @@ parameters: ...@@ -8,6 +8,11 @@ parameters:
responses: responses:
201: 201:
description: Upon success, the HTTP response shall include a Location HTTP header that contains the resource URI of the created resource. description: Upon success, the HTTP response shall include a Location HTTP header that contains the resource URI of the created resource.
headers:
location:
description: The resource URI of the created resource
type: string
format: uri
schema: schema:
type: object type: object
properties: properties:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment