Lack of Android knowledge

This commit is contained in:
DzikStar 2024-08-18 18:02:56 +02:00 committed by GitHub
parent 840c017c1d
commit bbdece9190
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)
@ -20,7 +20,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.
@ -33,13 +33,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:
**Optional Query Parameter:**

View file

@ -11,10 +11,10 @@ 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**?