---
title: "Changes to Add a collection"
method: POST
path: "/collections/add"
---

# Changes to Add a collection

`POST /collections/add`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 72 revisions.

- **2025-12-11** `0a9c9382121a`: 5 breaking, 3 info
- **2025-04-09** `392ce38a6c1f`: 1 info

## Changes

- **2025-12-11** `0a9c9382121a`: 5 breaking, 3 info
  - the request property `allOf[#/components/schemas/BaseCollection]/sharing_group_id` became not nullable
  - the `allOf[#/components/schemas/BaseCollection]/sharing_group_id` request property type changed from `string` to no type
  - the `Collection/allOf[#/components/schemas/BaseCollection]/sharing_group_id` response property's maxLength was unset from `10` for the response status `200`
  - added `#/components/schemas/SharingGroupIntId, #/components/schemas/SharingGroupUuidId` to the `Collection/allOf[#/components/schemas/BaseCollection]/sharing_group_id` response property `oneOf` list for the response status `200`
  - the `Collection/allOf[#/components/schemas/BaseCollection]/sharing_group_id` response's property type changed from `string` to no type for status `200`
  - added `#/components/schemas/SharingGroupIntId, #/components/schemas/SharingGroupUuidId` to the `allOf[#/components/schemas/BaseCollection]/sharing_group_id` request property `oneOf` list
  - removed the pattern `^\d+$|^$` from the request property `allOf[#/components/schemas/BaseCollection]/sharing_group_id`
  - the `Collection/allOf[#/components/schemas/BaseCollection]/sharing_group_id` response's property pattern `^\d+$|^$` was removed for the status `200`
- **2025-04-09** `392ce38a6c1f`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/misp/apis/misp-automation-api/docs/collections/add/post.md) - [API](https://skmtc.dev/misp/apis/misp-automation-api.md) - [Page](https://skmtc.dev/misp/apis/misp-automation-api/changes/collections/add/post)
