GET api/GetSongs

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Songs
NameDescriptionTypeAdditional information
nodes

Collection of Nodes

None.

links

Collection of Links

None.

Response Formats

application/json, text/json

Sample:
{
  "nodes": [
    {
      "name": "sample string 1",
      "artist": "sample string 2",
      "id": "sample string 3",
      "playcount": 4,
      "match": 1.1
    },
    {
      "name": "sample string 1",
      "artist": "sample string 2",
      "id": "sample string 3",
      "playcount": 4,
      "match": 1.1
    }
  ],
  "links": [
    {
      "source": "sample string 1",
      "target": "sample string 2"
    },
    {
      "source": "sample string 1",
      "target": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<Songs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/School.Models.Temp">
  <links>
    <Links>
      <source>sample string 1</source>
      <target>sample string 2</target>
    </Links>
    <Links>
      <source>sample string 1</source>
      <target>sample string 2</target>
    </Links>
  </links>
  <nodes>
    <Nodes>
      <artist>sample string 2</artist>
      <id>sample string 3</id>
      <match>1.1</match>
      <name>sample string 1</name>
      <playcount>4</playcount>
    </Nodes>
    <Nodes>
      <artist>sample string 2</artist>
      <id>sample string 3</id>
      <match>1.1</match>
      <name>sample string 1</name>
      <playcount>4</playcount>
    </Nodes>
  </nodes>
</Songs>