Lack of Android knowledge (#6)

This commit is contained in:
Jozef Steinhübl 2024-08-18 18:09:16 +02:00 committed by GitHub
commit 4fb92cdce2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 11 deletions

View file

@ -1,11 +1,11 @@
---
title: Current
description: How to get latest version of the discord's android app
description: How to get latest release of the discord's android app
---
# Get The Latest Android Version
## Get The Latest Android Release
This section explains how to retrieve the latest version of the Discord Android app using our API.
This section explains how to retrieve the latest release of the Discord Android app using our API.
**Endpoint:** [https://distroid.xhyrom.dev/v1/current](https://distroid.xhyrom.dev/v1/current)
@ -18,7 +18,7 @@ This object describes the current release channel for the Discord Android app.
| Field Name | Type | Description |
| -------------- | ------------------------------------ | ------------------------------------------------------------------------ |
| version_code | integer | Internal version code used for downloading specific APKs. (e.g., 244205) |
| version_string | string | Human-readable version number of the release. (e.g., "244.5") |
| version_string | string | Version name of the release. (e.g., "244.5") |
| files \* | array of [file object](#file-object) | An array containing details about the available APK splits. |
\* Only included if you're using `with_file_metadata=true` query parameter.
@ -39,13 +39,13 @@ This object details a specific APK split for the Discord Android app.
| Field Name | Type | Description |
| --------------- | ------- | -------------------------------------------------------- |
| compressed_size | integer | Size of the downloaded file in bytes (compressed). |
| size | integer | Size of the installed APK in bytes (uncompressed). |
| compressed_size | integer | Bytesize of the `.apk` file (compressed). |
| size | integer | Bytesize of the installed APK (uncompressed). |
| split_id | string | Unique identifier for the split. Empty for the base APK. |
## Fetching Latest Version Information
### Fetching Latest Release Information
To retrieve the latest version details, send a GET request to the API endpoint:
To retrieve the latest release details, send a GET request to the API endpoint:
**Query parameters:**

View file

@ -11,11 +11,11 @@ Accessible on [https://distroid.xhyrom.dev](https://distroid.xhyrom.dev)
## What is Distroid API?
Distroid is an API that allows you to track and download the latest version of Discords Android app. It supports all three channels:
Distroid is an API that allows you to track and download the latest releases of Discords Android app. It supports all three google release channels:
- stable
- beta
- alpha
- beta (PTB)
- alpha (Canary)
> Did you know that distroid stands for **Discord Android Tracker**?