diff --git a/src/SOL005/NSFaultManagement/NSFaultManagement.yaml b/src/SOL005/NSFaultManagement/NSFaultManagement.yaml index 188cb786900474aa7cbd8c183585961502bfb497..e3d901abaad98ba23ac9c0294b1b99a9a3d80ebd 100644 --- a/src/SOL005/NSFaultManagement/NSFaultManagement.yaml +++ b/src/SOL005/NSFaultManagement/NSFaultManagement.yaml @@ -27,6 +27,57 @@ produces: - "application/json" paths: ############################################################################### + # API Versions # + ############################################################################### + '/api-versions': + get: + summary: Retrieve API version information + description: > + The GET method reads API version information. This method shall follow the provisions specified in + table 4.6.3.3.3.2-1 for request and response data structures, and response codes. URI query parameters are not + supported. + parameters: + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: false + type: string + responses: + 200: + description: > + 200 OK + + API version information was read successfully. + The response body shall contain API version information, as defined in clause 4.4.1.7. + schema: + $ref: '../definitions/SOL005_def.yaml#/definitions/ApiVersionInformation' + headers: + Content-Type: + description: The MIME type of the body of the response. + type: string + maximum: 1 + minimum: 1 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 + 400: { $ref: '../responses/SOL005_resp.yaml#/responses/400' } + 401: { $ref: '../responses/SOL005_resp.yaml#/responses/401' } + 403: { $ref: '../responses/SOL005_resp.yaml#/responses/403' } + 404: { $ref: '../responses/SOL005_resp.yaml#/responses/404' } + 405: { $ref: '../responses/SOL005_resp.yaml#/responses/405' } + 406: { $ref: '../responses/SOL005_resp.yaml#/responses/406' } + 413: { $ref: '../responses/SOL005_resp.yaml#/responses/413' } + 414: { $ref: '../responses/SOL005_resp.yaml#/responses/414' } + 416: { $ref: '../responses/SOL005_resp.yaml#/responses/416' } + 422: { $ref: '../responses/SOL005_resp.yaml#/responses/422' } + 429: { $ref: '../responses/SOL005_resp.yaml#/responses/429' } + 500: { $ref: '../responses/SOL005_resp.yaml#/responses/500' } + 503: { $ref: '../responses/SOL005_resp.yaml#/responses/503' } + 504: { $ref: '../responses/SOL005_resp.yaml#/responses/504' } + ############################################################################### # Alarms # ############################################################################### '/alarms': diff --git a/src/SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml b/src/SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml index 5ddfb7804a513921779c97634bcefa075fd7d8be..b5147fddf9ad7fa095612761b00f3ca20f21c2ea 100644 --- a/src/SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml +++ b/src/SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml @@ -27,6 +27,57 @@ produces: - "application/json" paths: ############################################################################### + # API Versions # + ############################################################################### + '/api-versions': + get: + summary: Retrieve API version information + description: > + The GET method reads API version information. This method shall follow the provisions specified in + table 4.6.3.3.3.2-1 for request and response data structures, and response codes. URI query parameters are not + supported. + parameters: + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: false + type: string + responses: + 200: + description: > + 200 OK + + API version information was read successfully. + The response body shall contain API version information, as defined in clause 4.4.1.7. + schema: + $ref: '../definitions/SOL005_def.yaml#/definitions/ApiVersionInformation' + headers: + Content-Type: + description: The MIME type of the body of the response. + type: string + maximum: 1 + minimum: 1 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 + 400: { $ref: '../responses/SOL005_resp.yaml#/responses/400' } + 401: { $ref: '../responses/SOL005_resp.yaml#/responses/401' } + 403: { $ref: '../responses/SOL005_resp.yaml#/responses/403' } + 404: { $ref: '../responses/SOL005_resp.yaml#/responses/404' } + 405: { $ref: '../responses/SOL005_resp.yaml#/responses/405' } + 406: { $ref: '../responses/SOL005_resp.yaml#/responses/406' } + 413: { $ref: '../responses/SOL005_resp.yaml#/responses/413' } + 414: { $ref: '../responses/SOL005_resp.yaml#/responses/414' } + 416: { $ref: '../responses/SOL005_resp.yaml#/responses/416' } + 422: { $ref: '../responses/SOL005_resp.yaml#/responses/422' } + 429: { $ref: '../responses/SOL005_resp.yaml#/responses/429' } + 500: { $ref: '../responses/SOL005_resp.yaml#/responses/500' } + 503: { $ref: '../responses/SOL005_resp.yaml#/responses/503' } + 504: { $ref: '../responses/SOL005_resp.yaml#/responses/504' } + ############################################################################### # NSInstances # ############################################################################### '/ns_instances': diff --git a/src/SOL005/VNFPackageManagement/VNFPackageManagement.yaml b/src/SOL005/VNFPackageManagement/VNFPackageManagement.yaml index 452e2d13c290c39903e1c3cbb4a771d7bae9e04f..51b5d36fb936337ac9e149c1fd4f15287011fe37 100644 --- a/src/SOL005/VNFPackageManagement/VNFPackageManagement.yaml +++ b/src/SOL005/VNFPackageManagement/VNFPackageManagement.yaml @@ -27,6 +27,57 @@ produces: - "application/json" paths: ############################################################################### + # API Versions # + ############################################################################### + '/api-versions': + get: + summary: Retrieve API version information + description: > + The GET method reads API version information. This method shall follow the provisions specified in + table 4.6.3.3.3.2-1 for request and response data structures, and response codes. URI query parameters are not + supported. + parameters: + - name: Version + description: > + Version of the API requested to use when responding to this request. + in: header + required: false + type: string + responses: + 200: + description: > + 200 OK + + API version information was read successfully. + The response body shall contain API version information, as defined in clause 4.4.1.7. + schema: + $ref: '../definitions/SOL005_def.yaml#/definitions/ApiVersionInformation' + headers: + Content-Type: + description: The MIME type of the body of the response. + type: string + maximum: 1 + minimum: 1 + Version: + description: The used API version. + type: string + maximum: 1 + minimum: 1 + 400: { $ref: '../responses/SOL005_resp.yaml#/responses/400' } + 401: { $ref: '../responses/SOL005_resp.yaml#/responses/401' } + 403: { $ref: '../responses/SOL005_resp.yaml#/responses/403' } + 404: { $ref: '../responses/SOL005_resp.yaml#/responses/404' } + 405: { $ref: '../responses/SOL005_resp.yaml#/responses/405' } + 406: { $ref: '../responses/SOL005_resp.yaml#/responses/406' } + 413: { $ref: '../responses/SOL005_resp.yaml#/responses/413' } + 414: { $ref: '../responses/SOL005_resp.yaml#/responses/414' } + 416: { $ref: '../responses/SOL005_resp.yaml#/responses/416' } + 422: { $ref: '../responses/SOL005_resp.yaml#/responses/422' } + 429: { $ref: '../responses/SOL005_resp.yaml#/responses/429' } + 500: { $ref: '../responses/SOL005_resp.yaml#/responses/500' } + 503: { $ref: '../responses/SOL005_resp.yaml#/responses/503' } + 504: { $ref: '../responses/SOL005_resp.yaml#/responses/504' } + ############################################################################### # VNF Packages # ############################################################################### '/vnf_packages':