diff options
| author | Fuwn <[email protected]> | 2025-08-06 22:17:36 +0200 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-08-06 22:17:36 +0200 |
| commit | 21dbb866b0c4479e1ff6d327d0989531e3c3501d (patch) | |
| tree | cc550e1d4b2463bf032655c24961ee445dc4e10e /umapyoi_net_docs/gacha.rst | |
| parent | feat(umapyai): Switch to ollama library calls (diff) | |
| download | umapyai-21dbb866b0c4479e1ff6d327d0989531e3c3501d.tar.xz umapyai-21dbb866b0c4479e1ff6d327d0989531e3c3501d.zip | |
docs: Add umapyoi.net API documentation
Diffstat (limited to 'umapyoi_net_docs/gacha.rst')
| -rw-r--r-- | umapyoi_net_docs/gacha.rst | 27 |
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). |