register_project_file
Record a file already uploaded to a project via the upload URL so the project lists and can download it. Use the S3 key from step one plus a readable name to get a stable file ID.
Instructions
Step 2 of the upload: record a file already POSTed to the uploadUrl from
upload_file_to_project (a 201), so the project lists it and it can be downloaded. Takes the
s3_key from step 1 and a human-readable name (e.g. "Client X audit deck template").
Returns {file_id, name}; the file_id is stable and get_project_file takes it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| s3_key | Yes | ||
| byte_size | No | ||
| project_id | Yes | ||
| content_type | No |