ApiHost

object ApiHost(source)

Canonical public routes for the Android App Metadata API.

Runtime clients must use the public /api/v1 surface. The /admin/api routes are reserved for catalog management and may expose unpublished applications. See the live contract at Swagger or OpenAPI.

Properties

Link copied to clipboard
const val APPS_PATH: String
Link copied to clipboard
const val BASE_URL: String

Functions

Link copied to clipboard
fun appChangelogUrl(packageName: String, baseUrl: String = BASE_URL): String

Returns the public Markdown changelog endpoint for packageName.

Link copied to clipboard
fun appDetailsUrl(packageName: String, baseUrl: String = BASE_URL): String

Returns the public full-metadata endpoint for packageName.

Link copied to clipboard
fun appsUrl(baseUrl: String = BASE_URL): String

Returns the compact, public application catalog endpoint.