Vai al contenuto principale
POST
/
api
/
v1
/
organizations
/
{organizationid}
/
security-frameworks
/
{frameworkid}
/
documents
/
{controlid}
cURL
curl --request POST \
  --url https://app.aegister.com/api/v1/organizations/{organizationid}/security-frameworks/{frameworkid}/documents/{controlid} \
  --header 'Content-Type: */*' \
  --header 'X-Aegister-Token: <api-key>' \
  --data '"<string>"'
{
  "error": 0,
  "messages": "<array>",
  "data": {
    "file_name": "<string>",
    "file_path": "<string>"
  }
}

Authorizations

X-Aegister-Token
string
header
required

Headers

Content-Disposition
string
default:attachment; filename=sample.pdf

Specify 'attachment' as content disposition and file name.

Path Parameters

controlid
string
required
frameworkid
integer
required
organizationid
integer
required

Body

*/*

The body is of type file.

Response

error
integer

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

Intervallo richiesto: 0 <= x <= 0
messages
array

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

data
object