create
PUT /list
PUT
/list
Creates a list.
Authorizations
Parameters
Query Parameters
expand
string
Expand a foreign key column (https://pocketbase.io/docs/working-with-relations/#expanding-relations).
requestKey
string
Unique request id. Prevents auto cancel when sending multiple requests.
Request Body
object
name
required
Name of the list
string
description
Description of the list
string
public
required
Visible for everyone
boolean
trails
required
List of trail Ids contained in the list
Array<string>
author
required
User Id
string
Example
Responses
200
object
author
required
string
avatar
required
string
collectionId
required
string
collectionName
required
string
created
required
string
description
required
string
id
required
string
name
required
string
public
required
boolean
trails
required
Array<string>
updated
required
string
Examples
Success
400
object
message
required
string
detail
required
object
code
required
integer
message
required
string
data
required
object
author
required
object
code
required
string
message
required
string
Examples
Exception
x-400:Invalid Params
object
message
required
string
detail
required
Array<object>
object
code
string
expected
string
received
string
path
Array<string>
message
string
Examples
Exception