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_id | path | string | 必須 | |
limit | query | integer | 任意 | 既定値: 50; ≥ 1 |
cursor | query | string | 任意 | |
sort | query | string | 任意 | Comma-separated sort fields, - for descending. |
Docwize-Version | header | string (date) | 任意 | |
If-None-Match | header | string | 任意 | Answers 304 when the representation is unchanged (resources that publish an ETag). |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json object |
304 | Not modified (If-None-Match matched the ETag). | |
400 | invalid_version | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
410 | cursor_expired | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | invalid_cursor, validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
200 の本文
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
items | ForgeFunctionVersion の配列 | 必須 | |
next_cursor | string または null | 必須 | |
warnings | object の配列 | 必須 |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
スキーマ
ForgeConfigKey
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
default | string または null | 必須 | |
description | string または null | 必須 | |
is_required | boolean | 必須 | |
is_secret | boolean | 必須 | A secret key holds a keystore secret's name, never a value. |
key | string | 必須 |
ForgeFunctionVersion
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
bundle_sha256 | string または null | 必須 | Zip packaging: the uploaded bundle's SHA-256. |
bundle_size_bytes | string または null | 必須 | Zip packaging: the uploaded bundle's size. |
config_keys | ForgeConfigKey の配列 | 必須 | |
created_at | string (date-time) または null | 必須 | |
created_by | UserRef または null | 必須 | Who uploaded the version. |
document_context | string の配列 | 必須 | |
forge_function_id | string | 必須 | |
forge_function_version_id | string | 必須 | |
image_digest | string または null | 必須 | |
image_tag | string または null | 必須 | |
is_active | boolean | 必須 | |
lambda_alias | string または null | 必須 | |
mode | string または null | 必須 | The mode this version's manifest declares. |
routes | ForgeRoute の配列 | 必須 | The handles this version declares; activating a version that drops one orphans edges wired to it. |
status | string | 必須 | |
status_detail | object または null | 必須 | The provisioning error of a failed version (format forge_status_detail); null while none was recorded. |
version_number | integer | 必須 | ≥ -2147483648; ≤ 2147483647 |
ForgeRoute
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
description | string または null | 必須 | |
handle | string | 必須 | |
label | string | 必須 |
UserRef
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
display_name | string | 必須 | |
kind | string: user, system, integration または string | 必須 | |
user_id | string または null | 必須 |