aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sdc/src/main/resources/onap-cli-schema/service-model/service-model-certify-request-schema-1.1.yaml
blob: 2c437e518ec3c74f46fa93e8dedc9be6e7c373c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
open_cli_schema_version: 1.0
name: service-model-certify-request
description: Request the certification of Service model in SDC
version: onap-1.1
service:
  name: sdc
  version: v1.0
  auth: basic
  mode: direct

parameters:
  - name: service-model-id
    description: Service model ID
    type: string
    long_option: service-model-id
    short_option: b
    is_optional: true

http:
  request:
    uri: /sdc2/rest/v1/catalog/services/${service-model-id}/lifecycleState/certificationRequest
    method: POST
    body: '{"userRemarks": "Requesting certification via CLI"}'
  success_codes:
    - 200