aboutsummaryrefslogtreecommitdiff
path: root/umapyoi_net_docs/character.rst
blob: c0a3fa24a733e706c9a93d045c661b30dfb09b03 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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.