メインコンテンツへスキップ
GET
/
actions
/
modules
/
{id}
/
versions
List all versions of an Actions Module
curl --request GET \
  --url https://{tenantDomain}/api/v2/actions/modules/{id}/versions \
  --header 'Authorization: Bearer <token>'
{
  "versions": [
    {
      "id": "<string>",
      "module_id": "<string>",
      "version_number": 123,
      "code": "<string>",
      "secrets": [
        {
          "name": "<string>",
          "updated_at": "2023-11-07T05:31:56Z"
        }
      ],
      "dependencies": [
        {
          "name": "<string>",
          "version": "<string>"
        }
      ],
      "created_at": "2023-11-07T05:31:56Z"
    }
  ],
  "total": 123,
  "page": 123,
  "per_page": 123
}

承認

Authorization
string
header
必須

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

パスパラメータ

id
string
必須

The unique ID of the module.

クエリパラメータ

page
integer

Use this field to request a specific page of the list results.

per_page
integer

The maximum number of results to be returned by the server in a single response. 20 by default.

レスポンス

The module versions were retrieved.

versions
object[]

A list of ActionsModuleVersion objects.

total
integer

The total number of versions for this module.

page
integer

The page index of the returned results.

per_page
integer

The number of results requested per page.