GET api/users/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

user
NameDescriptionTypeAdditional information
id

string

None.

email

string

None.

username

string

None.

uploads

integer

None.

votes

integer

None.

voted

integer

None.

votingPower

integer

None.

tStamp

date

None.

photo

Collection of byte

None.

Response Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "email": "sample string 2",
  "username": "sample string 3",
  "uploads": 4,
  "votes": 5,
  "voted": 6,
  "votingPower": 7,
  "tStamp": "2025-12-18T07:26:54.8509581+02:00",
  "photo": "QEA="
}

application/xml, text/xml

Sample:
<user xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/waytoodankapi.Models">
  <email>sample string 2</email>
  <id>sample string 1</id>
  <photo>QEA=</photo>
  <tStamp>2025-12-18T07:26:54.8509581+02:00</tStamp>
  <uploads>4</uploads>
  <username>sample string 3</username>
  <voted>6</voted>
  <votes>5</votes>
  <votingPower>7</votingPower>
</user>