Program attachment

A program attachment.

Create a program attachment

Create a new attachment for a program.

SecurityJWT
Request
Request Body schema: multipart/form-data

A JSON object containing program attachment information.

file
required
string <binary>

The upload file.

The file name is used to identify the attachment in Falcon. If an attachment with the name of the uploaded file already exists (on the program) the attachment will be replaced without further notice.

program_hash
required
string

The program of the new attachment.

Without a program hash the request will always return a 403 Forbidden response.

Responses
200

Successful operation

404

Not Found

422

Unprocessable Content

post/programattachment
Request samples
Response samples
application/json
{
  • "success": true,
  • "hash": "91baf015b62a338d247b8415d184169a8066aa78",
  • "data": {
    },
  • "timestamp": 1660564966671
}

Get all program attachments

Get all attachments for a program.

SecurityJWT
Request
query Parameters
program
string or integer

Filter the program attachments for a program.

created_user
string or integer

Filter the program attachments for a created user.

modified_user
string or integer

Filter the program attachments for a modified user.

Responses
200

Successful operation

404

Not Found

get/programattachment
Request samples
Response samples
application/json
{
  • "success": true,
  • "hash": "fda7b6577197ce78a0d1a392c8d4b0cd3faef315",
  • "data": [
    ],
  • "timestamp": 1660565264620
}