This page provides all the necessary information to interact with the OMNA API's
...
OMA Registry, also called OMNA (OMA Naming Authority).
Base URL for this Registry API
http://www.openmobilealliance.org/api/lwm2m/
OMNA LwM2M API Functions, V1
OMA LwM2M Registry API Functions, V1
This table list what functions are available on the OMA LwM2M Registry API version 1.
This API provide access to the content on the LwM2M Registry.
Basic Function | URL | Description |
---|
e.g. | Objects Discovery | lwm2m/v1/Object | Retrieve a JSON file containing all the metadata information |
http://www.openmobilealliance.org/api//Objecthttp://www.openmobilealliance.org/api/lwm2m/v1/Object?ObjectVersion=latest | http://www.openmobilealliance.org/api//Object?ObjectID=12http://www.openmobilealliance.org/api/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=latestNote: In case of ObjectVersion is included with different value than ”latest” then ObjectID must be included.
Error Codes
HTTP Code | Error Description |
---|
400 | ObjectID must be included when ObjectVersion is set to "latest". |
404 | Specified ObjectID and/or ObjectVersion is not in the Registry. |
Metadata Information
This is the metadata information that will be available via this API. This information is not the content of the Object but the metadata information that defines or classifies the Object itself in our system.
<ObjectID<Description> | Description of the Object |
ID<URN> | Object URN. |
<Name> | Object Name. |
<Label> | Who has defined the Object: - 0 = defined by OMA
- 1 = defined by external Standards Development Organization
- 2 = private or individual registration
|
<Description<Name> | Object Name. |
<ObjectID> |
Description of the Object ID. |
<ObjectLink> | URL to the xml file describing the Object. |
<ObjectLinkVisible> | - 0 => if the link to the Object should not be visible,
- 1 => if link to the Object should be visible,
|
<Owner> | Name of the organization that has registered the Object |
<SpecLink> | URL to the Technical Specifications (TS) |
<SpecLinkVisible> | - 0 => if the link to the TS should not be visible,
- 1 => if the link to the TS should be visible
|
<URN> | Object unique URN |
<Owner> | Name of the organization that has registered the Object |
<Ver> | Version of the Object |
<VortoLink> | |
...
<VortoLink> | URL to this object in Vorto |