{
  "manifest_version": "1.0.0",
  "template": {
    "id": "77ecfdd0-fce7-433d-81d3-5b0e8677a5cb",
    "slug": "TxkIsO",
    "name": "Apex Legends Server Status Discord Bot",
    "description": "Show the current status of the Apex Legends login/matchmaking servers!",
    "url": "https://railway.com/deploy/TxkIsO",
    "upstream": {
      "repo_url": "https://github.com/StryderDev/Atlas"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Apex Legends Server Status",
      "source": {
        "repo": "https://github.com/StryderDev/Atlas"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "DEBUG",
      "service": "Apex Legends Server Status",
      "description": "For development purposes. For a live bot, set this to false.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "ALS_API",
      "service": "Apex Legends Server Status",
      "description": "Apex Legends API key. Get the key from https://apexlegendsapi.com/",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "ENABLED",
      "service": "Apex Legends Server Status",
      "description": "Must be true for the status to update.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "SERVER_ID",
      "service": "Apex Legends Server Status",
      "description": "The server ID that the message will be posted in.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "CHANNEL_ID",
      "service": "Apex Legends Server Status",
      "description": "The channel ID that the message will be posted in.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "MESSAGE_ID",
      "service": "Apex Legends Server Status",
      "description": "You MUST run the bot before setting this variable. Run the bot, type /template, and then copy the message ID into this variable.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "FORCE_COLOR",
      "service": "Apex Legends Server Status",
      "description": "For chalk colors in console logs.",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "DISCORD_TOKEN",
      "service": "Apex Legends Server Status",
      "description": "Discord bot token. Get the token from https://discord.com/developers/applications",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "TxkIsO"
      }
    },
    "cli": "railway deploy --template TxkIsO",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "77ecfdd0-fce7-433d-81d3-5b0e8677a5cb",
            "serializedConfig": {
              "services": {
                "b387b856-c2d1-4bcd-8934-b788a55eb26e": {
                  "name": "Apex Legends Server Status",
                  "build": {},
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "repo": "https://github.com/StryderDev/Atlas",
                    "rootDirectory": "/"
                  },
                  "variables": {
                    "DEBUG": {
                      "isOptional": false,
                      "description": "For development purposes. For a live bot, set this to false.",
                      "defaultValue": "false"
                    },
                    "ALS_API": {
                      "isOptional": false,
                      "description": "Apex Legends API key. Get the key from https://apexlegendsapi.com/",
                      "defaultValue": "{{ALS_API}}"
                    },
                    "ENABLED": {
                      "isOptional": false,
                      "description": "Must be true for the status to update.",
                      "defaultValue": "true"
                    },
                    "EMOTE_UP": {
                      "isOptional": true,
                      "description": "Your custom emote for the server \"UP\" status."
                    },
                    "SERVER_ID": {
                      "isOptional": false,
                      "description": "The server ID that the message will be posted in.",
                      "defaultValue": "{{SERVER_ID}}"
                    },
                    "CHANNEL_ID": {
                      "isOptional": false,
                      "description": "The channel ID that the message will be posted in.",
                      "defaultValue": "{{CHANNEL_ID}}"
                    },
                    "EMOTE_DOWN": {
                      "isOptional": true,
                      "description": "Your custom emote for the server \"DOWN\" status."
                    },
                    "EMOTE_SLOW": {
                      "isOptional": true,
                      "description": "Your custom emote for the server \"SLOW\" status."
                    },
                    "MESSAGE_ID": {
                      "isOptional": false,
                      "description": "You MUST run the bot before setting this variable. Run the bot, type /template, and then copy the message ID into this variable.",
                      "defaultValue": "0"
                    },
                    "FORCE_COLOR": {
                      "isOptional": false,
                      "description": "For chalk colors in console logs.",
                      "defaultValue": "1"
                    },
                    "DISCORD_TOKEN": {
                      "isOptional": false,
                      "description": "Discord bot token. Get the token from https://discord.com/developers/applications",
                      "defaultValue": "{{DISCORD_TOKEN}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0"
}
