-
Notifications
You must be signed in to change notification settings - Fork 160
/
deviceNotification-scopeId-deviceId-operationId-notificationId.yaml
61 lines (59 loc) · 2.39 KB
/
deviceNotification-scopeId-deviceId-operationId-notificationId.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
openapi: 3.0.3
info:
title: Eclipse Kapua REST API - Device Management - Notifications
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}/operations/{operationId}/notifications/{notificationId}:
get:
tags:
- Device Management - Notification
summary: Get a single Device Registry Notification
operationId: deviceRegistryNotificationGet
parameters:
- $ref: '../openapi.yaml#/components/parameters/scopeId'
- $ref: '../device/device.yaml#/components/parameters/deviceId'
- $ref: '../deviceOperation/deviceOperation.yaml#/components/parameters/operationId'
- $ref: './deviceNotification.yaml#/components/parameters/notificationId'
responses:
200:
description: The details of the desired Registry Notification
content:
application/json:
schema:
$ref: './deviceNotification.yaml#/components/schemas/deviceNotification'
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'
delete:
tags:
- Device Management - Notification
summary: Delete a single Registry Notification
operationId: deviceRegistryNotificationDelete
parameters:
- $ref: '../openapi.yaml#/components/parameters/scopeId'
- $ref: '../device/device.yaml#/components/parameters/deviceId'
- $ref: '../deviceOperation/deviceOperation.yaml#/components/parameters/operationId'
- $ref: './deviceNotification.yaml#/components/parameters/notificationId'
responses:
204:
description: The Registry Notification has been deleted
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'