Return the list of installers available for a game if a game slug is provided,
or a particular installer if an installer slug is passed.

GET /api/installers/the-elder-scrolls-arena-gog
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 1,
    "next": null,
    "previous": null,
    "results": [
        {
            "id": 4788,
            "game_id": 4716,
            "game_slug": "the-elder-scrolls-arena",
            "name": "The Elder Scrolls: Arena",
            "year": 1994,
            "user": "FakeShemp",
            "runner": "dosbox",
            "slug": "the-elder-scrolls-arena-gog",
            "version": "GOG",
            "description": "This script will install \"The Elder Scrolls - Arena\" GOG edition for Dosbox.\r\nDuring install please let all options by default.\r\nBig thanks to people who gave their time to permit us playing this game in the best conditions.",
            "notes": "- Please report issue concerning this script on my github page:\r\nhttps://github.com/legluondunet/MyLittleLutrisScripts/",
            "created_at": "2017-07-03T20:16:33.495000Z",
            "updated_at": "2019-09-08T23:05:05.439326Z",
            "draft": false,
            "published": true,
            "published_by": 1,
            "rating": "",
            "steamid": null,
            "gogid": null,
            "gogslug": "",
            "humblestoreid": "",
            "script": {
                "custom-name": "The Elder Scrolls - Arena - GOG",
                "game": {
                    "config_file": "$GAMEDIR/dosbox_conf/dosbox_arena.conf",
                    "main_file": "dosbox_conf/dosbox_arena_single.conf",
                    "prefix": "$GAMEDIR"
                },
                "files": [
                    {
                        "install": "N/A:Please select the GOG installer"
                    },
                    {
                        "inno": "http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
                    },
                    {
                        "script": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/The%20Elder%20Scroll%20-%20Arena/clean.sh"
                    }
                ],
                "installer": [
                    {
                        "extract": {
                            "dst": "$CACHE",
                            "file": "inno"
                        }
                    },
                    {
                        "execute": {
                            "args": "-d \"$GAMEDIR\" \"$install\"",
                            "file": "$CACHE/innoextract"
                        }
                    },
                    {
                        "merge": {
                            "dst": "$GAMEDIR",
                            "src": "$GAMEDIR/__support/"
                        }
                    },
                    {
                        "chmodx": "script"
                    },
                    {
                        "execute": {
                            "file": "script"
                        }
                    }
                ]
            },
            "content": "custom-name: The Elder Scrolls - Arena - GOG\nfiles:\n- install: N/A:Please select the GOG installer\n- inno: http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz\n- script: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/The%20Elder%20Scroll%20-%20Arena/clean.sh\ngame:\n  config_file: $GAMEDIR/dosbox_conf/dosbox_arena.conf\n  main_file: dosbox_conf/dosbox_arena_single.conf\n  prefix: $GAMEDIR\ninstaller:\n- extract:\n    dst: $CACHE\n    file: inno\n- execute:\n    args: -d \"$GAMEDIR\" \"$install\"\n    file: $CACHE/innoextract\n- merge:\n    dst: $GAMEDIR\n    src: $GAMEDIR/__support/\n- chmodx: script\n- execute:\n    file: script\n"
        }
    ]
}