You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When querying the OMA LwM2M Registry API to retrieve the definition of an object, the response retrieve is the documentation xml page instead of the expected JSON file containing metadata information the Object. This issue occurs across the majority of API calls, even though the documentation specifies JSON as the expected response format
Observe that the response returns an XML path rather than JSON.
Expected Behavior:
The API should return the object's metadata in JSON format, as outlined in the OMA documentation.
Actual Behavior:
The API responds with an XML documentation page.
Concept
Description
Number of Object(s) or Reusable Resource(s) to register
3
Name of SDO, Company or individual
IoTerop
Object Name (as defined in the .xml file)
Device
Short Object description, to be used in the public registry (max 134 characteres)
This LwM2M Object provides a range of device related information which can be queried by the LwM2M Server, and a device reboot and factory reset function
The text was updated successfully, but these errors were encountered:
Registration Information
When querying the OMA LwM2M Registry API to retrieve the definition of an object, the response retrieve is the documentation xml page instead of the expected JSON file containing metadata information the Object. This issue occurs across the majority of API calls, even though the documentation specifies JSON as the expected response format
Step to reproduce
Use the API endpoint (e.g., http://www.openmobilealliance.org/api/lwm2m/v1/Object?ObjectID=3) to retrieve an object's definition.
Observe that the response returns an XML path rather than JSON.
Expected Behavior:
The API should return the object's metadata in JSON format, as outlined in the OMA documentation.
Actual Behavior:
The API responds with an XML documentation page.
Object(s)
orReusable Resource(s)
to registerThe text was updated successfully, but these errors were encountered: