Merge branch 'master' into simulator
[platform/upstream/iotivity.git] / service / simulator / examples / resources / light.raml
1 #%RAML 0.8
2 #RAML for Light Resource
3 title: Resource Light
4 version: 1.0
5 mediaType : application/json
6 schemas:
7
8   lightPublish: !include oic.light.json
9
10 /oic/light:
11   displayName: Resource Light
12   description: |
13     Resource to be exposed by any OIC Device that can act as Light
14   get:
15     description: |
16       Get the attributes of light
17     responses:
18       200:
19         description: |
20           Respond with the selector criteria
21         body:
22           application/json:
23             schema: !include oic.light.json
24             example: |
25               {
26               
27               }