Collections

View a collection by ID

Changed on
get/collections/view/{collectionId}

Request

  • Base URL
    https://misp.local
  • URL
    https://misp.local/collections/view/{collectionId}
  • Auth
    API key in header Authorization

Path parameters

string required
OR
string uuid required
Example:12345

UUID or numeric ID of the collection

Response

A collection

Example response

{
  "Collection": {
    "CollectionElement": [
      {
        "id": "12345",
        "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
        "collection_id": "12345",
        "element_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
        "description": "This is a dummy description, for a collection element."
      }
    ],
    "id": "12345",
    "org_id": "12345",
    "orgc_id": "12345",
    "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
    "created": "2024-03-19 11:10:24",
    "modified": "2024-03-19 11:10:24",
    "Org": {
      "id": "12345",
      "name": "ORGNAME",
      "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b"
    },
    "Orgc": {
      "id": "12345",
      "name": "ORGNAME",
      "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b"
    },
    "name": "APT Campaign Collection",
    "description": "This is a dummy description, for a collection about Aiur.",
    "distribution": "4",
    "sharing_group_id": "1"
  }
}

Changes

    • breaking

      the ///////// response property's maxLength was unset from 10 for the response status

    • breaking

      added to the ///////// response property oneOf list for the response status

    • breaking

      the ///////// response's property type changed from string to no type for status

    • info

      the ///////// response's property pattern ^\d+$|^$ was removed for the status

    • info

      endpoint added