1. Create a New Attachment

Creates a new attachment associated with a project.

Only the following MIME types are allowed: image/jpeg, image/png, image/jpg, application/pdf.

Endpoint: /attachment

Method: POST

Request Body:

{
    "project_id": "integer",   // Required: ID of the project this attachment belongs to
    "name": "string",          // Optional
    "type": "string",          // Required: MIME type (e.g., application/pdf, image/jpeg)
    "status": "pending",       // Optional
    "url": "string"            // Required: URL where the attachment is stored
}

Response:


2. List All Attachments

Retrieves a list of all attachments accessible to the service account.

Endpoint: /attachment

Method: GET

Response: