# \EdgeNodesApi

All URIs are relative to *https://registry.example.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**add_edge_node_peer**](EdgeNodesApi.md#add_edge_node_peer) | **POST** /api/v1/edge-nodes/{id}/peers | Add peer connection
[**assign_edge_node_repositories**](EdgeNodesApi.md#assign_edge_node_repositories) | **POST** /api/v1/edge-nodes/{id}/repositories | Assign repositories
[**assign_repository_to_edge_node**](EdgeNodesApi.md#assign_repository_to_edge_node) | **POST** /api/v1/edge-nodes/{id}/repositories/{repo_id} | Assign a repository to an edge node
[**cancel_transfer**](EdgeNodesApi.md#cancel_transfer) | **POST** /api/v1/edge-nodes/{id}/transfers/{transfer_id}/cancel | Cancel transfer
[**complete_transfer**](EdgeNodesApi.md#complete_transfer) | **POST** /api/v1/edge-nodes/{id}/transfers/{transfer_id}/complete | Complete transfer
[**complete_transfer_session**](EdgeNodesApi.md#complete_transfer_session) | **POST** /api/v1/edge-nodes/{id}/transfer/{session_id}/complete | Complete a transfer session
[**deregister_edge_node**](EdgeNodesApi.md#deregister_edge_node) | **DELETE** /api/v1/edge-nodes/{id} | Deregister edge node
[**discover_edge_node_peers**](EdgeNodesApi.md#discover_edge_node_peers) | **GET** /api/v1/edge-nodes/{id}/peers/discover | Discover peers
[**download_chunk**](EdgeNodesApi.md#download_chunk) | **GET** /api/v1/edge-nodes/{id}/transfers/{transfer_id}/chunks/{chunk_index} | Download chunk
[**edge_node_heartbeat**](EdgeNodesApi.md#edge_node_heartbeat) | **POST** /api/v1/edge-nodes/{id}/heartbeat | Edge node heartbeat
[**fail_transfer_chunk**](EdgeNodesApi.md#fail_transfer_chunk) | **POST** /api/v1/edge-nodes/{id}/transfer/{session_id}/chunk/{chunk_index}/fail | Mark a chunk as failed
[**fail_transfer_session**](EdgeNodesApi.md#fail_transfer_session) | **POST** /api/v1/edge-nodes/{id}/transfer/{session_id}/fail | Fail a transfer session
[**get_edge_node**](EdgeNodesApi.md#get_edge_node) | **GET** /api/v1/edge-nodes/{id} | Get edge node
[**get_edge_node_cache**](EdgeNodesApi.md#get_edge_node_cache) | **GET** /api/v1/edge-nodes/{id}/cache | Get cache stats
[**get_edge_node_network_profile**](EdgeNodesApi.md#get_edge_node_network_profile) | **GET** /api/v1/edge-nodes/{id}/network-profile | Get network profile
[**get_scored_peers**](EdgeNodesApi.md#get_scored_peers) | **GET** /api/v1/edge-nodes/{id}/peers/scored | Get scored peers
[**get_transfer**](EdgeNodesApi.md#get_transfer) | **GET** /api/v1/edge-nodes/{id}/transfers/{transfer_id} | Get transfer session
[**get_transfer_chunk_manifest**](EdgeNodesApi.md#get_transfer_chunk_manifest) | **GET** /api/v1/edge-nodes/{id}/transfer/{session_id}/chunks | Get chunk manifest
[**get_transfer_manifest**](EdgeNodesApi.md#get_transfer_manifest) | **GET** /api/v1/edge-nodes/{id}/transfers/{transfer_id}/manifest | Get chunk manifest
[**get_transfer_session**](EdgeNodesApi.md#get_transfer_session) | **GET** /api/v1/edge-nodes/{id}/transfer/{session_id} | Get transfer session status
[**init_transfer_session**](EdgeNodesApi.md#init_transfer_session) | **POST** /api/v1/edge-nodes/{id}/transfer/init | Initiate a transfer session
[**list_artifact_chunk_peers**](EdgeNodesApi.md#list_artifact_chunk_peers) | **GET** /api/v1/edge-nodes/{id}/chunks/{artifact_id}/peers | List peers holding artifact chunks
[**list_artifact_chunks**](EdgeNodesApi.md#list_artifact_chunks) | **GET** /api/v1/edge-nodes/{id}/chunks/{artifact_id} | List artifact chunks on an edge node
[**list_artifact_scored_peers**](EdgeNodesApi.md#list_artifact_scored_peers) | **GET** /api/v1/edge-nodes/{id}/chunks/{artifact_id}/scored-peers | List scored peers for artifact chunks
[**list_edge_node_peers**](EdgeNodesApi.md#list_edge_node_peers) | **GET** /api/v1/edge-nodes/{id}/peers | List peer connections
[**list_edge_node_sync_tasks**](EdgeNodesApi.md#list_edge_node_sync_tasks) | **GET** /api/v1/edge-nodes/{id}/sync/tasks | List sync tasks
[**list_edge_nodes**](EdgeNodesApi.md#list_edge_nodes) | **GET** /api/v1/edge-nodes | List edge nodes
[**list_transfers**](EdgeNodesApi.md#list_transfers) | **GET** /api/v1/edge-nodes/{id}/transfers | List transfer sessions
[**probe_edge_node_peers**](EdgeNodesApi.md#probe_edge_node_peers) | **POST** /api/v1/edge-nodes/{id}/peers/probe | Probe peer connectivity
[**purge_edge_node_cache**](EdgeNodesApi.md#purge_edge_node_cache) | **DELETE** /api/v1/edge-nodes/{id}/cache | Purge cache
[**register_edge_node**](EdgeNodesApi.md#register_edge_node) | **POST** /api/v1/edge-nodes | Register edge node
[**remove_edge_node_peer**](EdgeNodesApi.md#remove_edge_node_peer) | **DELETE** /api/v1/edge-nodes/{id}/peers/{peerId} | Remove peer connection
[**remove_repository_from_edge_node**](EdgeNodesApi.md#remove_repository_from_edge_node) | **DELETE** /api/v1/edge-nodes/{id}/repositories/{repo_id} | Remove a repository from an edge node
[**report_peer_unreachable**](EdgeNodesApi.md#report_peer_unreachable) | **POST** /api/v1/edge-nodes/{id}/peers/{targetId}/unreachable | Report a peer as unreachable
[**retry_transfer_chunk**](EdgeNodesApi.md#retry_transfer_chunk) | **POST** /api/v1/edge-nodes/{id}/transfer/{session_id}/chunk/{chunk_index}/retry | Retry a failed chunk
[**start_transfer**](EdgeNodesApi.md#start_transfer) | **POST** /api/v1/edge-nodes/{id}/transfers | Start chunked transfer
[**trigger_edge_node_sync**](EdgeNodesApi.md#trigger_edge_node_sync) | **POST** /api/v1/edge-nodes/{id}/sync | Trigger sync
[**update_edge_node**](EdgeNodesApi.md#update_edge_node) | **PATCH** /api/v1/edge-nodes/{id} | Update edge node
[**update_edge_node_network_profile**](EdgeNodesApi.md#update_edge_node_network_profile) | **PUT** /api/v1/edge-nodes/{id}/network-profile | Update network profile
[**update_network_profile**](EdgeNodesApi.md#update_network_profile) | **PUT** /api/v1/edge-nodes/network-profile | Update the network profile
[**upload_chunk**](EdgeNodesApi.md#upload_chunk) | **PUT** /api/v1/edge-nodes/{id}/transfers/{transfer_id}/chunks/{chunk_index} | Upload chunk
[**upload_transfer_chunk**](EdgeNodesApi.md#upload_transfer_chunk) | **POST** /api/v1/edge-nodes/{id}/transfer/{session_id}/chunk/{chunk_index} | Upload a transfer chunk



## add_edge_node_peer

> models::PeerConnection add_edge_node_peer(id, add_edge_node_peer_request)
Add peer connection

Establishes a peer connection between two edge nodes for P2P content distribution.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node UUID | [required] |
**add_edge_node_peer_request** | [**AddEdgeNodePeerRequest**](AddEdgeNodePeerRequest.md) |  | [required] |

### Return type

[**models::PeerConnection**](PeerConnection.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## assign_edge_node_repositories

> models::EdgeNode assign_edge_node_repositories(id, assign_edge_node_repositories_request)
Assign repositories

Assigns one or more repositories to the edge node for caching and distribution.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node UUID | [required] |
**assign_edge_node_repositories_request** | [**AssignEdgeNodeRepositoriesRequest**](AssignEdgeNodeRepositoriesRequest.md) |  | [required] |

### Return type

[**models::EdgeNode**](EdgeNode.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## assign_repository_to_edge_node

> assign_repository_to_edge_node(id, repo_id, assign_repository_to_edge_node_request)
Assign a repository to an edge node

Configures an edge node to cache and serve artifacts from the specified repository.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node ID. | [required] |
**repo_id** | **uuid::Uuid** | Repository ID. | [required] |
**assign_repository_to_edge_node_request** | [**AssignRepositoryToEdgeNodeRequest**](AssignRepositoryToEdgeNodeRequest.md) |  | [required] |

### Return type

 (empty response body)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## cancel_transfer

> models::TransferSession cancel_transfer(id, transfer_id)
Cancel transfer

Cancels an in-progress transfer session and cleans up any uploaded chunks.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node UUID | [required] |
**transfer_id** | **uuid::Uuid** | Transfer session UUID | [required] |

### Return type

[**models::TransferSession**](TransferSession.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## complete_transfer

> models::TransferSession complete_transfer(id, transfer_id)
Complete transfer

Marks a transfer session as complete after all chunks have been uploaded and verified.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node UUID | [required] |
**transfer_id** | **uuid::Uuid** | Transfer session UUID | [required] |

### Return type

[**models::TransferSession**](TransferSession.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## complete_transfer_session

> models::TransferSession complete_transfer_session(id, session_id)
Complete a transfer session

Finalizes a transfer session after all chunks have been uploaded and verified.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node ID. | [required] |
**session_id** | **uuid::Uuid** | Transfer session ID. | [required] |

### Return type

[**models::TransferSession**](TransferSession.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## deregister_edge_node

> deregister_edge_node(id)
Deregister edge node

Deregisters an edge node, removing it from the CDN mesh network.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node UUID | [required] |

### Return type

 (empty response body)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## discover_edge_node_peers

> Vec<models::PeerConnection> discover_edge_node_peers(id)
Discover peers

Triggers peer discovery and returns newly found peer connections.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node ID. | [required] |

### Return type

[**Vec<models::PeerConnection>**](PeerConnection.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## download_chunk

> Vec<u8> download_chunk(id, transfer_id, chunk_index)
Download chunk

Downloads a single binary chunk from the specified transfer session.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node UUID | [required] |
**transfer_id** | **uuid::Uuid** | Transfer session UUID | [required] |
**chunk_index** | **i32** | Zero-based chunk index | [required] |

### Return type

[**Vec<u8>**](Vec<u8>.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/octet-stream, application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## edge_node_heartbeat

> edge_node_heartbeat(id, edge_node_heartbeat_request)
Edge node heartbeat

Reports the current status and cache usage of an edge node. Called periodically by edge node agents.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node UUID | [required] |
**edge_node_heartbeat_request** | [**EdgeNodeHeartbeatRequest**](EdgeNodeHeartbeatRequest.md) |  | [required] |

### Return type

 (empty response body)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## fail_transfer_chunk

> fail_transfer_chunk(id, session_id, chunk_index)
Mark a chunk as failed

Reports that a chunk transfer has failed, allowing the coordinator to take corrective action.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node ID. | [required] |
**session_id** | **uuid::Uuid** | Transfer session ID. | [required] |
**chunk_index** | **i32** | Zero-based chunk index. | [required] |

### Return type

 (empty response body)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## fail_transfer_session

> models::TransferSession fail_transfer_session(id, session_id)
Fail a transfer session

Marks an entire transfer session as failed, releasing resources.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node ID. | [required] |
**session_id** | **uuid::Uuid** | Transfer session ID. | [required] |

### Return type

[**models::TransferSession**](TransferSession.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_edge_node

> models::EdgeNode get_edge_node(id)
Get edge node

Returns detailed information about a single edge node.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node UUID | [required] |

### Return type

[**models::EdgeNode**](EdgeNode.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_edge_node_cache

> models::GetEdgeNodeCache200Response get_edge_node_cache(id)
Get cache stats

Returns cache contents and usage statistics for the specified edge node.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node UUID | [required] |

### Return type

[**models::GetEdgeNodeCache200Response**](getEdgeNodeCache_200_response.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_edge_node_network_profile

> models::NetworkProfile get_edge_node_network_profile(id)
Get network profile

Returns the network profile including bandwidth and concurrency limits for the specified edge node.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node UUID | [required] |

### Return type

[**models::NetworkProfile**](NetworkProfile.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_scored_peers

> Vec<models::ScoredPeer> get_scored_peers(id)
Get scored peers

Returns peer nodes scored by latency, bandwidth, and chunk availability for optimal transfer source selection.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node UUID | [required] |

### Return type

[**Vec<models::ScoredPeer>**](ScoredPeer.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_transfer

> models::TransferSession get_transfer(id, transfer_id)
Get transfer session

Returns detailed information about a single transfer session.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node UUID | [required] |
**transfer_id** | **uuid::Uuid** | Transfer session UUID | [required] |

### Return type

[**models::TransferSession**](TransferSession.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_transfer_chunk_manifest

> models::ChunkManifest get_transfer_chunk_manifest(id, session_id)
Get chunk manifest

Returns the chunk manifest for a transfer session including sizes and checksums.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node ID. | [required] |
**session_id** | **uuid::Uuid** | Transfer session ID. | [required] |

### Return type

[**models::ChunkManifest**](ChunkManifest.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_transfer_manifest

> models::ChunkManifest get_transfer_manifest(id, transfer_id)
Get chunk manifest

Returns the chunk manifest for a transfer session, listing all chunks with their sizes and checksums.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node UUID | [required] |
**transfer_id** | **uuid::Uuid** | Transfer session UUID | [required] |

### Return type

[**models::ChunkManifest**](ChunkManifest.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_transfer_session

> models::TransferSession get_transfer_session(id, session_id)
Get transfer session status

Returns the current status and progress of a transfer session.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node ID. | [required] |
**session_id** | **uuid::Uuid** | Transfer session ID. | [required] |

### Return type

[**models::TransferSession**](TransferSession.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## init_transfer_session

> models::TransferSession init_transfer_session(id, init_transfer_session_request)
Initiate a transfer session

Creates a new chunked transfer session to distribute an artifact to or between edge nodes.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node ID. | [required] |
**init_transfer_session_request** | [**InitTransferSessionRequest**](InitTransferSessionRequest.md) |  | [required] |

### Return type

[**models::TransferSession**](TransferSession.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_artifact_chunk_peers

> Vec<models::PeerConnection> list_artifact_chunk_peers(id, artifact_id)
List peers holding artifact chunks

Returns peers that have chunks of the specified artifact available for transfer.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node ID. | [required] |
**artifact_id** | **uuid::Uuid** | Artifact ID. | [required] |

### Return type

[**Vec<models::PeerConnection>**](PeerConnection.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_artifact_chunks

> Vec<models::ListArtifactChunks200ResponseInner> list_artifact_chunks(id, artifact_id)
List artifact chunks on an edge node

Returns the list of chunks for a specific artifact that are cached on this edge node.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node ID. | [required] |
**artifact_id** | **uuid::Uuid** | Artifact ID. | [required] |

### Return type

[**Vec<models::ListArtifactChunks200ResponseInner>**](listArtifactChunks_200_response_inner.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_artifact_scored_peers

> Vec<models::ScoredPeer> list_artifact_scored_peers(id, artifact_id)
List scored peers for artifact chunks

Returns peers holding artifact chunks ranked by a composite score of latency, bandwidth, and reliability.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node ID. | [required] |
**artifact_id** | **uuid::Uuid** | Artifact ID. | [required] |

### Return type

[**Vec<models::ScoredPeer>**](ScoredPeer.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_edge_node_peers

> Vec<models::PeerConnection> list_edge_node_peers(id)
List peer connections

Returns all peer connections for the specified edge node.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node UUID | [required] |

### Return type

[**Vec<models::PeerConnection>**](PeerConnection.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_edge_node_sync_tasks

> Vec<models::SyncTask> list_edge_node_sync_tasks(id)
List sync tasks

Returns all synchronization tasks for an edge node.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node ID. | [required] |

### Return type

[**Vec<models::SyncTask>**](SyncTask.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_edge_nodes

> Vec<models::EdgeNode> list_edge_nodes()
List edge nodes

Returns all registered edge nodes.

### Parameters

This endpoint does not need any parameter.

### Return type

[**Vec<models::EdgeNode>**](EdgeNode.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_transfers

> Vec<models::TransferSession> list_transfers(id)
List transfer sessions

Returns all transfer sessions for the specified edge node.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node UUID | [required] |

### Return type

[**Vec<models::TransferSession>**](TransferSession.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## probe_edge_node_peers

> models::ProbeEdgeNodePeers200Response probe_edge_node_peers(id)
Probe peer connectivity

Tests network connectivity from this edge node to its peers and returns reachability and latency.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node ID. | [required] |

### Return type

[**models::ProbeEdgeNodePeers200Response**](probeEdgeNodePeers_200_response.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## purge_edge_node_cache

> purge_edge_node_cache(id)
Purge cache

Purges all cached content from the specified edge node.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node UUID | [required] |

### Return type

 (empty response body)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## register_edge_node

> models::EdgeNode register_edge_node(register_edge_node_request)
Register edge node

Registers a new edge node in the CDN mesh network.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**register_edge_node_request** | [**RegisterEdgeNodeRequest**](RegisterEdgeNodeRequest.md) |  | [required] |

### Return type

[**models::EdgeNode**](EdgeNode.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## remove_edge_node_peer

> remove_edge_node_peer(id, peer_id)
Remove peer connection

Removes a peer connection between two edge nodes.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node UUID | [required] |
**peer_id** | **uuid::Uuid** | Peer node UUID | [required] |

### Return type

 (empty response body)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## remove_repository_from_edge_node

> remove_repository_from_edge_node(id, repo_id)
Remove a repository from an edge node

Stops the edge node from caching the specified repository and purges its cached artifacts.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node ID. | [required] |
**repo_id** | **uuid::Uuid** | Repository ID. | [required] |

### Return type

 (empty response body)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## report_peer_unreachable

> report_peer_unreachable(id, target_id)
Report a peer as unreachable

Reports that a specific peer node is unreachable from this edge node, updating the network topology.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node ID. | [required] |
**target_id** | **uuid::Uuid** | Target peer node ID. | [required] |

### Return type

 (empty response body)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## retry_transfer_chunk

> retry_transfer_chunk(id, session_id, chunk_index)
Retry a failed chunk

Requests a retry of a previously failed chunk transfer.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node ID. | [required] |
**session_id** | **uuid::Uuid** | Transfer session ID. | [required] |
**chunk_index** | **i32** | Zero-based chunk index. | [required] |

### Return type

 (empty response body)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## start_transfer

> models::TransferSession start_transfer(id, start_transfer_request)
Start chunked transfer

Initiates a new chunked transfer session for an artifact to or from the edge node.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node UUID | [required] |
**start_transfer_request** | [**StartTransferRequest**](StartTransferRequest.md) |  | [required] |

### Return type

[**models::TransferSession**](TransferSession.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## trigger_edge_node_sync

> models::SyncTask trigger_edge_node_sync(id, trigger_edge_node_sync_request)
Trigger sync

Triggers a content sync for the specified edge node by artifact ID or repository key.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node UUID | [required] |
**trigger_edge_node_sync_request** | [**TriggerEdgeNodeSyncRequest**](TriggerEdgeNodeSyncRequest.md) |  | [required] |

### Return type

[**models::SyncTask**](SyncTask.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## update_edge_node

> models::EdgeNode update_edge_node(id, update_edge_node_request)
Update edge node

Partially updates edge node configuration.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node UUID | [required] |
**update_edge_node_request** | [**UpdateEdgeNodeRequest**](UpdateEdgeNodeRequest.md) |  | [required] |

### Return type

[**models::EdgeNode**](EdgeNode.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## update_edge_node_network_profile

> models::NetworkProfile update_edge_node_network_profile(id, update_edge_node_network_profile_request)
Update network profile

Replaces the network profile for the specified edge node.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node UUID | [required] |
**update_edge_node_network_profile_request** | [**UpdateEdgeNodeNetworkProfileRequest**](UpdateEdgeNodeNetworkProfileRequest.md) |  | [required] |

### Return type

[**models::NetworkProfile**](NetworkProfile.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## update_network_profile

> models::NetworkProfile update_network_profile(network_profile)
Update the network profile

Replaces the global network profile that governs edge node communication parameters.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**network_profile** | [**NetworkProfile**](NetworkProfile.md) |  | [required] |

### Return type

[**models::NetworkProfile**](NetworkProfile.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## upload_chunk

> upload_chunk(id, transfer_id, chunk_index, body)
Upload chunk

Uploads a single binary chunk for the specified transfer session.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node UUID | [required] |
**transfer_id** | **uuid::Uuid** | Transfer session UUID | [required] |
**chunk_index** | **i32** | Zero-based chunk index | [required] |
**body** | **Vec<u8>** |  | [required] |

### Return type

 (empty response body)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/octet-stream
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## upload_transfer_chunk

> upload_transfer_chunk(id, session_id, chunk_index, body)
Upload a transfer chunk

Uploads a single binary chunk for a transfer session.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Edge node ID. | [required] |
**session_id** | **uuid::Uuid** | Transfer session ID. | [required] |
**chunk_index** | **i32** | Zero-based chunk index. | [required] |
**body** | **Vec<u8>** |  | [required] |

### Return type

 (empty response body)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: application/octet-stream
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

