Vai al contenuto principale
GET
/
api
/
v1
/
V-Ciso
/
incidents
/
{organizationid}
/
{incidentid}
/
attachments
/
{attachmentid}
/
download
Download incident attachment
curl --request GET \
  --url https://app.aegister.com/api/v1/V-Ciso/incidents/{organizationid}/{incidentid}/attachments/{attachmentid}/download \
  --header 'X-Aegister-Token: <api-key>'
{
  "error": 0,
  "messages": "<array>",
  "data": {
    "filename": "<string>",
    "content_type": "<string>",
    "size": 123,
    "content": "<string>"
  }
}

Autorizzazioni

X-Aegister-Token
string
header
obbligatorio

Parametri del percorso

attachmentid
integer
obbligatorio
incidentid
integer
obbligatorio
organizationid
integer
obbligatorio

Risposta

error
integer

Any value different from 0 indicates an error.
More details can be found in messages.

Intervallo richiesto: 0 <= x <= 0
Esempio:

0

messages
array

If error is 1, contains zero or more details on the error.

Esempio:
[]
data
object