webssphh_restful_service
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
webssphh_restful_service [2016/07/16 14:07] – created 100.3.200.49 | webssphh_restful_service [2023/09/22 16:50] (current) – [WebSSPHH RESTful Service] microwerx | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== WebSSPHH RESTful Service ====== | ====== WebSSPHH RESTful Service ====== | ||
+ | [[start]] | ||
===== WebSSPHHService ===== | ===== WebSSPHHService ===== | ||
- | '' | + | '' |
+ | |||
+ | | parameter | data type | values | definition | | ||
+ | | a | string| s\\ u\\ i\\ d | SELECT RECORD (works with GET or POST)\\ UPDATE RECORD (works with POST only) \\ INSERT RECORD (works with POST only) \\ DELETE RECORD (works with GET or POST | | ||
+ | | token | string | [\w\d]+ | A security token allowing authorized users only | | ||
+ | | projects | none | none | Returns a JSON array of projects | | ||
+ | | scenes | none | none | Returns a JSON array of scenes in the current project. This requires the '' | ||
+ | | objects | none | none | Returns a JSON array of objects in the current project. This requires the '' | ||
+ | | sobjects | none | none | Returns a JSON array of objects in the current scene. This requires the '' | ||
+ | | project| number | 1 - 1048576 | Returns a JSON object with the project properties | | ||
+ | | scene | number | 1 - 1048576 | Returns a JSON object with the scene properties. This requires the '' | ||
+ | | object | number | 1 - 1048576 | Returns a JSON object with the object properties. This requires the '' | ||
+ | |||
+ | ===== Schemas ===== | ||
+ | |||
+ | ==== Projects ==== | ||
+ | |||
+ | <code javascript> | ||
+ | " | ||
+ | { " | ||
+ | { "id" : number, " | ||
+ | ... | ||
+ | ] | ||
+ | </ | ||
+ | |||
+ | ==== Scenes ==== | ||
+ | |||
+ | <code javascript> | ||
+ | " | ||
+ | { " | ||
+ | { " | ||
+ | ... | ||
+ | ] | ||
+ | </ | ||
+ | |||
+ | ==== Objects ==== | ||
+ | <code javascript> | ||
+ | " | ||
+ | { " | ||
+ | { " | ||
+ | ... | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | ==== Project ==== | ||
+ | |||
+ | <code javascript> | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | ... | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | ==== Scene ==== | ||
+ | |||
+ | <code javascript> | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | ... | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== Object ==== | ||
+ | |||
+ | The types of objects are | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | <code javascript> | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | ... | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | ===== Common Types of Properties ===== | ||
+ | |||
+ | ==== Special Types ==== | ||
+ | |||
+ | ^Typename | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | |||
+ | ==== Normal Types ==== | ||
+ | |||
+ | === Object === | ||
+ | |||
+ | ^Typename ^JSON/Type | | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
- | Parameters: | + | === Point Light === |
- | '' | + | ^Typename ^JSON/Type | |
- | * '' | + | | '' |
- | | + | | '' |
- | | + | | '' |
- | | + | | '' |
webssphh_restful_service.1468696068.txt.gz · Last modified: 2016/07/16 14:07 by 100.3.200.49