{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mithril API Keys lifecycle scripts API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "lifecycle scripts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Lifecycle Scripts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mithril.ai/v2/lifecycle-scripts",
            "params": [
              {
                "name": "next_cursor",
                "value": "",
                "type": "query"
              },
              {
                "name": "sort_by",
                "value": "",
                "type": "query"
              },
              {
                "name": "sort_dir",
                "value": "",
                "type": "query"
              },
              {
                "name": "project",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get all lifecycle scripts visible to user in a project"
        },
        {
          "info": {
            "name": "Create Lifecycle Script",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mithril.ai/v2/lifecycle-scripts",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a new lifecycle script"
        },
        {
          "info": {
            "name": "Get Lifecycle Script Content",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mithril.ai/v2/lifecycle-scripts/:ls_fid/content",
            "params": [
              {
                "name": "ls_fid",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get Lifecycle Script Content"
        },
        {
          "info": {
            "name": "Update Lifecycle Script",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.mithril.ai/v2/lifecycle-scripts/:ls_fid",
            "params": [
              {
                "name": "ls_fid",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update Lifecycle Script"
        },
        {
          "info": {
            "name": "Delete Lifecycle Script",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.mithril.ai/v2/lifecycle-scripts/:ls_fid",
            "params": [
              {
                "name": "ls_fid",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete Lifecycle Script"
        }
      ]
    }
  ],
  "bundled": true
}