GET api/todolists/name/{name}/{userId}

GET /api/todolists/name/{name}/{userId}

Path parameters

  • name string Required
  • userId integer(int64) Required

Responses

  • 200 */*

    OK

    Hide response attributes Show response 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/todolists/name/{name}/{userId}
curl \
 -X GET https://TodoListRestApi/api/todolists/name/{name}/{userId}
Response examples (200)
{
  "listId": 42,
  "user": {},
  "title": "string",
  "description": "string",
  "tasks": [
    {
      "taskId": 42,
      "todoList": {},
      "title": "string",
      "description": "string",
      "dueDate": "string",
      "author": "string",
      "isCompleted": 42
    }
  ]
}