Skip to content

Conversation

@bgelatti
Copy link
Collaborator

Problem

The API documentation was missing the /integration/network/device endpoint, which allows creating devices directly through the Network integration without authentication headers required for standard device creation.

Investigation

The endpoint supports two device types:

  • Immutable devices: Require chunking parameters (chunk_period and chunk_retention) for optimized long-term, append-only storage
  • Mutable devices: Behave like classic devices without chunking requirements

The endpoint was implemented but lacked comprehensive documentation and proper security configuration in the OpenAPI specification.

Solution

  • Added complete OpenAPI specification for the endpoint in tagoio-api.yaml
  • Created detailed documentation page with request/response schemas and examples
  • Added endpoint to API sidebar navigation
  • Configured Network-Token authentication requirement for proper security documentation

Added comprehensive documentation for the new network device creation endpoint supporting both immutable and mutable device types with detailed parameter specifications and examples.
Added missing security configuration specifying Network-Token authentication for the Create Device using Network endpoint.
Enhanced documentation with structured bullet points for device types and added warning about required Network-Token privileges.
@bgelatti bgelatti changed the title Add Network Device Creation Endpoint Documentation SRV-754 Add Network Device Creation Endpoint Documentation Oct 24, 2025
Added documentation for the network token creation endpoint including request schema with privilege configuration and response examples.
Fixed OpenAPI specification by moving response schema from request body to proper responses section with detailed property definitions.
…oint

Updated field name from singular privilege to plural previlegies for consistency across request and response schemas.
Enhanced request body schema by defining createDevice property with explicit type and example instead of using inline example object.
@vitorfdl
Copy link
Member

This documentation requires the release of the feature in the API and NextADmin to be approved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants