...
This API provide access to the content on the LwM2M Registry.
Basic Function | URL | Description |
---|---|---|
Objects Discovery | lwm2m/v1/Object | Retrieve a JSON file containing all the metadata information on all the Object Versions. |
lwm2m/v1/Object?ObjectVersion=latest | Retrieve a JSON file containing all the metadata information with the latest version of the Objects | |
Get an Object | lwm2m/v1/Object?ObjectID=12 | Retrieve a JSON file containing metadata information on Object 12 |
lwm2m/v1/Object?ObjectID=12&ObjectVersion=latest | Retrieve a JSON file containing metadata information with the latest version of Object 12. | |
lwm2m/v1/Object?ObjectID=12&ObjectVersion=1.0 | Retrieve a JSON file containing metadata information on Object Version 1.0 of Object 12. |
Note: 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.
Element | Description |
---|---|
<Description> | Description of the Object. |
<Label> | Who has defined the Object:
|
<Name> | Object Name. |
<ObjectID> | Object ID. |
<ObjectLink> | URL to the xml file describing the Object. |
<ObjectLinkVisible> |
|
<SpecLink> | URL to the Technical Specifications (TS) |
<SpecLinkVisible> |
|
<URN> | Object unique URN |
<Owner> | Name of the organization that has registered the Object |
<Ver> | Version of the Object |
<VortoLink> | URL to this object in Vorto |