> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zype.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Tcl EPG

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Playout Scheduler",
    "description": "",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.zype.com/"
    }
  ],
  "security": [
    {
      "api_key": []
    }
  ],
  "paths": {
    "/scheduler/v2/channels/{id}/epg/tcl": {
      "get": {
        "summary": "Tcl EPG",
        "description": "",
        "operationId": "getTclEPG",
        "tags": [
          "EPG"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "ID of Channel"
          },
          {
            "name": "custom_thumbnail",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            },
            "description": "If true, uses the custom thumbnail from the Assets when they have one."
          }
        ],
        "responses": {
          "200": {
            "description": "Return tcl epg for next 7 days",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Tcl EPG",
                  "type": "object",
                  "properties": {
                    "channelId": {
                      "type": "string",
                      "description": "Playout channel id"
                    },
                    "streamUrl": {
                      "type": "string",
                      "description": "Playout channel stream url"
                    },
                    "title": {
                      "type": "string",
                      "description": "Playout channel title"
                    },
                    "description": {
                      "type": "string",
                      "description": "Playout channel description"
                    },
                    "category": {
                      "type": "string",
                      "description": "Playout channel category, which is LIVE"
                    },
                    "language": {
                      "type": "string",
                      "description": "Playout channel language"
                    },
                    "avaAreas": {
                      "type": "array",
                      "description": "Playout channel availability countries"
                    },
                    "isPay": {
                      "type": "string"
                    },
                    "onLine": {
                      "type": "string"
                    },
                    "poster_vertical": {
                      "type": "string",
                      "description": "Playout channel thumbnail url"
                    },
                    "videos": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "description": "Asset id"
                          },
                          "streamUrl": {
                            "type": "string",
                            "description": "Asset streaming url"
                          },
                          "title": {
                            "type": "string",
                            "description": "Asset title"
                          },
                          "category": {
                            "type": "string",
                            "description": "Asset category values"
                          },
                          "language": {
                            "type": "string",
                            "description": "Asset language"
                          },
                          "avaAreas": {
                            "type": "array",
                            "description": "Playout channel availability countries"
                          },
                          "description": {
                            "type": "string",
                            "description": "Asset description"
                          },
                          "duration": {
                            "type": "string",
                            "description": "Asset duration"
                          },
                          "isPay": {
                            "type": "string"
                          },
                          "onLine": {
                            "type": "string"
                          },
                          "poster_vertical": {
                            "type": "string",
                            "description": "asset thumbnail url"
                          }
                        }
                      }
                    },
                    "programList": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "programId": {
                            "type": "string",
                            "description": "Rundown item ariring id"
                          },
                          "startTime": {
                            "type": "string",
                            "description": "Asset start time"
                          },
                          "endTime": {
                            "type": "string",
                            "description": "Asset end time"
                          },
                          "title": {
                            "type": "string",
                            "description": "Asset title"
                          },
                          "type": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Channel not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1scheduler~1v2~1uploads/post/responses/404/content/application~1json/schema"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "name": "X-API-Key",
        "in": "header"
      }
    }
  }
}
```