IsLatestVersion (Source Function)
GET {{host}}/{{version}}/{{workspace_id}}/functions/sfn_{{source_id}}/is-latest-version
IsLatestVersion is used to check whether a source instance is running the latest code from its associated source function class. It can be used to determine whether a Deploy is necessary to update the code. If IsLatestVersion is true, Deploy would be a no-op.
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"is_latest":true}