-
Notifications
You must be signed in to change notification settings - Fork 160
/
deviceSnapshot-scopeId-deviceId-snapshotId.yaml
43 lines (41 loc) · 1.59 KB
/
deviceSnapshot-scopeId-deviceId-snapshotId.yaml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
openapi: 3.0.3
info:
title: Eclipse Kapua REST API - Device Management - Snapshot
version: '1.0'
contact:
name: Eclipse Kapua Dev Team
url: https://eclipse.org/kapua
email: kapua-dev@eclipse.org
license:
name: Eclipse Public License 2.0
url: https://www.eclipse.org/legal/epl-2.0
paths:
/{scopeId}/devices/{deviceId}/snapshots/{snapshotId}:
get:
tags:
- Device Management - Snapshot
summary: Get a single Snapshot
operationId: deviceSnapshotGet
parameters:
- $ref: '../openapi.yaml#/components/parameters/scopeId'
- $ref: '../device/device.yaml#/components/parameters/deviceId'
- $ref: './deviceSnapshot.yaml#/components/parameters/snapshotId'
- $ref: '../device/device.yaml#/components/parameters/timeout'
responses:
200:
description: The list of the Configurations related to the given Snapshot on a single Device
content:
application/json:
schema:
$ref: '../deviceConfiguration/deviceConfiguration.yaml#/components/schemas/componentConfigurations'
application/xml:
schema:
$ref: '../deviceConfiguration/deviceConfiguration.yaml#/components/schemas/componentConfigurations'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
$ref: '../openapi.yaml#/components/responses/subjectUnauthorized'
404:
$ref: '../openapi.yaml#/components/responses/entityNotFound'
500:
$ref: '../openapi.yaml#/components/responses/kapuaError'