Deploy Custom Function Project

POST {{HDB_ENDPOINT}}

Takes the output of packagecustomfunction_project, decrypts the base64-encoded string, reconstitutes the .tar file of your project folder, and extracts it to the Custom Functions root project directory.

Operation is restricted to superuser roles only

  • operation (required) - must always be 'deploycustomfunctionproject'
  • project (required) - the name of the project you wish to deploy
  • file (required) - the path to which you wish to save the file on the destination host
  • payload (required) - a base64-encoded string representation of the .tar file

Request Body

{"operation"=>"deploy_custom_function_project", "project"=>"dogs", "file"=>"/tmp/144275e9-f428-4765-a905-208ba20702b9.tar", "payload"=>"A very large base64-encoded string represenation of the .tar file"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"message":"Successfully deployed project: dogs"}