GET v1/servers

This method requires authentication.

Retrieves all Servers.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "servers": [
    {
      "id": 1,
      "name": "sample string 2",
      "version": "sample string 3",
      "hostAddress": "sample string 4",
      "lastUpdate": "2017-08-19T00:28:22.4902404-05:00",
      "timeDelta": 1,
      "raidInfos": [
        1,
        2,
        3
      ],
      "volumeInfos": [
        1,
        2,
        3
      ],
      "remoteAccessId": "sample string 5"
    },
    {
      "id": 1,
      "name": "sample string 2",
      "version": "sample string 3",
      "hostAddress": "sample string 4",
      "lastUpdate": "2017-08-19T00:28:22.4902404-05:00",
      "timeDelta": 1,
      "raidInfos": [
        1,
        2,
        3
      ],
      "volumeInfos": [
        1,
        2,
        3
      ],
      "remoteAccessId": "sample string 5"
    },
    {
      "id": 1,
      "name": "sample string 2",
      "version": "sample string 3",
      "hostAddress": "sample string 4",
      "lastUpdate": "2017-08-19T00:28:22.4902404-05:00",
      "timeDelta": 1,
      "raidInfos": [
        1,
        2,
        3
      ],
      "volumeInfos": [
        1,
        2,
        3
      ],
      "remoteAccessId": "sample string 5"
    }
  ],
  "raidInfos": [
    {
      "id": 1,
      "name": "sample string 2",
      "server": 1,
      "type": 1,
      "status": 1,
      "lastModified": "2017-08-19T00:28:22.4902404-05:00"
    },
    {
      "id": 1,
      "name": "sample string 2",
      "server": 1,
      "type": 1,
      "status": 1,
      "lastModified": "2017-08-19T00:28:22.4902404-05:00"
    },
    {
      "id": 1,
      "name": "sample string 2",
      "server": 1,
      "type": 1,
      "status": 1,
      "lastModified": "2017-08-19T00:28:22.4902404-05: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
    },
    {
      "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>2017-08-19T00:28:22.4902404-05:00</LastModified>
      <Name>sample string 2</Name>
      <Server>1</Server>
      <Status>1</Status>
      <Type>1</Type>
    </RaidInfo>
    <RaidInfo>
      <Id>1</Id>
      <LastModified>2017-08-19T00:28:22.4902404-05:00</LastModified>
      <Name>sample string 2</Name>
      <Server>1</Server>
      <Status>1</Status>
      <Type>1</Type>
    </RaidInfo>
    <RaidInfo>
      <Id>1</Id>
      <LastModified>2017-08-19T00:28:22.4902404-05:00</LastModified>
      <Name>sample string 2</Name>
      <Server>1</Server>
      <Status>1</Status>
      <Type>1</Type>
    </RaidInfo>
  </RaidInfos>
  <Servers>
    <Server>
      <HostAddress>sample string 4</HostAddress>
      <Id>1</Id>
      <LastUpdate>2017-08-19T00:28:22.4902404-05:00</LastUpdate>
      <Name>sample string 2</Name>
      <RaidInfos xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
        <d4p1:int>3</d4p1:int>
      </RaidInfos>
      <RemoteAccessId>sample string 5</RemoteAccessId>
      <TimeDelta>1</TimeDelta>
      <Version>sample string 3</Version>
      <VolumeInfos xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
        <d4p1:int>3</d4p1:int>
      </VolumeInfos>
    </Server>
    <Server>
      <HostAddress>sample string 4</HostAddress>
      <Id>1</Id>
      <LastUpdate>2017-08-19T00:28:22.4902404-05:00</LastUpdate>
      <Name>sample string 2</Name>
      <RaidInfos xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
        <d4p1:int>3</d4p1:int>
      </RaidInfos>
      <RemoteAccessId>sample string 5</RemoteAccessId>
      <TimeDelta>1</TimeDelta>
      <Version>sample string 3</Version>
      <VolumeInfos xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
        <d4p1:int>3</d4p1:int>
      </VolumeInfos>
    </Server>
    <Server>
      <HostAddress>sample string 4</HostAddress>
      <Id>1</Id>
      <LastUpdate>2017-08-19T00:28:22.4902404-05:00</LastUpdate>
      <Name>sample string 2</Name>
      <RaidInfos xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
        <d4p1:int>3</d4p1:int>
      </RaidInfos>
      <RemoteAccessId>sample string 5</RemoteAccessId>
      <TimeDelta>1</TimeDelta>
      <Version>sample string 3</Version>
      <VolumeInfos xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
        <d4p1:int>3</d4p1:int>
      </VolumeInfos>
    </Server>
  </Servers>
  <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>
    <VolumeInfo>
      <Capacity>1</Capacity>
      <DriveLetter>sample string 2</DriveLetter>
      <Free>1</Free>
      <Id>1</Id>
      <Server>1</Server>
    </VolumeInfo>
  </VolumeInfos>
</Resources>