User Tools

Site Tools

A PCRE internal error occured. This might be caused by a faulty plugin


====== Requesting event types ====== An event type can be seen as a kind of topic for context information. Examples are POSITION or APPSTART. Select one of the given types (or ask the author to add a new one) that describe the event that should be stored best. If types are used while requesting context models, only the existing ones shall be used. ===== Authentication required ===== Yes, please take a look at [[version_3:authentication|Authentication]]. To keep it simple, only the //data// parameter is mentioned on this page, but keep in mind that the other parameters are also necessary. ===== Response ===== JSON ===== Method ===== GET ===== Resource URL ===== ===== Parameters ===== The JSON object //data// is not necessary here since there is no need to transfer any parameters. ===== Example ===== ==== Request ==== <code js-script> data={ } </code> or do not transfer //data// at all. ==== Response ==== <code js-script> { "APIVersion":3, "result":1, "types":[ "APPSTART", "INTENT", "LEARNINGACTIVITY", "NETWORK", "PICTURE", "POSITION", "SCREEN" ] } </code> In case of an error, a different response is sent. Please take a look at [[version_3:errors|Error Responses]].

version_4/get_env_types.txt · Last modified: 01.05.2016 21:57 (external edit)