Nx Meta Server 6.1: Object Metadata Push Integration Issue with REST API

In Progress

Comments

1 comment

  • Avatar
    Nikita

    Hello,

    First of all, thank you for trying out our new features and providing valuable feedback! We truly appreciate your engagement.

    Let me address your questions one by one:

    1. Is there a required server-side integration setup for metadata processing?
      From the server side, all that's needed is to allow integration registration requests in the integration settings, which is enabled by default. If you’ve already registered and approved the integration, the server setup and configuration should be complete.

    2. Should the deviceAgent be explicitly activated before pushing metadata?
      Yes, before pushing metadata, the device agent must be created. This happens automatically when you enable the integration in the Device → Integrations tab.

    3. Are there any specific engine or device agent configurations needed for metadata integration?
      API integrations function similarly to plugins from the user’s perspective, so no additional configurations are required.

    Additionally, I noticed that you are using only REST endpoints for your integration. Please ensure that the {"isRestOnly": true} flag is included in the integration manifest.

    Currently, we support two types of integrations: REST-only and WebSocket-based. If this flag is not provided, the integration will default to WebSocket-based. In this case, the server will expect specific data to be sent via WebSocket (e.g., a device agent manifest will be requested when enabling the integration in the device settings). Without this data, the device agent won’t be created, and the integration will not function.

    If the isRestOnly flag is set to true, the device agent manifest must be provided along with the integration request, and no requests will be sent to the integration via WebSocket.

    Also, in current version, after approving the integration request, you need to restart the server.

    I hope this clarifies things! We understand that this beta functionality is not yet fully documented, but we are working on creating detailed help topics and open-source examples to support this feature.

    If you encounter any further issues or have additional questions, please don’t hesitate to reach out here.

     

    0
    Comment actions Permalink

Please sign in to leave a comment.