Get a presigned PUT URL for one file
request_uploadGet a presigned PUT URL for one file.
Step 1 of 3: returns a presigned PUT URL and the exact headers to send (Content-Type and Content-Length must match what you announced; the URL works only for that exact size and type — anything else is refused with 403 by storage). Then PUT the bytes to that URL, then call attach_file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| issue_key | Yes | Issue key `{PROJECT}-{n}`, e.g. `KJ-101`. | |
| size_bytes | Yes | ||
| project_key | Yes | Project key, e.g. `KJ`. 2–10 chars, uppercase letters and digits, starts with a letter. | |
| content_type | Yes |