forked from openconnectivityfoundation/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
oic.wk.ping.raml
executable file
·39 lines (35 loc) · 923 Bytes
/
oic.wk.ping.raml
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
#%RAML 0.8
title: Ping
version: v1-20160622
documentation:
- title: OCF Copyright
content: Copyright (c) 2016 Open Connectivity Foundation, Inc. All rights reserved.
- title: OCF License
content: !include LICENSE.md
- title: OCF Disclaimer
content: !include DISCLAIMER.md
schemas:
- PING: !include schemas/oic.wk.ping-schema.json
traits:
- interface:
queryParameters:
if:
enum: ["oic.if.rw", "oic.if.baseline"]
/oic/ping:
displayName: Ping
is: [ interface ]
description: |
The resource using which an Client keeps its Connection with an Server active.
get:
description: Retrieve the ping information
responses:
200:
body:
application/json:
schema: PING
example: |
{
"rt": ["oic.wk.ping"],
"n": "Ping Information",
"in": 16
}