{
  "version": "2.17.0",
  "brand": "WorldCupLive.Ph",
  "baseDomain": "http://worldcuplive.ph",
  "activeSource": "api",
  "sourceOptions": {
    "jsonFile": {
      "enabled": false,
      "label": "FTP / Hosted JSON File - Disabled",
      "path": "/data/source.json",
      "description": "Disabled by default. Enable only as fallback when API mode is OFF.",
      "lockedDefault": false
    },
    "api": {
      "enabled": true,
      "label": "Live REST API - Enabled",
      "baseUrl": "https://api.worldcuplive.ph/",
      "method": "GET",
      "authType": "bearer",
      "bearerToken": "sk_17ab6d835416f5b5105547189899ae5bb7e1bd0373295ef3",
      "apiKey": "",
      "headers": {
        "Accept": "application/json",
        "Origin": "https://worldcuplive.ph/",
        "X-Website-Name": "worldcupliveph"
      },
      "endpoints": {
        "allMatches": "/api/ai-generated",
        "matchById": "/byapi/ai-generated/{match_id}",
        "groups": "/api/teams/groups",
        "groupById": "/api/teams/groups/{group_id}",
        "teamById": "/api/teams/{team_id}",
        "allTeams": "/api/teams/"
      },
      "disabledByDefault": false,
      "locked": false,
      "disableReason": "",
      "origin": "https://worldcuplive.ph/"
    }
  },
  "refreshInterval": "15sec",
  "cacheMinutes": 0,
  "recordsPath": "records",
  "adminNotes": [
    "Default active source is Live REST API at https://api.worldcuplive.ph/.",
    "FTP / Hosted JSON File /data/source.json is disabled by default and available only as fallback.",
    "Use the ON/OFF switches in the admin API settings page to change data source mode.",
    "For public production, route API requests through a backend proxy when possible so bearer tokens are not exposed in browser source.",
    "Required Origin field is set to https://worldcuplive.ph/. Browsers send the real Origin automatically; use the stored value for proxy/server-side API requests and documentation.",
    "Scorebat Media API provider is enabled for featured-feed, free-feed, live-streams, updated-endpoints, competition and team feeds with cache rules per feed type."
  ],
  "pageGeneration": [
    "live-scores",
    "matches",
    "fixtures",
    "results",
    "standings",
    "competitions",
    "teams",
    "players",
    "predictions",
    "odds",
    "news",
    "transfers",
    "highlights",
    "watch-live",
    "stadiums",
    "referees",
    "statistics",
    "rankings",
    "fantasy-football"
  ],
  "providers": {
    "scorebat": {
      "enabled": true,
      "label": "Scorebat Media API - Enabled",
      "provider": "Scorebat",
      "type": "Paid Video / Embed JSON API",
      "priority": "Media Provider",
      "token": "Mjk2NzYxXzE3ODAzNjYzOTNfMDQxNmM3NDk5ZDIwZDcyZmIxMTg3MjVjZDk0MTFjOWNkMjRlYzc5NA==",
      "baseUrl": "https://www.scorebat.com/video-api/v3/",
      "endpoints": {
        "featuredFeed": "featured-feed/",
        "freeFeed": "free-feed/",
        "liveStreams": "live-streams/",
        "updatedEndpoints": "updated-endpoints/",
        "competitionPremierLeague": "competition/england-premier-league/",
        "teamPremierLeague": "team/england-premier-league/"
      },
      "generatedUrls": {
        "featuredFeed": "https://www.scorebat.com/video-api/v3/featured-feed/?token=Mjk2NzYxXzE3ODAzNjYzOTNfMDQxNmM3NDk5ZDIwZDcyZmIxMTg3MjVjZDk0MTFjOWNkMjRlYzc5NA==",
        "freeFeed": "https://www.scorebat.com/video-api/v3/free-feed/?token=Mjk2NzYxXzE3ODAzNjYzOTNfMDQxNmM3NDk5ZDIwZDcyZmIxMTg3MjVjZDk0MTFjOWNkMjRlYzc5NA==",
        "liveStreams": "https://www.scorebat.com/video-api/v3/live-streams/?token=Mjk2NzYxXzE3ODAzNjYzOTNfMDQxNmM3NDk5ZDIwZDcyZmIxMTg3MjVjZDk0MTFjOWNkMjRlYzc5NA==",
        "updatedEndpoints": "https://www.scorebat.com/video-api/v3/updated-endpoints/?token=Mjk2NzYxXzE3ODAzNjYzOTNfMDQxNmM3NDk5ZDIwZDcyZmIxMTg3MjVjZDk0MTFjOWNkMjRlYzc5NA==",
        "competitionPremierLeague": "https://www.scorebat.com/video-api/v3/competition/england-premier-league/?token=Mjk2NzYxXzE3ODAzNjYzOTNfMDQxNmM3NDk5ZDIwZDcyZmIxMTg3MjVjZDk0MTFjOWNkMjRlYzc5NA==",
        "teamPremierLeague": "https://www.scorebat.com/video-api/v3/team/england-premier-league/?token=Mjk2NzYxXzE3ODAzNjYzOTNfMDQxNmM3NDk5ZDIwZDcyZmIxMTg3MjVjZDk0MTFjOWNkMjRlYzc5NA=="
      },
      "cacheRulesMinutes": {
        "featuredFeed": 30,
        "freeFeed": 60,
        "liveStreams": 5,
        "updatedEndpoints": 360,
        "competitionPremierLeague": 120,
        "teamPremierLeague": 120
      },
      "routes": [
        "/highlights/",
        "/watch-live/",
        "/news/",
        "/embed/highlights/",
        "/embed/watch-live/",
        "/media/",
        "/media/embed-center/"
      ],
      "notes": [
        "Scorebat is routed only to media/video/highlight modules. WorldCupLive API remains the primary sports data source."
      ]
    }
  },
  "productionRules": {
    "uniqueApiRecords": true,
    "paginateWhenRecordsExceed": 13
  },
  "globalApiDefaults": {
    "baseUrl": "https://api.worldcuplive.ph/",
    "bearerToken": "sk_17ab6d835416f5b5105547189899ae5bb7e1bd0373295ef3",
    "origin": "https://worldcuplive.ph/",
    "websiteName": "worldcupliveph",
    "authMode": "Bearer",
    "activeSource": "api"
  }
}
