---
title: "upload code to s3"
method: POST
path: "/di/v1/codeUpload"
tags: ["Experiments"]
---

# upload code to s3

`POST /di/v1/codeUpload`

upload code.zip to s3

## Response `200`

OK

- CodeUploadResponse
  - `s3Path` string, int64 — S3 Path

## Other responses

- `401` — Unauthorized
- `404` — Code ZIP upload failed

---

[API](https://skmtc.net/webankfintech/apis/prophecis-rest-service.md) · [All operations](https://skmtc.net/webankfintech/apis/prophecis-rest-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/webankfintech/prophecis-rest-service/versions/41a1038b5854/schema)
