Skip to content

SRV-754 Add Network Device Creation Endpoint Documentation#26

Closed
bgelatti wants to merge 9 commits intomainfrom
SRV-754_Network_Token_Creation_Device
Closed

SRV-754 Add Network Device Creation Endpoint Documentation#26
bgelatti wants to merge 9 commits intomainfrom
SRV-754_Network_Token_Creation_Device

Conversation

@bgelatti
Copy link
Copy Markdown
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
Copy Markdown
Member

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

bgelatti added 2 commits April 6, 2026 13:35
Clean up whitespace and formatting in the create device and create
network token endpoints.
@FabianoEger FabianoEger closed this Apr 7, 2026
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