{
  "openapi": "3.0.1",
  "info": {
    "title": "Jira GitHub Development-Link Health Check",
    "description": "Find missing or stale Jira–GitHub development links. Free read-only scan of one Jira Cloud site + one GitHub org. Detects PRs that never linked and PRs still open in Jira after every matching PR closed. Actionable next steps.",
    "version": "0.2",
    "x-build-id": "Yvc1ZYueXKvnHHzLE"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/kjjkjjzyayufqza~jira-github-devlink-health/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-kjjkjjzyayufqza-jira-github-devlink-health",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/kjjkjjzyayufqza~jira-github-devlink-health/runs": {
      "post": {
        "operationId": "runs-sync-kjjkjjzyayufqza-jira-github-devlink-health",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/kjjkjjzyayufqza~jira-github-devlink-health/run-sync": {
      "post": {
        "operationId": "run-sync-kjjkjjzyayufqza-jira-github-devlink-health",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "jiraBaseUrl",
          "jiraEmail",
          "jiraApiToken",
          "jiraProjectKeys",
          "githubToken",
          "githubOrganization"
        ],
        "properties": {
          "jiraBaseUrl": {
            "title": "Jira Cloud URL",
            "pattern": "^https://[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?\\.atlassian\\.net/?$",
            "minLength": 23,
            "maxLength": 255,
            "type": "string",
            "description": "Your Jira Cloud site URL. Find it in the browser address bar after opening Jira; do not include /jira, /rest, query parameters, or credentials."
          },
          "jiraCloudId": {
            "title": "Jira cloud ID (optional)",
            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$",
            "type": "string",
            "description": "Required only for a scoped Atlassian API token. Copy the UUID returned by https://<site>.atlassian.net/_edge/tenant_info. Leave this field empty when using a classic Jira API token."
          },
          "jiraEmail": {
            "title": "Jira account email",
            "type": "string",
            "description": "Email address belonging to the dedicated Jira account that created the token. This is a secret field and is not included in output."
          },
          "jiraApiToken": {
            "title": "Jira API token",
            "type": "string",
            "description": "A read-only Atlassian API token for the account above. Create it in Atlassian account settings. Never paste this token into a repository, log, support ticket, or result."
          },
          "jiraProjectKeys": {
            "title": "Jira project keys",
            "minItems": 1,
            "maxItems": 20,
            "uniqueItems": true,
            "type": "array",
            "description": "Every Jira project the Actor is allowed to inspect. Enter the 2+ character uppercase alphanumeric project key, such as ENG—not a project name or URL. Referenced keys outside this list are reported as out of scope.",
            "items": {
              "type": "string",
              "minLength": 2,
              "maxLength": 64,
              "pattern": "^[A-Z][A-Z0-9]+$"
            }
          },
          "githubToken": {
            "title": "GitHub token",
            "type": "string",
            "description": "An expiring read-only fine-grained token owned by a GitHub organisation owner. Select all organisation repositories, Metadata read, and Pull requests read-only. This secret is not included in output."
          },
          "githubOrganization": {
            "title": "GitHub organisation",
            "pattern": "^[A-Za-z0-9](?:[A-Za-z0-9-]{0,37}[A-Za-z0-9])?$",
            "minLength": 1,
            "maxLength": 39,
            "type": "string",
            "description": "The exact organisation login shown in GitHub URLs. Do not enter https://github.com/ or a personal username."
          },
          "repositories": {
            "title": "Repository safety pin (optional)",
            "maxItems": 5,
            "uniqueItems": true,
            "type": "array",
            "description": "Normally leave this empty: the Actor safely discovers and checks every organisation repository on every run. To pin change control, enter the complete list in owner/name form; a mismatch returns incomplete and is not charged. Version 0.2 supports organisations with at most five repositories.",
            "items": {
              "type": "string",
              "minLength": 3,
              "maxLength": 140,
              "pattern": "^[A-Za-z0-9](?:[A-Za-z0-9-]{0,37}[A-Za-z0-9])?/(?!\\.{1,2}$)[A-Za-z0-9._-]{1,100}$"
            }
          },
          "lookbackDays": {
            "title": "Lookback days",
            "minimum": 1,
            "maximum": 90,
            "type": "integer",
            "description": "Number of rolling 24-hour periods to scan for recently updated pull requests. Use 30 for the recommended balance of coverage, runtime, and cost.",
            "default": 30
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}