GET api/users/username/{username}

GET /api/users/username/{username}

Path parameters

  • username string Required

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • userId integer(int64)
    • username string
    • password string
    • todoLists array[object]
      Hide todoLists attributes Show todoLists attributes object
      • listId integer(int64)
      • user object
      • title string
      • description string
      • tasks array[object]
        Hide tasks attributes Show tasks attributes object
        • taskId integer(int64)
        • todoList object
        • title string
        • description string
        • dueDate string
        • author string
        • isCompleted integer(int32)
GET /api/users/username/{username}
curl \
 -X GET https://TodoListRestApi/api/users/username/{username}
Response examples (200)
{
  "userId": 42,
  "username": "string",
  "password": "string",
  "todoLists": [
    {
      "listId": 42,
      "user": {},
      "title": "string",
      "description": "string",
      "tasks": [
        {
          "taskId": 42,
          "todoList": {},
          "title": "string",
          "description": "string",
          "dueDate": "string",
          "author": "string",
          "isCompleted": 42
        }
      ]
    }
  ]
}