aboutsummaryrefslogtreecommitdiff
path: root/umapyoi_net_docs/gacha.rst
diff options
context:
space:
mode:
Diffstat (limited to 'umapyoi_net_docs/gacha.rst')
-rw-r--r--umapyoi_net_docs/gacha.rst27
1 files changed, 27 insertions, 0 deletions
diff --git a/umapyoi_net_docs/gacha.rst b/umapyoi_net_docs/gacha.rst
new file mode 100644
index 0000000..d8c877d
--- /dev/null
+++ b/umapyoi_net_docs/gacha.rst
@@ -0,0 +1,27 @@
+Gacha Banner Endpoints
+======================
+
+:ref:`routingtable`
+
+The ``card_type`` field indicates the type of banner.Possible values are:
+
+* ``Outfit``
+* ``Support Card``
+
+**Note:** New banners in game updates may take up to a day or longer to appear because I need to manually update the game first.
+
+Endpoints
+---------
+.. http:get:: /api/v1/gacha
+
+ Returns a list of all gacha banners with some basic info.
+
+
+.. http:get:: /api/v1/gacha/(int:gacha_id)
+
+ Returns more detailed information about a specific gacha banner, including outfit/support card details.
+
+
+.. http:get:: /api/v1/gacha/current
+
+ Returns detailed information about the current gacha banner(s).