Runtime Validation

Upload a runtime validation local artifact

Upload a compiled local application artifact in base64 chunks for a LOCAL_ARTIFACT profile. Supported artifacts are extensionless executables and .zip, .tar, .tar.gz, .tgz, .exe, or .elf files. The artifact must target Linux x86_64/amd64 and will be tested inside the Runtime Validation gVisor container. The first chunk returns a fileId; include that fileId on subsequent chunks.

post/api/v2/runtimeValidation/uploadLocalArtifact

Request

  • Base URL
    https://zeropath.com
  • Auth
    API key in header X-ZeroPath-API-Token-Id and API key in header X-ZeroPath-API-Token-Secret

Request body

organizationIdstring
profileIdstring required
filenamestring required

Artifact filename. Supported inputs are extensionless executables or files ending in .zip, .tar, .tar.gz, .tgz, .exe, or .elf.

contentTypestring
byteSizeinteger required
chunkstring required

Base64-encoded artifact chunk.

chunkIndexinteger required
totalChunksinteger required
fileIdstring uuid

Upload id returned by the first chunk. Omit for chunkIndex 0 and include for subsequent chunks.

Response

Local artifact upload progress or updated profile readiness

OR

Changes

No recorded changes to this operation across all 1 revision of this API.