Project attachment

A project attachment.

Create a project attachment

Create a new attachment for a project.

SecurityJWT
Request
Request Body schema: multipart/form-data

A JSON object containing project 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 project) the attachment will be replaced without further notice.

project_hash
required
string

The project of the new attachment.

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

Responses
200

Successful operation

404

Not Found

422

Unprocessable Content

post/projectattachment
Request samples
Response samples
application/json
{
  • "success": true,
  • "hash": "035ebf5650f02ec728362fde3f42fdb85e72f736",
  • "data": {
    },
  • "timestamp": 1660565726569
}

Get all project attachments

Get all attachments for a project.

SecurityJWT
Request
query Parameters
project
string or integer

Filter the project attachments for a project.

program
string or integer

Filter the project attachments for a program.

created_user
string or integer

Filter the project attachments for a created user.

modified_user
string or integer

Filter the project attachments for a modified user.

Responses
200

Successful operation

422

Unprocessable Content

get/projectattachment
Request samples
Response samples
application/json
{
  • "success": true,
  • "hash": "f1851209187b379309ba934138a229a1a1c31193",
  • "data": [
    ],
  • "timestamp": 1660565970348
}