メインコンテンツまでスキップ

List a function's versions, newest first.

GET/api/v1/forge-functions/{forge_function_id}/versionsforge:read
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

Every version of the function; is_active marks the one that runs. Each carries why it failed (status_detail), the bundle's hash and size, who uploaded it and the routes and config keys it declares.

スコープforge:read (機密性の高いスコープ)
非同期いいえ
MCP ツールlist_forge_function_versions
Portal の権限view_forge_function_versions
ページングkeyset
既定の並び順-version_number
並べ替えに使えるフィールドversion_number, forge_function_version_id

パラメーター​

名前場所型必須説明
forge_function_idpathstring必須
limitqueryinteger任意既定値: 50; ≥ 1
cursorquerystring任意
sortquerystring任意Comma-separated sort fields, - for descending.
Docwize-Versionheaderstring (date)任意
If-None-Matchheaderstring任意Answers 304 when the representation is unchanged (resources that publish an ETag).

応答​

ステータス説明本文
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 の本文​

フィールド型必須説明
itemsForgeFunctionVersion の配列必須
next_cursorstring または null必須
warningsobject の配列必須

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

ForgeConfigKey​

フィールド型必須説明
defaultstring または null必須
descriptionstring または null必須
is_requiredboolean必須
is_secretboolean必須A secret key holds a keystore secret's name, never a value.
keystring必須

ForgeFunctionVersion​

フィールド型必須説明
bundle_sha256string または null必須Zip packaging: the uploaded bundle's SHA-256.
bundle_size_bytesstring または null必須Zip packaging: the uploaded bundle's size.
config_keysForgeConfigKey の配列必須
created_atstring (date-time) または null必須
created_byUserRef または null必須Who uploaded the version.
document_contextstring の配列必須
forge_function_idstring必須
forge_function_version_idstring必須
image_digeststring または null必須
image_tagstring または null必須
is_activeboolean必須
lambda_aliasstring または null必須
modestring または null必須The mode this version's manifest declares.
routesForgeRoute の配列必須The handles this version declares; activating a version that drops one orphans edges wired to it.
statusstring必須
status_detailobject または null必須The provisioning error of a failed version (format forge_status_detail); null while none was recorded.
version_numberinteger必須≥ -2147483648; ≤ 2147483647

ForgeRoute​

フィールド型必須説明
descriptionstring または null必須
handlestring必須
labelstring必須

UserRef​

フィールド型必須説明
display_namestring必須
kindstring: user, system, integration または string必須
user_idstring または null必須