PUT v1/servers/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
ServerResource| Name | Description | Type | Additional information |
|---|---|---|---|
| Server | ServerDTO |
None. |
|
| RaidInfos | Collection of RaidInfoDto |
None. |
|
| VolumeInfos | Collection of VolumeInfoDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"server": {
"id": 1,
"name": "sample string 2",
"version": "sample string 3",
"hostAddress": "sample string 4",
"lastUpdate": "2025-10-31T23:39:53.0064986-04:00",
"timeDelta": 1,
"raidInfos": [
1,
2
],
"volumeInfos": [
1,
2
],
"remoteAccessId": "sample string 5",
"audioDevice": "sample string 6",
"volumeAdjustment": 1.1,
"serverModel": "sample string 7",
"availableAudioDevices": [
"sample string 1",
"sample string 2"
],
"isVideoServer": true
},
"raidInfos": [
{
"id": 1,
"name": "sample string 2",
"server": 1,
"type": 1,
"status": 1,
"lastModified": "2025-10-31T23:39:53.0064986-04:00"
},
{
"id": 1,
"name": "sample string 2",
"server": 1,
"type": 1,
"status": 1,
"lastModified": "2025-10-31T23:39:53.0064986-04:00"
}
],
"volumeInfos": [
{
"id": 1,
"driveLetter": "sample string 2",
"capacity": 1,
"free": 1,
"server": 1
},
{
"id": 1,
"driveLetter": "sample string 2",
"capacity": 1,
"free": 1,
"server": 1
}
]
}
application/xml, text/xml
Sample:
<Resources xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CablecastAPI.DTOs">
<RaidInfos>
<RaidInfo>
<Id>1</Id>
<LastModified>2025-10-31T23:39:53.0064986-04:00</LastModified>
<Name>sample string 2</Name>
<Server>1</Server>
<Status>1</Status>
<Type>1</Type>
</RaidInfo>
<RaidInfo>
<Id>1</Id>
<LastModified>2025-10-31T23:39:53.0064986-04:00</LastModified>
<Name>sample string 2</Name>
<Server>1</Server>
<Status>1</Status>
<Type>1</Type>
</RaidInfo>
</RaidInfos>
<Server>
<AudioDevice>sample string 6</AudioDevice>
<AvailableAudioDevices xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>sample string 1</d3p1:string>
<d3p1:string>sample string 2</d3p1:string>
</AvailableAudioDevices>
<HostAddress>sample string 4</HostAddress>
<Id>1</Id>
<IsVideoServer>true</IsVideoServer>
<LastUpdate>2025-10-31T23:39:53.0064986-04:00</LastUpdate>
<Name>sample string 2</Name>
<RaidInfos xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>1</d3p1:int>
<d3p1:int>2</d3p1:int>
</RaidInfos>
<RemoteAccessId>sample string 5</RemoteAccessId>
<ServerModel>sample string 7</ServerModel>
<TimeDelta>1</TimeDelta>
<Version>sample string 3</Version>
<VolumeAdjustment>1.1</VolumeAdjustment>
<VolumeInfos xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>1</d3p1:int>
<d3p1:int>2</d3p1:int>
</VolumeInfos>
</Server>
<VolumeInfos>
<VolumeInfo>
<Capacity>1</Capacity>
<DriveLetter>sample string 2</DriveLetter>
<Free>1</Free>
<Id>1</Id>
<Server>1</Server>
</VolumeInfo>
<VolumeInfo>
<Capacity>1</Capacity>
<DriveLetter>sample string 2</DriveLetter>
<Free>1</Free>
<Id>1</Id>
<Server>1</Server>
</VolumeInfo>
</VolumeInfos>
</Resources>
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |