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
No parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | Optional name used for identifying the list | String | None |
application/json (.json)
text/json
{
"name": "sample string 1"
}
| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | The ID used for interacting with the list | String | None |
| Name | The name supplied when the list was created, if any | String | None |
| CreatedTimestamp | Timestamp for when the list was created | Date | None |
| OccationCount | Number of event occations currently in the list. | Integer | None |
application/json (.json)
text/json
{
"id": "sample string 1",
"name": "sample string 2",
"createdTimestamp": "2025-10-01T06:25:12.9978959+02:00",
"occationCount": 4
}