summaryrefslogtreecommitdiffstats
path: root/products/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/service-model/service-model-checkin-schema-1.1.yaml
blob: 048e8c41fb866ad5d7c976bb67681e672621c748 (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
27
28
29
30
open_cli_schema_version: 1.0
name: service-model-checkin
description: Checkin Service model in SDC

info:
  product: onap-amsterdam
  service: sdc
  author: ONAP CLI Team onap-discuss@lists.onap.org

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

http:
  service:
    name: sdc
    version: v1.0
    auth: basic
    mode: direct
  request:
    uri: /sdc2/rest/v1/catalog/services/${service-model-id}/lifecycleState/checkin
    method: POST
    body: '{"userRemarks": "Checked in via CLI"}'
  success_codes:
    - 200