This page provides all the necessary information to interact with the OMNA LwM2M API
URL
URL | |
---|---|
http://www.openmobilealliance.org/api/lwm2m/v1 + <Query Structure> | |
http://www.openmobilealliance.org/api/ | API home page that provides status on any incorrect file. |
OMNA LwM2M API Functions
Basic Function | Query Structure | Description | e.g. |
---|---|---|---|
Objects Discovery | /Object | Retrieve a JSON file containing all the metadata information | http://www.openmobilealliance.org/api/lwm2m/v1/Object |
/Object?ObjectVersion=latest | Retrieve a JSON file containing all the metadata information with the latest version of the Objects | http://www.openmobilealliance.org/api/lwm2m/v1/Object?ObjectVersion=latest | |
Get an Object | /Object?ObjectID=12 | Retrieve a JSON file containing metadata information on Object 12 | http://www.openmobilealliance.org/api/lwm2m/v1/Object?ObjectID=12 |
/Object?ObjectID=12&ObjectVersion=latest | Retrieve a JSON file containing metadata information with the latest version of Object 12. | http://www.openmobilealliance.org/api/lwm2m/v1/Object?ObjectID=12&ObjectVersion=latest | |
/Object?ObjectID=12&ObjectVersion=1.0 | Retrieve a JSON file containing metadata information on Object Version 1.0 of Object 12. | http://www.openmobilealliance.org/api/lwm2m/v1/Object?ObjectID=12&ObjectVersion=1.0 | |
/Object?ObjectVersion=latest | Retrieve a JSON file containing all the metadata information on all the latest Object Versions. | http://www.openmobilealliance.org/api/lwm2m/v1/Object?ObjectVersion=latest |
Available Metadata
Element | Description |
---|---|
<ObjectID> | Object ID. |
<URN> | Object URN. |
<Name> | Object Name. |
<Label> | Who has defined the Object:
|
<Description> | Description of the Object. |
<ObjectLink> | URL to the xml file describing the Object. |
<ObjectLinkVisible> |
|
<Owner> | Name of the organization that has registered the Object |
<SpecLink> | URL to the Technical Specifications (TS) |
<SpecLinkVisible> |
|
<Ver> | Version of the Object |