mirror of
https://github.com/xHyroM/website.git
synced 2024-11-25 00:01:06 +01:00
Lack of Android knowledge (#6)
This commit is contained in:
commit
4fb92cdce2
2 changed files with 11 additions and 11 deletions
|
@ -1,11 +1,11 @@
|
||||||
---
|
---
|
||||||
title: Current
|
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)
|
**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 |
|
| Field Name | Type | Description |
|
||||||
| -------------- | ------------------------------------ | ------------------------------------------------------------------------ |
|
| -------------- | ------------------------------------ | ------------------------------------------------------------------------ |
|
||||||
| version_code | integer | Internal version code used for downloading specific APKs. (e.g., 244205) |
|
| 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. |
|
| 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.
|
\* 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 |
|
| Field Name | Type | Description |
|
||||||
| --------------- | ------- | -------------------------------------------------------- |
|
| --------------- | ------- | -------------------------------------------------------- |
|
||||||
| compressed_size | integer | Size of the downloaded file in bytes (compressed). |
|
| compressed_size | integer | Bytesize of the `.apk` file (compressed). |
|
||||||
| size | integer | Size of the installed APK in bytes (uncompressed). |
|
| size | integer | Bytesize of the installed APK (uncompressed). |
|
||||||
| split_id | string | Unique identifier for the split. Empty for the base APK. |
|
| 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:**
|
**Query parameters:**
|
||||||
|
|
||||||
|
|
|
@ -11,11 +11,11 @@ Accessible on [https://distroid.xhyrom.dev](https://distroid.xhyrom.dev)
|
||||||
|
|
||||||
## What is Distroid API?
|
## What is Distroid API?
|
||||||
|
|
||||||
Distroid is an API that allows you to track and download the latest version of Discord’s Android app. It supports all three channels:
|
Distroid is an API that allows you to track and download the latest releases of Discord’s Android app. It supports all three google release channels:
|
||||||
|
|
||||||
- stable
|
- stable
|
||||||
- beta
|
- beta (PTB)
|
||||||
- alpha
|
- alpha (Canary)
|
||||||
|
|
||||||
> Did you know that distroid stands for **Discord Android Tracker**?
|
> Did you know that distroid stands for **Discord Android Tracker**?
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue