<commit_before>package streama

class UrlMappings {

    static mappings = {
        "/$controller/$action?/$id?(.$format)?"{
            constraints {
                // apply constraints here
            }
        }


        "/api/v1/validateDomain"(controller: 'api', action: 'validateDomain')
        "/api/v1/currentUser"(controller: 'api', action: 'currentUser')

        "/api/v1/dash/listContinueWatching"(controller: 'dash', action: 'listContinueWatching')
        "/api/v1/dash/listShows"(controller: 'dash', action: 'listShows')
        "/api/v1/dash/listMovies"(controller: 'dash', action: 'listMovies')
        "/api/v1/dash/listGenericVideos"(controller: 'dash', action: 'listGenericVideos')
        "/api/v1/dash/listNewReleases"(controller: 'dash', action: 'listNewReleases')
        "/api/v1/dash/listRecommendations"(controller: 'dash', action: 'listRecommendations')
        "/api/v1/dash/mediaDetail"(controller: 'dash', action: 'mediaDetail')
        "/api/v1/dash/listEpisodesForShow"(controller: 'dash', action: 'listEpisodesForShow')

        "/api/v1/player/video/$id"(controller: 'player', action: 'video')


        "/"(view: '/index')
        "500"(view: '/error')
//        "404"(view: '/notFound')
    }


}<commit_msg>add urlmappings for cotinueWatching & updateViewingStatus<commit_after>package streama

class UrlMappings {

    static mappings = {
        "/$controller/$action?/$id?(.$format)?"{
            constraints {
                // apply constraints here
            }
        }


        "/api/v1/validateDomain"(controller: 'api', action: 'validateDomain')
        "/api/v1/currentUser"(controller: 'api', action: 'currentUser')

        "/api/v1/dash/listContinueWatching"(controller: 'dash', action: 'listContinueWatching')
        "/api/v1/dash/listShows"(controller: 'dash', action: 'listShows')
        "/api/v1/dash/listMovies"(controller: 'dash', action: 'listMovies')
        "/api/v1/dash/listGenericVideos"(controller: 'dash', action: 'listGenericVideos')
        "/api/v1/dash/listNewReleases"(controller: 'dash', action: 'listNewReleases')
        "/api/v1/dash/listRecommendations"(controller: 'dash', action: 'listRecommendations')
        "/api/v1/dash/mediaDetail"(controller: 'dash', action: 'mediaDetail')
        "/api/v1/dash/listEpisodesForShow"(controller: 'dash', action: 'listEpisodesForShow')
        "/api/v1/dash/cotinueWatching"(controller: 'dash', action: 'cotinueWatching')

        "/api/v1/player/video/$id"(controller: 'player', action: 'video')
        "/api/v1/player/updateViewingStatus"(controller: 'player', action: 'updateViewingStatus')


        "/"(view: '/index')
        "500"(view: '/error')
//        "404"(view: '/notFound')
    }


}
{'fraction_non_alphanumeric': 0.17338709677419356, 'fraction_numerical': 0.013196480938416423, 'mean_word_length': 3.1474164133738602, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6953792', 'n_tokens_mistral': 913, 'n_tokens_neox': 841, 'n_words': 134}