-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathendpoints.toml
More file actions
84 lines (70 loc) · 4.22 KB
/
Copy pathendpoints.toml
File metadata and controls
84 lines (70 loc) · 4.22 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# Every remote endpoint the gamebus tooling talks to, in one place, so an
# upstream API change is a config edit, not an archaeology dig through the
# sources. The daemon itself never reads this file: it is network-free by
# design; only the CLI tools (gamebus-setup, gamebus-presence) fetch.
#
# Lookup order, first hit wins, missing keys fall back to the next source:
# 1. $XDG_CONFIG_HOME/gamebus-presenced/endpoints.toml (your overrides)
# 2. $XDG_DATA_HOME/gamebus-presenced/endpoints.toml (installed copy)
# 3. /usr/local/share and /usr/share gamebus-presenced/ (system install)
# 4. the defaults bundled into the binaries from this very file
#
# The GAMEBUS_UMU_API environment variable still overrides umu.api on top,
# for tests and one-off runs.
[discord]
# Discord's own public endpoint for the game-detection database. Fetched by
# `gamebus-presence fetch-detectable`; the setup tool runs that as the last
# install step. Never fetched at build time - builds are network-free.
detectable = "https://discord.com/api/v9/applications/detectable"
[umu]
# The umu-database query API. ?store=X&codename=Y and ?title=T look up
# entries; the bare endpoint returns the full database as JSON.
api = "https://umu.openwinecomponents.org/umu_api.php"
# Where umu-database submissions go, printed in exports and hints.
repository = "https://github.com/Open-Wine-Components/umu-database"
# Open merge requests of that repository (unauthenticated GitHub API), for
# the opt-in --check-prs duplicate scan.
open_prs = "https://api.github.com/repos/Open-Wine-Components/umu-database/pulls?state=open"
# The protonfixes repository's file list, in one request. Its gamefixes-*
# directories hold one file per fix, named by the umu id it serves - which
# is how --verify tells a game that needs umu from one that runs fine. The
# database only wants the former.
protonfixes_tree = "https://api.github.com/repos/Open-Wine-Components/umu-protonfixes/git/trees/master?recursive=1"
# Where a single fix file can be read, for the merge request's evidence:
# <protonfixes_file>/gamefixes-steam/870780.py
protonfixes_file = "https://github.com/Open-Wine-Components/umu-protonfixes/blob/master"
[gog]
# GOG's public catalog search - the misses pane's one-shot online lookup
# (`o`) for gog entries. Queried as ?limit=10&query=like:<title>&…; the
# numeric product id in the results IS the codename the database wants.
catalog = "https://catalog.gog.com/v1/catalog"
# GOG's products API - the reverse lookup, one record per numeric product
# id: <product>/<id> answers with the store's own title. The misses pane's
# `o` uses it when the codename already is that id, instead of a fuzzy
# catalog search by a possibly mis-resolved title.
product = "https://api.gog.com/products"
# gogdb.org product pages, the database's GOG codename authority - linked in
# the exported merge-request evidence, one page per product id.
gogdb_product = "https://www.gogdb.org/product"
[egs]
# egdata.app's offer search - the misses pane's `o` lookup for egs entries.
# Queried as ?query=<title>&limit=10.
search = "https://api.egdata.app/multisearch/offers"
# egdata.app's per-namespace build lists: <sandboxes>/<namespace>/builds.
# The Builds App Name in there is the codename the database wants - the
# namespace itself never is.
sandboxes = "https://api.egdata.app/sandboxes"
[gamedb]
# gamebus-gamedb's built identity index, from the data set's latest release.
# `gamebus-setup gamedb --fetch` caches it; the export reads it to hold back
# games the data set already carries. GitHub redirects this to the tagged
# asset, and the tag it lands on is what the cache records as the release.
identities = "https://github.com/fschaupp/gamebus-gamedb/releases/latest/download/identities.json"
# The raw game pages on the data set's main branch: <pages>/<page>.toml.
# An enhancement edits the page that is already published, so the export
# needs its text. It reads a local checkout first (--out), and only reaches
# here when asked to with --fetch-pages. GAMEBUS_GAMEDB_PAGES overrides this
# with a local directory of pages.
pages = "https://raw.githubusercontent.com/fschaupp/gamebus-gamedb/main/games"
# The data set itself, printed as the place an exported page goes next.
project = "https://github.com/fschaupp/gamebus-gamedb"