GET v1/servers/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ServerResource
NameDescriptionTypeAdditional information
Server

ServerDTO

None.

RaidInfos

Collection of RaidInfoDto

None.

VolumeInfos

Collection of VolumeInfoDto

None.

Response Formats

application/json, text/json

Sample:
{
  "server": {
    "id": 1,
    "name": "sample string 2",
    "version": "sample string 3",
    "hostAddress": "sample string 4",
    "lastUpdate": "2025-05-23T17:16:57.2073656-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-05-23T17:16:57.2073656-04:00"
    },
    {
      "id": 1,
      "name": "sample string 2",
      "server": 1,
      "type": 1,
      "status": 1,
      "lastModified": "2025-05-23T17:16:57.2073656-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-05-23T17:16:57.2073656-04:00</LastModified>
      <Name>sample string 2</Name>
      <Server>1</Server>
      <Status>1</Status>
      <Type>1</Type>
    </RaidInfo>
    <RaidInfo>
      <Id>1</Id>
      <LastModified>2025-05-23T17:16:57.2073656-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-05-23T17:16:57.2073656-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>