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

Get one Forge function.

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

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

The function's settings and its active version. An archived function is returned with archived set.

スコープforge:read (機密性の高いスコープ)
非同期いいえ
MCP ツールget_forge_function
Portal の権限view_forge_functions

パラメーター​

名前場所型必須説明
forge_function_idpathstring必須
Docwize-Versionheaderstring (date)任意
If-None-Matchheaderstring任意Answers 304 when the representation is unchanged (resources that publish an ETag).

応答​

ステータス説明本文
200Success.application/json ForgeFunction
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
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

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

スキーマ​

ForgeConfigKey​

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

ForgeFunction​

フィールド型必須説明
active_version_numberinteger または null必須The number of the version that runs.
archivedboolean必須
artifacts_enabledboolean必須
config_keysForgeConfigKey の配列必須The settings a workflow step using the function asks for.
created_atstring (date-time) または null必須
default_modestring必須
descriptionstring または null必須
display_namestring必須
document_contextstring の配列必須The optional document blocks the active version asked for (tags, folders, locations, review, collected_files).
entrypointstring の配列必須Container packaging: the command the shim runs inside the image.
env_configobject必須The function's environment variables, as an opaque forge_env_config document (format_version 1).
forge_function_idstring必須
forge_function_version_idstring または null必須The version that runs; null when none is active.
handlerstring または null必須Zip packaging: the code's entry point.
invocations_30_daysinteger必須Runs dispatched in the last 30 days. ≥ -2147483648; ≤ 2147483647
last_invoked_atstring (date-time) または null必須
latest_version_statusstring または null必須The provisioning state of the newest version, so a list shows one that is still deploying.
max_artifactsinteger必須≥ -2147483648; ≤ 2147483647
memory_mbinteger必須≥ -2147483648; ≤ 2147483647
namestring必須
output_schemaobject または null必須The JSON Schema of the function's output (format forge_output_schema); null when it declares none.
packagingstring必須
registry_repository_uristring または null必須Container packaging: where the image is pushed; null until the Portal made the repository.
routesForgeRoute の配列必須The handles a workflow edge leaves the function's step by.
runtimestring必須
timeout_secondsinteger必須≥ -2147483648; ≤ 2147483647

ForgeRoute​

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