Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
NFV - Network Functions Virtualisation
SOL009
Commits
57fd3c5a
Commit
57fd3c5a
authored
Nov 30, 2020
by
Sana Zulfiqar
Browse files
SOL009_44: In POST, new response body added
parent
ce473aa0
Pipeline
#5230
running with stage
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/SOL009/NFVManoFaultManagement/NFVManoFaultManagement.yaml
View file @
57fd3c5a
...
...
@@ -606,6 +606,76 @@ components:
application/json
:
schema
:
$ref
:
"
#/components/schemas/FmSubscription"
subscriptions.post.303
:
description
:
>
303 SEE OTHER
SShall be returned when a subscription with the same
callbackURI and the same filter already exists and the
policy of NFV-MANO functional entity is to not create
redundant subscriptions.
The HTTP response shall include a "Location" HTTP header
that contains the resource URI of the existing "Individual
subscription" resource.
The response body shall be empty.
headers
:
WWW-Authenticate
:
description
:
>
Challenge if the corresponding HTTP request has not provided
authorization, or error details if the corresponding HTTP
request has provided an invalid authorization token.
schema
:
type
:
string
Version
:
description
:
>
Version of the API used in the response.
schema
:
type
:
string
Location
:
description
:
>
The resource URI of the created "Individual subscription" resource.
schema
:
type
:
string
format
:
url
minimum
:
1
maximum
:
1
subscriptions.post.422
:
description
:
>
422 Unprocessable Entity
Shall be returned upon the following error: The content type
of the payload body is supported and the payload body of a request
contains syntactically correct data but the data cannot be processed.
The general cause for this error and its handling is specified in
clause 6.4 of ETSI GS NFV-SOL 013, including rules for the presence
of the response body.
Specifically in case of this resource, the response code 422 shall also
be returned if the API producer has tested the Notification endpoint as
described in clause 7.5.7.3.2 and the test has failed.
In this case, the "detail" attribute in the "ProblemDetails" structure
shall convey more information about the error.
headers
:
WWW-Authenticate
:
description
:
>
Challenge if the corresponding HTTP request has not provided
authorization, or error details if the corresponding HTTP
request has provided an invalid authorization token.
schema
:
type
:
string
Version
:
description
:
>
Version of the API used in the response.
schema
:
type
:
string
content
:
application/json
:
schema
:
$ref
:
"
../components/SOL009_schemas.yaml#/components/schemas/ProblemDetails"
subscriptions.get.200
:
description
:
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment