Program attachment

A program attachment.

Create a program attachment

Create a new attachment or update an existing 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
required
string or integer

The program of the attachment.

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

Responses
200

Successful operation

201

Successful operation

404

Not Found

422

Unprocessable Content

post/programattachment
Request samples
Response samples
application/json
{
  • "success": true,
  • "hash": "7329136469cdb6d130cf1c64fa8b0e9a415fbb09",
  • "data": {
    },
  • "timestamp": 1668611911156
}

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.

page
integer
Default: 1

The page number of the response.

Responses
200

Successful operation

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