Skip to content
Snippets Groups Projects
Commit f024f7f7 authored by John's avatar John
Browse files

Merge branch '300-increase-label-display-limit' into 'master'

Resolve "Increase label display limit"

Closes #300

See merge request Commit451/LabCoat!38
parents 45b5259d dad0e2db
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -17,7 +17,7 @@ interface GitLabService {
 
companion object {
const val API_VERSION = "api/v4"
const val MAX_TREE_PER_PAGE = "100"
const val MAX_PER_PAGE = "100"
}
 
/* --- USERS --- */
Loading
Loading
@@ -285,7 +285,7 @@ interface GitLabService {
@GET("$API_VERSION/projects/{id}/repository/contributors")
fun getContributors(@Path("id") projectId: String): Single<List<Contributor>>
 
@GET("$API_VERSION/projects/{id}/repository/tree?per_page=$MAX_TREE_PER_PAGE")
@GET("$API_VERSION/projects/{id}/repository/tree?per_page=$MAX_PER_PAGE")
fun getTree(@Path("id") projectId: Long,
@Query("ref") ref: String?,
@Query("path") path: String?): Single<List<RepositoryTreeObject>>
Loading
Loading
@@ -315,7 +315,7 @@ interface GitLabService {
* *
* @return all the labels within a project
*/
@GET("$API_VERSION/projects/{id}/labels")
@GET("$API_VERSION/projects/{id}/labels?per_page=$MAX_PER_PAGE")
fun getLabels(@Path("id") projectId: Long): Single<List<Label>>
 
/**
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment