Measure attachment

A measure attachment.

Create a measure attachment

Create a new attachment for a measure.

SecurityJWT
Request
Request Body schema: multipart/form-data

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

measure_hash
required
string

The measure of the new attachment.

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

Responses
200

Successful operation

404

Not Found

422

Unprocessable Content

post/measureattachment
Request samples
Response samples
application/json
{
  • "success": true,
  • "hash": "050d4667f3b22fad20fa3ff92e83a0da38e0c23e",
  • "data": {
    },
  • "timestamp": 1660220602922
}

Get all measure attachments

Get all attachments for a measure.

SecurityJWT
Request
query Parameters
measure
string or integer

Filter the measure attachments for a measure.

measure_package
string or integer

Filter the measure attachments for a measure package.

project
string or integer

Filter the measure attachments for a project.

program
string or integer

Filter the measure attachments for a program.

created_user
string or integer

Filter the measure attachments for a created user.

modified_user
string or integer

Filter the measure attachments for a modified user.

Responses
200

Successful operation

422

Unprocessable Content

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