Function Commit

Get Commit Content

Changed on

GetCommitContent retrieves a commit and all its file contents in a single unary response. This is a non-streaming alternative to GetCommit for REST API consumers.

get/api/v1/functions/{function_id}/commits/{id}

Request

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

Path parameters

function_idstring required

The function ID (KSUID).

idstring required

The commit reference to retrieve. Accepts a KSUID, "HEAD", or a tag reference like "refs/tags/v1.0".

Response

FunctionsServiceGetCommitContentResponse contains a commit and all its file contents.

filesobject

Map of filename to file content bytes.

Changes