/*
 * Copyright 2014 Chris Banes
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * 
 */

package com.uwetrottmann.tmdb.services;

import com.uwetrottmann.tmdb.entities.Credits;
import com.uwetrottmann.tmdb.entities.Person;
import com.uwetrottmann.tmdb.entities.PersonCredits;

import retrofit.http.GET;
import retrofit.http.Path;

public interface PersonService {

    /**
     * Get the general person information for a specific id.
     *
     * @param tmdbId TMDb id.
     */
    @GET("/person/{id}")
    Person summary(
            @Path("id") int tmdbId
    );

    /**
     * Get the movie credits for a specific person id.
     *
     * @param tmdbId TMDb id.
     */
    @GET("/person/{id}/movie_credits")
    PersonCredits movieCredits(
            @Path("id") int tmdbId
    );

    /**
     * Get the TV credits for a specific person id.
     *
     * @param tmdbId TMDb id.
     */
    @GET("/person/{id}/tv_credits")
    PersonCredits tvCredits(
            @Path("id") int tmdbId
    );

    /**
     * Get the movie & TV credits for a specific person id.
     *
     * @param tmdbId TMDb id.
     */
    @GET("/person/{id}/combined_credits")
    PersonCredits combinedCredits(
            @Path("id") int tmdbId
    );

}

@@ -639,55 +639,8 @@
 s;%0A%0A
-import com.uwetrottmann.tmdb.entities.Credits;%0A
 impo
@@ -734,17 +734,16 @@
 redits;%0A
-%0A
 import r
@@ -786,16 +786,44 @@
 tp.Path;
+%0Aimport retrofit.http.Query;
 %0A%0Apublic
@@ -1301,422 +1301,1414 @@
 the 
-TV credits for a specific person id.%0A     *%0A     * @param tmdbId TMDb id.%0A     */%0A    @GET(%22/person/%7Bid%7D/tv_credits%22)%0A    PersonCredits tvCredits(%0A            @Path(%22id%22) int tmdbId%0A    );%0A%0A    /**%0A     * Get the movie & TV credits for a specific person id.%0A     *%0A     * @param tmdbId TMDb id.%0A     */%0A    @GET(%22/person/%7Bid%7D/combined_credits%22)%0A    PersonCredits combinedCredits(%0A            @Path(%22id%22) int tmdbId
+movie credits for a specific person id.%0A     *%0A     * @param tmdbId   TMDb id.%0A     * @param language %3Cem%3EOptional.%3C/em%3E ISO 639-1 code.%0A     */%0A    @GET(%22/person/%7Bid%7D/movie_credits%22)%0A    PersonCredits movieCredits(%0A            @Path(%22id%22) int tmdbId,%0A            @Query(%22language%22) String language%0A    );%0A%0A    /**%0A     * Get the TV credits for a specific person id.%0A     *%0A     * @param tmdbId TMDb id.%0A     */%0A    @GET(%22/person/%7Bid%7D/tv_credits%22)%0A    PersonCredits tvCredits(%0A            @Path(%22id%22) int tmdbId%0A    );%0A%0A    /**%0A     * Get the TV credits for a specific person id.%0A     *%0A     * @param tmdbId   TMDb id.%0A     * @param language %3Cem%3EOptional.%3C/em%3E ISO 639-1 code.%0A     */%0A    @GET(%22/person/%7Bid%7D/tv_credits%22)%0A    PersonCredits tvCredits(%0A            @Path(%22id%22) int tmdbId,%0A            @Query(%22language%22) String language%0A    );%0A%0A    /**%0A     * Get the movie & TV credits for a specific person id.%0A     *%0A     * @param tmdbId TMDb id.%0A     */%0A    @GET(%22/person/%7Bid%7D/combined_credits%22)%0A    PersonCredits combinedCredits(%0A            @Path(%22id%22) int tmdbId%0A    );%0A%0A    /**%0A     * Get the movie & TV credits for a specific person id.%0A     *%0A     * @param tmdbId   TMDb id.%0A     * @param language %3Cem%3EOptional.%3C/em%3E ISO 639-1 code.%0A     */%0A    @GET(%22/person/%7Bid%7D/combined_credits%22)%0A    PersonCredits combinedCredits(%0A            @Path(%22id%22) int tmdbId,%0A            @Query(%22language%22) String language
 %0A   

Add language variants on person credits methods.