/v0/lists/:id (GET)
GET
/v0/lists/:id
const url = 'http://localhost:3000/v0/lists/:id';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:3000/v0/lists/:id \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Responses
Section titled “ Responses ”OK
Media type application/json
object
id
required
List ID
string
title
required
List title
string
public
If true, list is public
boolean
Example
{ "id": "38477395", "title": "Pulsate developers", "public": false}List not found
Media type application/json
List not found
object
error
required
List not found
string
Example
{ "error": "LIST_NOT_FOUND"}Internal error
Media type application/json
Internal server error
object
error
required
Internal server error
string
Example
{ "error": "INTERNAL_ERROR"}