Synchronizing API and documentation updates

This commit is contained in:
gitnexbot
2024-11-06 00:05:37 +00:00
parent 37f55321bf
commit 17b626fd0f
2 changed files with 16 additions and 14 deletions
@@ -1627,9 +1627,10 @@ public interface RepositoryApi {
*
* @param owner owner of the repo (required)
* @param repo name of the repo (required)
* @param filepath filepath of the file to get (required)
* @param ref The name of the commit/branch/tag. Default the repositorys default branch (usually
* master) (optional)
* @param filepath path of the file to get, it should be \"{ref}/{filepath}\". If there
* is no ref could be inferred, it will be treated as the default branch (required)
* @param ref The name of the commit/branch/tag. Default the repositorys default branch
* (optional)
* @return Call<File>
*/
@GET("repos/{owner}/{repo}/raw/{filepath}")
@@ -1644,9 +1645,10 @@ public interface RepositoryApi {
*
* @param owner owner of the repo (required)
* @param repo name of the repo (required)
* @param filepath filepath of the file to get (required)
* @param ref The name of the commit/branch/tag. Default the repositorys default branch (usually
* master) (optional)
* @param filepath path of the file to get, it should be \"{ref}/{filepath}\". If there
* is no ref could be inferred, it will be treated as the default branch (required)
* @param ref The name of the commit/branch/tag. Default the repositorys default branch
* (optional)
* @return Call<File>
*/
@GET("repos/{owner}/{repo}/media/{filepath}")