Add Tag To Report

POST /1.3/reports/{id}/tags

Description

Creates a tag on an incident report, for the given enclave. If the tag already exists, it will be reused.

Parameters

Parameter Required Default Description
id X   TruSTAR report id or external tracking id
idType   internal internal or external
name X   the name of the tag to create
enclaveId X   the id of the enclave to create the tag in

Response (200)

The ID of the tag that was created.

Example Usage

Request

curl -k -H "Authorization: Bearer {access_token}" -XPOST \
   "https://api.trustar.co/api/1.3/reports/9066ab40-2f3c-45ae-9566-7530403da691/tags?name=malware&enclaveId=2884f4b2-1781-4641-aa54-8911d32bd323"

Response

7f63ba3a-2668-11e8-b467-0ed5f89f718b