Skip to content

Add graph capacity API endpoint with tier capacity models#61

Merged
jfrench9 merged 1 commit intomainfrom
feature/graph-capacity
Feb 11, 2026
Merged

Add graph capacity API endpoint with tier capacity models#61
jfrench9 merged 1 commit intomainfrom
feature/graph-capacity

Conversation

@jfrench9
Copy link
Member

Summary

This PR introduces a new API endpoint for retrieving graph capacity information, along with supporting data models for capacity management and tier-based resource allocation.

Key Changes

  • New API Endpoint: Added get_graph_capacity endpoint to retrieve capacity information for graphs
  • Data Models: Implemented GraphCapacityResponse and TierCapacity models to structure capacity data
  • Model Enhancement: Extended GraphInfo model with additional capacity-related fields
  • Module Exports: Updated model initialization to expose new capacity models

Key Accomplishments

  • Provides comprehensive capacity reporting for graph resources
  • Establishes tier-based capacity structure for better resource organization
  • Maintains consistent API patterns with existing graph endpoints
  • Adds ~390 lines of well-structured code with proper model definitions

Breaking Changes

None. This is a purely additive change that extends existing functionality without modifying current API contracts.

Testing Notes

  • Verify the new endpoint returns properly formatted capacity data
  • Test model serialization/deserialization for both new models
  • Validate tier capacity calculations and reporting accuracy
  • Ensure proper error handling for invalid graph capacity requests

Infrastructure Considerations

  • New endpoint may require corresponding backend capacity calculation logic
  • Consider caching strategies for capacity data if computationally expensive
  • Monitor performance impact of capacity queries on large graph datasets
  • Ensure proper access controls are in place for capacity information

🤖 Generated with Claude Code

Branch Info:

  • Source: feature/graph-capacity
  • Target: main
  • Type: feature

Co-Authored-By: Claude noreply@anthropic.com

- Introduced `GraphCapacityResponse` to enhance graph capacity handling.
- Added `TierCapacity` to support tier management in the models.
- Updated `__init__.py` to include new imports and ensure proper module exposure.

These changes improve the structure and functionality of the robosystems client, facilitating better management of graph and tier capacities.
@jfrench9 jfrench9 merged commit e07b77b into main Feb 11, 2026
1 check passed
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.

1 participant