diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 75a028f..ac6b0ae 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -4,9 +4,7 @@ diff --git a/.idea/misc.xml b/.idea/misc.xml index dfd2c79..37a7509 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,6 @@ - + diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index dced426..483db85 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -11,6 +11,7 @@ getAccounts( + // @Query("uId") String uId, + // @Query("token") String token +// ); + + //アカウントの作成 +// @FormUrlEncoded +// @POST("accounts") +// Call PostSignUp( +// @Field("email") String email, +// @Field("password") String password, +// @Field("name") String name +// ); + + //アカウントのログイン +// @FormUrlEncoded +// @PUT("accounts") +// Call putAccounts( +// @Field("name") String name, +// @Field("password") String password +// ); + + + //指定アカウントを取得 +// @GET("accounts/{uId}") +// Call accountsDetail( +// @Path("uId") String uId, +// @Query("name") String name, +// @Query("introduction") String introduction, +// @Query("following") String followings, +// @Query("follower") String follower, +// @Query("contributions") String contributions, +// @Query("history") String history +// ); + + //アカウントの消去 +// @DELETE("accounts/{uId}") +// Call accountDelete( +// @Path("uId") String uId, +// @Query("password") String password +// ) + + //アカウントのログイン +// @PUT("accounts/{uId}/login") +// Call accountLogin( +// @Path("uId") String uId, +// @Field("password") String password, +// @Field("message") String message, +// @Field("token") String token +// ); + + + //指定アカウントのフォローを取得 +// @GET("accounts/{uId}/followings") +// Call getAccountFollowings( +// @Path("uId") String uId, +// @Query("followings") List followings, +// +// ); + + //指定アカウントをフォローリストに追加 +// @POST("accounts/{uId}/followings") +// Call postAccountsFollowings( +// @Path("uId") String uId, +// @Field("password") String password, +// @Field("new_follower") String new_follower, +// @Field("message") String message +// ); + + //指定アカウントをフォローリストから削除 +// @DELETE("accounts/{uId}/followings") +// Call deleteAccountsFollowings( +// @Path("uId") String uId, +// @Query("password") String password, +// @Query("delete_following") string delete_following, +// @Query("message") String message +// ); + + //指定アカウントのフォロワーを取得 + // @GET("accounts/{uId}/followers") +// Call getAccountFollowers( +// @Path("uId") String uId, +// @Query("followers") List followers, +// +// ); + //指定アカウントをフォロワーリストへ追加 +// @POST("accounts/{uId}/followers") +// Call postAccountFollowers( +// @Path("uId") String uId, +// @Field("password") String password, +// @Field("new_follower") String new_follower, +// @Field("message") String message +// ); + + + //指定アカウントをフォロワーリストから消去 + // @DELETE("accounts/{uId}/followers") +// Call deleteAccountsFollowers( +// @Path("uId") String uId, +// @Query("password") String password, +// @Query("delete_follower") String delete_follower, +// @Query("message") String message +// ); + + + //名前の取得 +// @GET("accounts/{uId}/name") +// Call getAccountName( +// @Path("uId") String uId, +// @Query("name") String name +// +// ); + + //名前の修正 +// @POST("accounts/{uId}/name") + // Call postName( +// @Path("uId") String uId, +// @Field("password") String password, +// @Field("new_name") String new_name, +// @Field("message") String message +// ); + + //パスワードの修正 +// @PUT("accounts/{uid}/password") +// Call putPassword( +// @Field("uId") String uId, +// @Field("password") String password, +// @Field("new_password") String new_name, +// @Field("message") String message +// ); + + //自己紹介の修正 +// @PUT("accounts/{uid}/introduction") +// Call putIntroduction( +// @Path("uId") String uId, +// @Field("password") String password, +// @Field("new_introduction") String new_introduction, +// @Field("message") String message +// ); + + //ボイスメモの視聴履歴 + // @GET("accounts/{uId}/history") +// Call getHistory( +// @Path("uId") String uId, +// @Query("history") List history +// ); + + //指定アカウントの履歴にvidを追加 + // @POST("accounts/{uId}/history") + // Call postHistory( +// @Path("uId") String uId, +// @Field("password") String password, +// @Field("target_vid") String target_vid, +// @Field("message") String message +// ); + + //指定アカウントの履歴を削除 + // @DELETE("accounts/{uId}/history") +// Call deleteHistory( +// @Path("uId") String uId, +// @Query("password") String password, +// @Query("target_vid") String target_vid, +// @Query("message") String message +// ); + + //今までの投稿 + // @GET("accounts/{uId}/contributions") +// Call getContributions( +// @Path("uId") String uId, +// @Query("contributions") List contributions +// +// ); + + //指定アカウントの投稿リストへ追加 + // @POST("accounts/{uId}/contributions") + // Call postContributions( +// @Path("uId") String uId, +// @Field("password") String password, +// @Field("new_vid") String new_vid, +// @Field("message") String message +// ); + + //投稿の削除 + // @DELETE("accounts/{uId}/history") +// Call deleteContributions( +// @Path("uId") String uId, +// @Query("password") String password, +// @Query("delete_contributions") String delete_contributions, +// @Query("message") String message +// ); + }