Measure attachment

A measure attachment.

Create a measure attachment

Create a new attachment or update an existing attachment for a measure.

For a new attachment the request will return the 201 response. For updating an existing attachment the request will return a 200 response.

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
required
string or integer

The measure of the attachment.

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

Responses
200

Successful operation

201

Successful operation

404

Not Found

422

Unprocessable Content

post/measureattachment
Request samples
Response samples
application/json
{
  • "success": true,
  • "hash": "39a7d140a687034abf00701ab0cd9d9f95b9d84f",
  • "data": {
    },
  • "timestamp": 1668610345036
}

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.

page
integer
Default: 1

The page number of the response.

Responses
200

Successful operation

422

Unprocessable Content

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