メインコンテンツへスキップ
GET
https://{tenantDomain}/api/v2
/
actions
/
modules
/
{id}
IDで特定のActions Moduleを取得
curl --request GET \
  --url https://{tenantDomain}/api/v2/actions/modules/{id} \
  --header 'Authorization: Bearer <token>'
{
  "actions_using_module_total": 123,
  "all_changes_published": true,
  "code": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "dependencies": [
    {
      "name": "<string>",
      "version": "<string>"
    }
  ],
  "id": "<string>",
  "latest_version": {
    "code": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "dependencies": [
      {
        "name": "<string>",
        "version": "<string>"
      }
    ],
    "id": "<string>",
    "secrets": [
      {
        "name": "<string>",
        "updated_at": "2023-11-07T05:31:56Z"
      }
    ],
    "version_number": 123
  },
  "latest_version_number": 123,
  "name": "<string>",
  "secrets": [
    {
      "name": "<string>",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "updated_at": "2023-11-07T05:31:56Z"
}

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

パスパラメータ

id
string
必須

取得する Action Module の ID。

レスポンス

Action Module を取得しました。

actions_using_module_total
integer

このモジュールを使用しているデプロイ済み Actions の数。

all_changes_published
boolean

すべてのドラフト変更がバージョンとして公開されているかどうか。

code
string

モジュールのドラフト版のソースコード。

created_at
string<date-time>

モジュールが作成されたタイムスタンプ。

dependencies
object[]

モジュールのドラフト版の npm 依存関係。

id
string

モジュールの一意の ID。

latest_version
object

参照オブジェクトとしての最新の公開済みバージョン。公開済みバージョンがない場合は省略されます。

latest_version_number
integer

最新の公開済みバージョンのバージョン番号。公開済みバージョンがない場合は省略されます。

name
string

モジュール名。

secrets
object[]

モジュールのドラフト版のシークレット(名前とタイムスタンプのみ。値は返されません)。

updated_at
string<date-time>

モジュールが最後に更新されたタイムスタンプ。