# Upload remote execution source Upload the source code for the remote execution. Endpoint: POST /iacm/api/orgs/{org}/projects/{project}/workspaces/{workspace}/remote-executions/{id}/upload Version: 1.0 Security: x-api-key ## Path parameters: - `org` (string, required) Org is the organisation identifier. Example: "4" - `project` (string, required) Project is the project identifier. Example: "6" - `workspace` (string, required) Workspace is the resource workspace this variable is associated with. Example: "Aut impedit itaque." - `id` (string, required) The ID of the remote execution Example: "44f60521-9feb-4e97-8cf7-07880325f323" ## Header parameters: - `Harness-Account` (string, required) Account is the internal customer account ID. Example: "d3" - `Content-Length` (integer) Size in bytes of the source code. Example: 5651528278077390000 - `Content-Digest` (string, required) Content-Digest header as defined in https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Digest. Sha256 is the only supported algorithm. Example: "Voluptates praesentium praesentium soluta sit velit." ## Response 200 fields (application/json): - `account` (string, required) Account is the internal customer account ID. Example: "d" - `created` (integer, required) Created is the unix timestamp at which the resource was originally created in milliseconds. Example: 7881759442045114000 - `custom_arguments` (object) The arguments supplied to the plan. Example: {"Aut possimus et.":["Qui molestias.","Libero et rem vel amet maiores quas.","A commodi et cum dicta.","Odit quo ipsum."],"Autem beatae.":["Iste voluptas consequatur nemo.","Corporis harum sapiente est autem unde fugiat.","Maxime est perspiciatis facilis id."],"Voluptatum veniam est.":["Laboriosam repellat sit occaecati.","Veritatis quos consequatur mollitia quaerat ab atque.","Sed accusamus."]} - `executed` (boolean, required) The boolean value indicating if the remote execution has been executed. - `id` (string, required) The ID of the remote execution. Example: "cee769da-410b-4a2f-b5df-f59f12c98147" - `org` (string, required) Org is the organisation identifier. Example: "1" - `pipeline_execution_id` (string, required) The pipeline execution ID of the pipeline executing the remote execution Example: "Consectetur nemo officiis natus." - `pipeline_execution_url` (string, required) The pipeline execution URL of the pipeline executing the remote execution Example: "Incidunt cumque optio esse inventore voluptatum inventore." - `project` (string, required) Project is the project identifier. Example: "k" - `sha256_checksum` (string, required) The checksum of the patch file of changes that the remote execution will run against. Example: "Rerum modi repellat aliquid accusamus praesentium." - `updated` (integer, required) Modified is the unix timestamp at which the resource was last modified in milliseconds. Example: 8542304875492756000 - `workspace` (string, required) The workspace associated with the remote execution. Example: "Omnis quae ut magni fugit at." ## Response 400 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 401 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 403 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 404 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 408 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 409 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 423 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 499 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 500 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 502 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? - `timeout` (boolean, required) Is the error a timeout? Example: true