aboutsummaryrefslogtreecommitdiff
path: root/umapyoi_net_docs/outfit.rst
blob: 6ddac9c3cd32e858bded99da9380abbc78da732b (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
Outfit Endpoints
================

:ref:`routingtable`

An outfit is otherwise called "Character" on GameTora, but umapyoi.net makes a distinction between characters and their outfits.
A character might have multiple outfits.

Endpoints
---------
.. http:get:: /api/v1/outfit

    Returns all outfit IDs. (Each support card has an id and gametora identifier.)

.. http:get:: /api/v1/outfit/(int:outfit_id)

    Returns outfit data by ID.

.. http:get:: /api/v1/outfit/character/(int:chara_id)

    Returns outfit data belonging to a given character ID (game_id).

.. http:get:: /api/v1/outfit/(int:outfit_id)/gametora

    Redirect to the GameTora page of an outfit.