Creates a new List and returns information about it.

POST /api/lists HTTP/1.1
Host: event.stockholmpride.org
Accept: application/json, text/json, application/atom+xml, application/rss+xml, application/rss+xml+wp, text/calendar, text/plain, text/html

Request Information

Path Parameters

No parameters

Body Parameters

ListData
Name Description
Name Optional name used for identifying the list

Request Formats

application/json (.json) text/json
{
  "name": "sample string 1"
}

Response Information

Resource Description

List

Name Description
ID The ID used for interacting with the list
Name The name supplied when the list was created, if any
CreatedTimestamp Timestamp for when the list was created
OccationCount Number of event occations currently in the list.

Response Formats

application/json (.json) text/json
{
  "id": "sample string 1",
  "name": "sample string 2",
  "createdTimestamp": "2024-11-21T11:03:40.8347795+01:00",
  "occationCount": 4
}