forked from openconnectivityfoundation/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
oic.wk.p.raml
executable file
·42 lines (37 loc) · 1.02 KB
/
oic.wk.p.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
40
41
42
#%RAML 0.8
title: Platform
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:
- Platform: !include schemas/oic.wk.p-schema.json
traits:
- interface:
queryParameters:
if:
enum: ["oic.if.r", "oic.if.baseline"]
/oic/p:
displayName: Platform
is: [ interface ]
description: |
Known resource that is defines the platform on which a Server is hosted.
Allows for platform specific information to be discovered.
get:
description: |
Retrieve the information about the Platform
responses:
200:
body:
application/json:
schema: Platform
example: |
{
"pi": "54919CA5-4101-4AE4-595B-353C51AA983C",
"rt": ["oic.wk.p"],
"mnmn": "Acme, Inc"
}