Create a secure file
POST
/api/v4/projects/{id}/secure_files
Creates a secure file in a specified project.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Request Body required
Section titled “ Request Body required ” Media type multipart/form-data
object
name
required
The name of the file being uploaded. The filename must be unique within the project
string
file
required
The secure file being uploaded
string format: binary
Responses
Section titled “ Responses ”Created
Media type application/json
object
id
integer format: int64
name
string
checksum
string
checksum_algorithm
string
created_at
string format: date-time
expires_at
string format: date-time
metadata
object
file_extension
string
Example
{ "id": 123, "name": "upload-keystore.jks", "checksum": "16630b189ab34b2e3504f4758e1054d2e478deda510b2b08cc0ef38d12e80aac", "checksum_algorithm": "sha256", "created_at": "2022-02-22T22:22:22.222Z", "expires_at": "2023-09-21T14:55:59.000Z", "metadata": { "id": "75949910542696343243264405377658443914" }, "file_extension": "jks"}400 Bad Request
Not Found