changes.mady.by.user Johan Montealegre
Saved on Oct 05, 2022
...
Uploads a file to the Aspire resources repository, this endpoint needs the at least the OPERATOR role to be executed.
POST /aspire/_api/resources/file?description=:description
Body Form
The file to be uploaded
Query Parameters
The file description
Request example
POST /aspire/_api/resources/file?description=groovy' --form 'file=@"/C:/Directory/file.groovy"'
Status: 200
Response example
{ "id" : "517f161623ea3f43cc567a33914b96c31cbaa2c63d2594174d2b6230b1912ae1" "name" : "file.groovy", "description" : "groovy", "checksum" : "12565092083235" }