MiscApi

interface MiscApi

Functions

Link copied to clipboard
@GET(value = "avatar")
abstract suspend fun getAvatarUrl(@Query(value = "email") email: String, @Query(value = "size") size: Int? = null): Result<AvatarUrl>
Link copied to clipboard
@GET(value = "templates/gitignores/{key}")
abstract suspend fun getGitignoreTemplate(@Path(value = "key") key: String): Result<FileTemplate>
Link copied to clipboard
@GET(value = "templates/gitignores")
abstract suspend fun getGitignoreTemplates(): Result<List<KeyNamePair>>
Link copied to clipboard
@GET(value = "templates/gitlab_ci_ymls/{key}")
abstract suspend fun getGitlabCIYamlTemplate(@Path(value = "key") key: String): Result<FileTemplate>
Link copied to clipboard
@GET(value = "templates/gitlab_ci_ymls")
abstract suspend fun getGitlabCIYamlTemplates(): Result<List<KeyNamePair>>