{
  "manifest_version": "1.0.0",
  "template": {
    "id": "9638d35f-52d9-42d6-b46d-0965e32ff986",
    "slug": "jQiMgn",
    "name": "hastebin",
    "description": "Open Source Pastebin Alternative",
    "url": "https://railway.com/deploy/jQiMgn",
    "upstream": {
      "repo_url": "https://github.com/toptal/haste-server"
    }
  },
  "services": [
    {
      "name": "haste-server",
      "source": {
        "repo": "https://github.com/toptal/haste-server"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "STORAGE_TYPE",
      "service": "haste-server",
      "description": "Provide a value for STORAGE_TYPE.",
      "secret": false,
      "strategy": "default",
      "default": "file"
    },
    {
      "key": "STORAGE_FILEPATH",
      "service": "haste-server",
      "description": "Provide a value for STORAGE_FILEPATH.",
      "secret": false,
      "strategy": "default",
      "default": "/data"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "jQiMgn"
      }
    },
    "cli": "railway deploy --template jQiMgn",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "9638d35f-52d9-42d6-b46d-0965e32ff986",
            "serializedConfig": {
              "services": {
                "3c1f98f1-2e7b-4df0-b84a-485dd85a71aa": {
                  "name": "haste-server",
                  "source": {
                    "repo": "toptal/haste-server",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "STORAGE_TYPE": {
                      "defaultValue": "file"
                    },
                    "STORAGE_FILEPATH": {
                      "defaultValue": "/data"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "3c1f98f1-2e7b-4df0-b84a-485dd85a71aa": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-21T11:42:47.975Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_baa3a3ed5cdc416f9ad6",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": false,
        "detail": "Repository \"toptal/haste-server\" not found or is not accessible"
      }
    ]
  }
}
