User Tools

Site Tools


version_4:get_env_types

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 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

data={
}
or do not transfer data at all.

Response

{
   "APIVersion":3,
   "result":1,
   "types":[
      "APPSTART",
      "INTENT",
      "LEARNINGACTIVITY",
      "NETWORK",
      "PICTURE",
      "POSITION",
      "SCREEN"
   ]
}

In case of an error, a different response is sent. Please take a look at Error Responses.

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