Skip to content

Commit

Permalink
apis: correct error in examples for Location headers
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbonney committed Mar 8, 2017
1 parent fcf2038 commit 1e3287d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions APIs/RegistrationAPI.raml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ documentation:
schema: !include schemas/registrationapi-resource-response.json
headers:
Location:
example: /x-nmos/v1.0/registration/resource/nodes/3b8be755-08ff-452b-b217-c9151eb21193/
example: /x-nmos/registration/v1.0/resource/nodes/3b8be755-08ff-452b-b217-c9151eb21193/
description: The expected response for an update operation on an existing registered resource
201:
body:
example: !include ../examples/registrationapi-v1.0-resource-post-200.json
schema: !include schemas/registrationapi-resource-response.json
headers:
Location:
example: /x-nmos/v1.0/registration/resource/nodes/3b8be755-08ff-452b-b217-c9151eb21193/
example: /x-nmos/registration/v1.0/resource/nodes/3b8be755-08ff-452b-b217-c9151eb21193/
description: The expected response for a create operation performed for a previously unregistered resource
400:
description: Returned when the POST request is incorrectly formatted or missing mandatory attributes
Expand Down

0 comments on commit 1e3287d

Please sign in to comment.