Upload one source file with its content hash

put/v1/projects/{project_id}/source/uploads/{operation_id}/files

Request

  • Base URL: https://app.ohmyho.st
  • URL: https://app.ohmyho.st/v1/projects/{project_id}/source/uploads/{operation_id}/files
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project identifier.

operation_idstring required

Operation identifier.

Headers

X-Request-Idstring

Optional caller-provided correlation identifier.

Idempotency-Keystring required

Identifies one mutation and its canonical request payload.

Request body

pathstring required

Printable ASCII USTAR-compatible relative repository path without dot segments, backslashes, Git metadata or credential files. Environment secrets use the protected secret form; .env.example is allowed.

content_base64string byte required
executableboolean required
sha256string required

Response

The tenant-scoped managed source result.

pathstring required

Printable ASCII USTAR-compatible relative repository path without dot segments, backslashes, Git metadata or credential files. Environment secrets use the protected secret form; .env.example is allowed.

sha256string required
byte_lengthinteger required
executableboolean required

Changes

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