---
title: "Changes to Create a new session"
method: POST
path: "/session"
---

# Changes to Create a new session

`POST /session`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 5 revisions.

- **2024-08-13** `e5fd519e47a7`: 1 warning, 1 info
- **2024-08-12** `5800c68dedbb`: 3 breaking, 1 warning, 2 info

## Changes

- **2024-08-13** `e5fd519e47a7`: 1 warning, 1 info
  - removed the request property `session_id`
  - added the new optional request property `id`
- **2024-08-12** `5800c68dedbb`: 3 breaking, 1 warning, 2 info
  - the request property `user` became required
  - the `project_id` request property's minLength was increased from `0` to `36`
  - added the pattern `^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$` to the request property `project_id`
  - the `project_id` request property's maxLength was set to `36`
  - added the new optional request property `session_id`
  - the `id` response's property pattern `^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$` was added for the status `201`

---

[Operation](https://skmtc.dev/defra/apis/twiki-api/docs/session/post.md) - [API](https://skmtc.dev/defra/apis/twiki-api.md) - [Page](https://skmtc.dev/defra/apis/twiki-api/changes/session/post)
