Function Commit

Create Initial Commit

Changed on

CreateInitialCommit starts a new commit and returns upload URLs for files

post/api/v1/functions/{function_id}/commits

Request

  • Base URL
    https://example.conductor.one
  • URL
    https://example.conductor.one/api/v1/functions/{function_id}/commits
  • Auth
    HTTP bearer and OAuth 2
    Client credentials
    Token URL: /auth/v1/token

Path parameters

function_idstring required

The functionId field.

Request body

commitMessagestring

The commitMessage field.

filenamesstring[] nullable

The filenames field.

Response

Successful response

commitIdstring

The commitId field.

uploadUrlsobject

The uploadUrls field.

Changes