{
  "manifest_version": "1.0.0",
  "template": {
    "id": "49a1a358-9387-4115-ab61-31d30d3ec5cf",
    "slug": "_6W-dI",
    "name": "spoo-me",
    "description": "Self-Host spoo.me URL shortener on railway.app",
    "url": "https://railway.com/deploy/_6W-dI",
    "upstream": {
      "repo_url": "https://github.com/spoo-me/url-shortener"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "url-shortener",
      "source": {
        "repo": "https://github.com/spoo-me/url-shortener"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "MONGODB_URI",
      "service": "url-shortener",
      "description": "Provide a value for MONGODB_URI.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "CONTACT_WEBHOOK",
      "service": "url-shortener",
      "description": "Provide a value for CONTACT_WEBHOOK.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "URL_REPORT_WEBHOOK",
      "service": "url-shortener",
      "description": "Provide a value for URL_REPORT_WEBHOOK.",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "_6W-dI"
      }
    },
    "cli": "railway deploy --template _6W-dI",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "49a1a358-9387-4115-ab61-31d30d3ec5cf",
            "serializedConfig": {
              "services": {
                "936d73e9-57bd-4473-9326-b43c221ee4a2": {
                  "name": "url-shortener",
                  "source": {
                    "repo": "spoo-me/url-shortener",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "MONGODB_URI": {
                      "description": "",
                      "defaultValue": "{{MONGODB_URI}}"
                    },
                    "CONTACT_WEBHOOK": {
                      "description": "",
                      "defaultValue": "{{CONTACT_WEBHOOK}}"
                    },
                    "URL_REPORT_WEBHOOK": {
                      "description": "",
                      "defaultValue": "{{URL_REPORT_WEBHOOK}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0"
}
