@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api MixerBox FreecableTV
@base https://api.freetv-app.com
@version v1
@endpoints 3
@toc services?funcs=GetShowsForChatGPT&mobile=0(1), services?funcs=GetMoviesForChatGPT&mobile=0(1), services?funcs=GetChannelsForChatGPT&mobile=0(1)

@group services?funcs=GetShowsForChatGPT&mobile=0
@endpoint GET /services?funcs=GetShowsForChatGPT&mobile=0
@optional {country: str(tw/us/jp), category: str(latest/trending/drama/horror/sci-fi/thriller/kids/action/comedy/western/animation/crime/documentary/sports/reality/variety), offset: int, limit: int}
@returns(200) {GetShowsForChatGPT: map{items: [map], rules: [str]}}

@endgroup

@group services?funcs=GetMoviesForChatGPT&mobile=0
@endpoint GET /services?funcs=GetMoviesForChatGPT&mobile=0
@optional {country: str, category: str(latest/trending/drama/horror/sci-fi/thriller/kids/action/comedy/western), offset: int, limit: int}
@returns(200) {GetMoviesForChatGPT: map{items: [map], rules: [str]}}

@endgroup

@group services?funcs=GetChannelsForChatGPT&mobile=0
@endpoint GET /services?funcs=GetChannelsForChatGPT&mobile=0
@optional {country: str(tw/us/jp), category: str(news/sports/live/politics/business/review), offset: int, limit: int}
@returns(200) {GetChannelsForChatGPT: map{items: [map], rules: [str]}}

@endgroup

@end
