$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "connectDescriptor": {
< "key": "com.example.connect-app",
< "name": "Example Connect App",
< "baseUrl": "https://app.example.com",
< "authentication": {
< "type": "jwt"
< },
< "lifecycle": {
< "installed": "/installed"
< },
< "enableLicensing": true,
< "scopes": [
< "READ"
< ],
< "modules": {
< "jiraIssueGlances": [
< {
< "key": "example-glance",
< "name": {
< "value": "Example"
< },
< "url": "/glance"
< }
< ]
< }
< },
< "forgeManifestYaml": "app:\n id: ari:cloud:ecosystem::app/00000000-0000-0000-0000-000000000000\n connect:\n key: com.example.connect-app\n remote: connect-backend\n licensing:\n enabled: true\nmodules:\n jira:issueContext:\n - key: example-context\n resource: main\nresources:\n - key: main\n path: static/app/build\nremotes:\n - key: connect-backend\n baseUrl: https://app.example.com\n operations:\n - compute\npermissions:\n scopes: []\n",
< "releaseGate": {
< "enabled": false,
< "failOnSeverity": "high",
< "failOnNotAvailableModule": true
< }
<}
<EOF
$curl "https://api.apify.com/v2/actors/venturesome_lunar~atlassian-app-change-impact-auditor/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'