forked from openconnectivityfoundation/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
oic.wk.rts.raml
executable file
·39 lines (34 loc) · 911 Bytes
/
oic.wk.rts.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: Resource Types
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:
- RTS: !include schemas/oic.wk.rts-schema.json
traits:
- interface:
queryParameters:
if:
enum: ["oic.if.r", "oic.if.baseline"]
/oic/rts:
displayName: Resource Types
is: [ interface ]
description: |
List of resource types that are supported by this Server
get:
description: Retrieve the resource type list
responses:
200:
body:
application/json:
schema: RTS
example: |
{
"rt": ["oic.wk.rts"],
"tl": ["oic.r.example", "oic.r.other-example"]
}