aboutsummaryrefslogtreecommitdiff
path: root/umapyoi_net_docs/character.rst
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-08-06 22:17:36 +0200
committerFuwn <[email protected]>2025-08-06 22:17:36 +0200
commit21dbb866b0c4479e1ff6d327d0989531e3c3501d (patch)
treecc550e1d4b2463bf032655c24961ee445dc4e10e /umapyoi_net_docs/character.rst
parentfeat(umapyai): Switch to ollama library calls (diff)
downloadumapyai-21dbb866b0c4479e1ff6d327d0989531e3c3501d.tar.xz
umapyai-21dbb866b0c4479e1ff6d327d0989531e3c3501d.zip
docs: Add umapyoi.net API documentation
Diffstat (limited to 'umapyoi_net_docs/character.rst')
-rw-r--r--umapyoi_net_docs/character.rst53
1 files changed, 53 insertions, 0 deletions
diff --git a/umapyoi_net_docs/character.rst b/umapyoi_net_docs/character.rst
new file mode 100644
index 0000000..c0a3fa2
--- /dev/null
+++ b/umapyoi_net_docs/character.rst
@@ -0,0 +1,53 @@
+Character Endpoints
+====================
+
+:ref:`routingtable`
+
+
+Sources
+-------
+English translation of character profiles:
+
+- `GameTora <https://gametora.com/umamusume>`_
+- `Noccu's Translation Project <https://github.com/noccu/umamusu-translate>`_
+
+
+Endpoints
+---------
+.. http:get:: /api/v1/character
+
+ Returns all character IDs.
+
+
+.. http:get:: /api/v1/character/info
+
+ Returns all characters' information.
+
+
+.. http:get:: /api/v1/character/list
+
+ Returns all characters' information needed for the list.
+
+
+.. http:get:: /api/v1/character/(int:chara_id)
+
+ Returns info of a character by ID.
+
+
+.. http:get:: /api/v1/character/images/(int:chara_id)
+
+ Returns a character's images by ID.
+
+
+.. http:get:: /api/v1/character/movies/(int:chara_id)
+
+ Returns a character's movies by ID.
+
+
+.. http:get:: /api/v1/character/context/(int:row_number)
+
+ Returns the row_number of the characters around given row_number.
+
+.. http:get:: /api/v1/character/currentbirthdays
+
+ Returns info about characters who currently have a birthday and the next day a character has a birthday.