django-esi 8.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- django_esi-8.1.0.dist-info/METADATA +93 -0
- django_esi-8.1.0.dist-info/RECORD +100 -0
- django_esi-8.1.0.dist-info/WHEEL +4 -0
- django_esi-8.1.0.dist-info/licenses/LICENSE +674 -0
- esi/__init__.py +7 -0
- esi/admin.py +42 -0
- esi/aiopenapi3/client.py +79 -0
- esi/aiopenapi3/plugins.py +224 -0
- esi/app_settings.py +112 -0
- esi/apps.py +11 -0
- esi/checks.py +56 -0
- esi/clients.py +657 -0
- esi/decorators.py +271 -0
- esi/errors.py +22 -0
- esi/exceptions.py +51 -0
- esi/helpers.py +63 -0
- esi/locale/cs_CZ/LC_MESSAGES/django.mo +0 -0
- esi/locale/cs_CZ/LC_MESSAGES/django.po +53 -0
- esi/locale/de/LC_MESSAGES/django.mo +0 -0
- esi/locale/de/LC_MESSAGES/django.po +58 -0
- esi/locale/en/LC_MESSAGES/django.mo +0 -0
- esi/locale/en/LC_MESSAGES/django.po +54 -0
- esi/locale/es/LC_MESSAGES/django.mo +0 -0
- esi/locale/es/LC_MESSAGES/django.po +59 -0
- esi/locale/fr_FR/LC_MESSAGES/django.mo +0 -0
- esi/locale/fr_FR/LC_MESSAGES/django.po +59 -0
- esi/locale/it_IT/LC_MESSAGES/django.mo +0 -0
- esi/locale/it_IT/LC_MESSAGES/django.po +59 -0
- esi/locale/ja/LC_MESSAGES/django.mo +0 -0
- esi/locale/ja/LC_MESSAGES/django.po +58 -0
- esi/locale/ko_KR/LC_MESSAGES/django.mo +0 -0
- esi/locale/ko_KR/LC_MESSAGES/django.po +58 -0
- esi/locale/nl_NL/LC_MESSAGES/django.mo +0 -0
- esi/locale/nl_NL/LC_MESSAGES/django.po +53 -0
- esi/locale/pl_PL/LC_MESSAGES/django.mo +0 -0
- esi/locale/pl_PL/LC_MESSAGES/django.po +53 -0
- esi/locale/ru/LC_MESSAGES/django.mo +0 -0
- esi/locale/ru/LC_MESSAGES/django.po +61 -0
- esi/locale/sk/LC_MESSAGES/django.mo +0 -0
- esi/locale/sk/LC_MESSAGES/django.po +55 -0
- esi/locale/uk/LC_MESSAGES/django.mo +0 -0
- esi/locale/uk/LC_MESSAGES/django.po +57 -0
- esi/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- esi/locale/zh_Hans/LC_MESSAGES/django.po +58 -0
- esi/management/commands/__init__.py +0 -0
- esi/management/commands/esi_clear_spec_cache.py +21 -0
- esi/management/commands/generate_esi_stubs.py +661 -0
- esi/management/commands/migrate_to_ssov2.py +188 -0
- esi/managers.py +303 -0
- esi/managers.pyi +85 -0
- esi/migrations/0001_initial.py +55 -0
- esi/migrations/0002_scopes_20161208.py +56 -0
- esi/migrations/0003_hide_tokens_from_admin_site.py +23 -0
- esi/migrations/0004_remove_unique_access_token.py +18 -0
- esi/migrations/0005_remove_token_length_limit.py +23 -0
- esi/migrations/0006_remove_url_length_limit.py +18 -0
- esi/migrations/0007_fix_mysql_8_migration.py +18 -0
- esi/migrations/0008_nullable_refresh_token.py +18 -0
- esi/migrations/0009_set_old_tokens_to_sso_v1.py +18 -0
- esi/migrations/0010_set_new_tokens_to_sso_v2.py +18 -0
- esi/migrations/0011_add_token_indices.py +28 -0
- esi/migrations/0012_fix_token_type_choices.py +18 -0
- esi/migrations/0013_squashed_0012_fix_token_type_choices.py +57 -0
- esi/migrations/__init__.py +0 -0
- esi/models.py +349 -0
- esi/openapi_clients.py +1225 -0
- esi/rate_limiting.py +107 -0
- esi/signals.py +21 -0
- esi/static/esi/img/EVE_SSO_Login_Buttons_Large_Black.png +0 -0
- esi/static/esi/img/EVE_SSO_Login_Buttons_Large_White.png +0 -0
- esi/static/esi/img/EVE_SSO_Login_Buttons_Small_Black.png +0 -0
- esi/static/esi/img/EVE_SSO_Login_Buttons_Small_White.png +0 -0
- esi/stubs.py +2 -0
- esi/stubs.pyi +6807 -0
- esi/tasks.py +78 -0
- esi/templates/esi/select_token.html +116 -0
- esi/templatetags/__init__.py +0 -0
- esi/templatetags/scope_tags.py +8 -0
- esi/tests/__init__.py +134 -0
- esi/tests/client_authed_pilot.py +63 -0
- esi/tests/client_public_pilot.py +53 -0
- esi/tests/factories.py +47 -0
- esi/tests/factories_2.py +60 -0
- esi/tests/jwt_factory.py +135 -0
- esi/tests/test_checks.py +48 -0
- esi/tests/test_clients.py +1019 -0
- esi/tests/test_decorators.py +578 -0
- esi/tests/test_management_command.py +307 -0
- esi/tests/test_managers.py +673 -0
- esi/tests/test_models.py +403 -0
- esi/tests/test_openapi.json +854 -0
- esi/tests/test_openapi.py +1017 -0
- esi/tests/test_swagger.json +489 -0
- esi/tests/test_swagger_full.json +51112 -0
- esi/tests/test_tasks.py +116 -0
- esi/tests/test_templatetags.py +22 -0
- esi/tests/test_views.py +331 -0
- esi/tests/threading_pilot.py +69 -0
- esi/urls.py +9 -0
- esi/views.py +129 -0
|
@@ -0,0 +1,489 @@
|
|
|
1
|
+
{
|
|
2
|
+
"consumes":[
|
|
3
|
+
"application/json"
|
|
4
|
+
],
|
|
5
|
+
"definitions":{
|
|
6
|
+
"bad_request":{
|
|
7
|
+
"description":"Bad request model",
|
|
8
|
+
"properties":{
|
|
9
|
+
"error":{
|
|
10
|
+
"description":"Bad request message",
|
|
11
|
+
"type":"string"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"required":[
|
|
15
|
+
"error"
|
|
16
|
+
],
|
|
17
|
+
"title":"Bad request",
|
|
18
|
+
"type":"object",
|
|
19
|
+
"x-model":"Bad request"
|
|
20
|
+
},
|
|
21
|
+
"error_limited":{
|
|
22
|
+
"description":"Error limited model",
|
|
23
|
+
"properties":{
|
|
24
|
+
"error":{
|
|
25
|
+
"description":"Error limited message",
|
|
26
|
+
"type":"string"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"required":[
|
|
30
|
+
"error"
|
|
31
|
+
],
|
|
32
|
+
"title":"Error limited",
|
|
33
|
+
"type":"object",
|
|
34
|
+
"x-model":"Error limited"
|
|
35
|
+
},
|
|
36
|
+
"forbidden":{
|
|
37
|
+
"description":"Forbidden model",
|
|
38
|
+
"properties":{
|
|
39
|
+
"error":{
|
|
40
|
+
"description":"Forbidden message",
|
|
41
|
+
"type":"string"
|
|
42
|
+
},
|
|
43
|
+
"sso_status":{
|
|
44
|
+
"description":"status code received from SSO",
|
|
45
|
+
"type":"integer"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"required":[
|
|
49
|
+
"error"
|
|
50
|
+
],
|
|
51
|
+
"title":"Forbidden",
|
|
52
|
+
"type":"object",
|
|
53
|
+
"x-model":"Forbidden"
|
|
54
|
+
},
|
|
55
|
+
"gateway_timeout":{
|
|
56
|
+
"description":"Gateway timeout model",
|
|
57
|
+
"properties":{
|
|
58
|
+
"error":{
|
|
59
|
+
"description":"Gateway timeout message",
|
|
60
|
+
"type":"string"
|
|
61
|
+
},
|
|
62
|
+
"timeout":{
|
|
63
|
+
"description":"number of seconds the request was given",
|
|
64
|
+
"type":"integer"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"required":[
|
|
68
|
+
"error"
|
|
69
|
+
],
|
|
70
|
+
"title":"Gateway timeout",
|
|
71
|
+
"type":"object",
|
|
72
|
+
"x-model":"Gateway timeout"
|
|
73
|
+
},
|
|
74
|
+
"internal_server_error":{
|
|
75
|
+
"description":"Internal server error model",
|
|
76
|
+
"properties":{
|
|
77
|
+
"error":{
|
|
78
|
+
"description":"Internal server error message",
|
|
79
|
+
"type":"string"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"required":[
|
|
83
|
+
"error"
|
|
84
|
+
],
|
|
85
|
+
"title":"Internal server error",
|
|
86
|
+
"type":"object",
|
|
87
|
+
"x-model":"Internal server error"
|
|
88
|
+
},
|
|
89
|
+
"service_unavailable":{
|
|
90
|
+
"description":"Service unavailable model",
|
|
91
|
+
"properties":{
|
|
92
|
+
"error":{
|
|
93
|
+
"description":"Service unavailable message",
|
|
94
|
+
"type":"string"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"required":[
|
|
98
|
+
"error"
|
|
99
|
+
],
|
|
100
|
+
"title":"Service unavailable",
|
|
101
|
+
"type":"object",
|
|
102
|
+
"x-model":"Service unavailable"
|
|
103
|
+
},
|
|
104
|
+
"unauthorized":{
|
|
105
|
+
"description":"Unauthorized model",
|
|
106
|
+
"properties":{
|
|
107
|
+
"error":{
|
|
108
|
+
"description":"Unauthorized message",
|
|
109
|
+
"type":"string"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"required":[
|
|
113
|
+
"error"
|
|
114
|
+
],
|
|
115
|
+
"title":"Unauthorized",
|
|
116
|
+
"type":"object",
|
|
117
|
+
"x-model":"Unauthorized"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"host":"esi.evetech.net",
|
|
121
|
+
"info":{
|
|
122
|
+
"description":"An OpenAPI for EVE Online",
|
|
123
|
+
"title":"EVE Swagger Interface",
|
|
124
|
+
"version":"1.2.9"
|
|
125
|
+
},
|
|
126
|
+
"parameters":{
|
|
127
|
+
"Accept-Language":{
|
|
128
|
+
"default":"en-us",
|
|
129
|
+
"description":"Language to use in the response",
|
|
130
|
+
"enum":[
|
|
131
|
+
"de",
|
|
132
|
+
"en-us",
|
|
133
|
+
"fr",
|
|
134
|
+
"ja",
|
|
135
|
+
"ru",
|
|
136
|
+
"zh",
|
|
137
|
+
"ko"
|
|
138
|
+
],
|
|
139
|
+
"in":"header",
|
|
140
|
+
"name":"Accept-Language",
|
|
141
|
+
"type":"string"
|
|
142
|
+
},
|
|
143
|
+
"If-None-Match":{
|
|
144
|
+
"description":"ETag from a previous request. A 304 will be returned if this matches the current ETag",
|
|
145
|
+
"in":"header",
|
|
146
|
+
"name":"If-None-Match",
|
|
147
|
+
"type":"string"
|
|
148
|
+
},
|
|
149
|
+
"alliance_id":{
|
|
150
|
+
"description":"An EVE alliance ID",
|
|
151
|
+
"format":"int32",
|
|
152
|
+
"in":"path",
|
|
153
|
+
"minimum":1,
|
|
154
|
+
"name":"alliance_id",
|
|
155
|
+
"required":true,
|
|
156
|
+
"type":"integer"
|
|
157
|
+
},
|
|
158
|
+
"character_id":{
|
|
159
|
+
"description":"An EVE character ID",
|
|
160
|
+
"format":"int32",
|
|
161
|
+
"in":"path",
|
|
162
|
+
"minimum":1,
|
|
163
|
+
"name":"character_id",
|
|
164
|
+
"required":true,
|
|
165
|
+
"type":"integer"
|
|
166
|
+
},
|
|
167
|
+
"corporation_id":{
|
|
168
|
+
"description":"An EVE corporation ID",
|
|
169
|
+
"format":"int32",
|
|
170
|
+
"in":"path",
|
|
171
|
+
"minimum":1,
|
|
172
|
+
"name":"corporation_id",
|
|
173
|
+
"required":true,
|
|
174
|
+
"type":"integer"
|
|
175
|
+
},
|
|
176
|
+
"datasource":{
|
|
177
|
+
"default":"tranquility",
|
|
178
|
+
"description":"The server name you would like data from",
|
|
179
|
+
"enum":[
|
|
180
|
+
"tranquility",
|
|
181
|
+
"singularity"
|
|
182
|
+
],
|
|
183
|
+
"in":"query",
|
|
184
|
+
"name":"datasource",
|
|
185
|
+
"type":"string"
|
|
186
|
+
},
|
|
187
|
+
"language":{
|
|
188
|
+
"default":"en-us",
|
|
189
|
+
"description":"Language to use in the response, takes precedence over Accept-Language",
|
|
190
|
+
"enum":[
|
|
191
|
+
"de",
|
|
192
|
+
"en-us",
|
|
193
|
+
"fr",
|
|
194
|
+
"ja",
|
|
195
|
+
"ru",
|
|
196
|
+
"zh",
|
|
197
|
+
"ko"
|
|
198
|
+
],
|
|
199
|
+
"in":"query",
|
|
200
|
+
"name":"language",
|
|
201
|
+
"type":"string"
|
|
202
|
+
},
|
|
203
|
+
"page":{
|
|
204
|
+
"default":1,
|
|
205
|
+
"description":"Which page of results to return",
|
|
206
|
+
"format":"int32",
|
|
207
|
+
"in":"query",
|
|
208
|
+
"minimum":1,
|
|
209
|
+
"name":"page",
|
|
210
|
+
"type":"integer"
|
|
211
|
+
},
|
|
212
|
+
"token":{
|
|
213
|
+
"description":"Access token to use if unable to set a header",
|
|
214
|
+
"in":"query",
|
|
215
|
+
"name":"token",
|
|
216
|
+
"type":"string"
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
"produces":[
|
|
220
|
+
"application/json"
|
|
221
|
+
],
|
|
222
|
+
"schemes":[
|
|
223
|
+
"https"
|
|
224
|
+
],
|
|
225
|
+
"securityDefinitions":{
|
|
226
|
+
"evesso":{
|
|
227
|
+
"authorizationUrl":"https://login.eveonline.com/v2/oauth/authorize",
|
|
228
|
+
"flow":"implicit",
|
|
229
|
+
"scopes":{
|
|
230
|
+
"esi-alliances.read_contacts.v1":"EVE SSO scope esi-alliances.read_contacts.v1",
|
|
231
|
+
"esi-assets.read_assets.v1":"EVE SSO scope esi-assets.read_assets.v1",
|
|
232
|
+
"esi-assets.read_corporation_assets.v1":"EVE SSO scope esi-assets.read_corporation_assets.v1",
|
|
233
|
+
"esi-bookmarks.read_character_bookmarks.v1":"EVE SSO scope esi-bookmarks.read_character_bookmarks.v1",
|
|
234
|
+
"esi-bookmarks.read_corporation_bookmarks.v1":"EVE SSO scope esi-bookmarks.read_corporation_bookmarks.v1",
|
|
235
|
+
"esi-calendar.read_calendar_events.v1":"EVE SSO scope esi-calendar.read_calendar_events.v1",
|
|
236
|
+
"esi-calendar.respond_calendar_events.v1":"EVE SSO scope esi-calendar.respond_calendar_events.v1",
|
|
237
|
+
"esi-characters.read_agents_research.v1":"EVE SSO scope esi-characters.read_agents_research.v1",
|
|
238
|
+
"esi-characters.read_blueprints.v1":"EVE SSO scope esi-characters.read_blueprints.v1",
|
|
239
|
+
"esi-characters.read_contacts.v1":"EVE SSO scope esi-characters.read_contacts.v1",
|
|
240
|
+
"esi-characters.read_corporation_roles.v1":"EVE SSO scope esi-characters.read_corporation_roles.v1",
|
|
241
|
+
"esi-characters.read_fatigue.v1":"EVE SSO scope esi-characters.read_fatigue.v1",
|
|
242
|
+
"esi-characters.read_fw_stats.v1":"EVE SSO scope esi-characters.read_fw_stats.v1",
|
|
243
|
+
"esi-characters.read_loyalty.v1":"EVE SSO scope esi-characters.read_loyalty.v1",
|
|
244
|
+
"esi-characters.read_medals.v1":"EVE SSO scope esi-characters.read_medals.v1",
|
|
245
|
+
"esi-characters.read_notifications.v1":"EVE SSO scope esi-characters.read_notifications.v1",
|
|
246
|
+
"esi-characters.read_opportunities.v1":"EVE SSO scope esi-characters.read_opportunities.v1",
|
|
247
|
+
"esi-characters.read_standings.v1":"EVE SSO scope esi-characters.read_standings.v1",
|
|
248
|
+
"esi-characters.read_titles.v1":"EVE SSO scope esi-characters.read_titles.v1",
|
|
249
|
+
"esi-characters.write_contacts.v1":"EVE SSO scope esi-characters.write_contacts.v1",
|
|
250
|
+
"esi-characterstats.read.v1":"EVE SSO scope esi-characterstats.read.v1",
|
|
251
|
+
"esi-clones.read_clones.v1":"EVE SSO scope esi-clones.read_clones.v1",
|
|
252
|
+
"esi-clones.read_implants.v1":"EVE SSO scope esi-clones.read_implants.v1",
|
|
253
|
+
"esi-contracts.read_character_contracts.v1":"EVE SSO scope esi-contracts.read_character_contracts.v1",
|
|
254
|
+
"esi-contracts.read_corporation_contracts.v1":"EVE SSO scope esi-contracts.read_corporation_contracts.v1",
|
|
255
|
+
"esi-corporations.read_blueprints.v1":"EVE SSO scope esi-corporations.read_blueprints.v1",
|
|
256
|
+
"esi-corporations.read_contacts.v1":"EVE SSO scope esi-corporations.read_contacts.v1",
|
|
257
|
+
"esi-corporations.read_container_logs.v1":"EVE SSO scope esi-corporations.read_container_logs.v1",
|
|
258
|
+
"esi-corporations.read_corporation_membership.v1":"EVE SSO scope esi-corporations.read_corporation_membership.v1",
|
|
259
|
+
"esi-corporations.read_divisions.v1":"EVE SSO scope esi-corporations.read_divisions.v1",
|
|
260
|
+
"esi-corporations.read_facilities.v1":"EVE SSO scope esi-corporations.read_facilities.v1",
|
|
261
|
+
"esi-corporations.read_fw_stats.v1":"EVE SSO scope esi-corporations.read_fw_stats.v1",
|
|
262
|
+
"esi-corporations.read_medals.v1":"EVE SSO scope esi-corporations.read_medals.v1",
|
|
263
|
+
"esi-corporations.read_standings.v1":"EVE SSO scope esi-corporations.read_standings.v1",
|
|
264
|
+
"esi-corporations.read_starbases.v1":"EVE SSO scope esi-corporations.read_starbases.v1",
|
|
265
|
+
"esi-corporations.read_structures.v1":"EVE SSO scope esi-corporations.read_structures.v1",
|
|
266
|
+
"esi-corporations.read_titles.v1":"EVE SSO scope esi-corporations.read_titles.v1",
|
|
267
|
+
"esi-corporations.track_members.v1":"EVE SSO scope esi-corporations.track_members.v1",
|
|
268
|
+
"esi-fittings.read_fittings.v1":"EVE SSO scope esi-fittings.read_fittings.v1",
|
|
269
|
+
"esi-fittings.write_fittings.v1":"EVE SSO scope esi-fittings.write_fittings.v1",
|
|
270
|
+
"esi-fleets.read_fleet.v1":"EVE SSO scope esi-fleets.read_fleet.v1",
|
|
271
|
+
"esi-fleets.write_fleet.v1":"EVE SSO scope esi-fleets.write_fleet.v1",
|
|
272
|
+
"esi-industry.read_character_jobs.v1":"EVE SSO scope esi-industry.read_character_jobs.v1",
|
|
273
|
+
"esi-industry.read_character_mining.v1":"EVE SSO scope esi-industry.read_character_mining.v1",
|
|
274
|
+
"esi-industry.read_corporation_jobs.v1":"EVE SSO scope esi-industry.read_corporation_jobs.v1",
|
|
275
|
+
"esi-industry.read_corporation_mining.v1":"EVE SSO scope esi-industry.read_corporation_mining.v1",
|
|
276
|
+
"esi-killmails.read_corporation_killmails.v1":"EVE SSO scope esi-killmails.read_corporation_killmails.v1",
|
|
277
|
+
"esi-killmails.read_killmails.v1":"EVE SSO scope esi-killmails.read_killmails.v1",
|
|
278
|
+
"esi-location.read_location.v1":"EVE SSO scope esi-location.read_location.v1",
|
|
279
|
+
"esi-location.read_online.v1":"EVE SSO scope esi-location.read_online.v1",
|
|
280
|
+
"esi-location.read_ship_type.v1":"EVE SSO scope esi-location.read_ship_type.v1",
|
|
281
|
+
"esi-mail.organize_mail.v1":"EVE SSO scope esi-mail.organize_mail.v1",
|
|
282
|
+
"esi-mail.read_mail.v1":"EVE SSO scope esi-mail.read_mail.v1",
|
|
283
|
+
"esi-mail.send_mail.v1":"EVE SSO scope esi-mail.send_mail.v1",
|
|
284
|
+
"esi-markets.read_character_orders.v1":"EVE SSO scope esi-markets.read_character_orders.v1",
|
|
285
|
+
"esi-markets.read_corporation_orders.v1":"EVE SSO scope esi-markets.read_corporation_orders.v1",
|
|
286
|
+
"esi-markets.structure_markets.v1":"EVE SSO scope esi-markets.structure_markets.v1",
|
|
287
|
+
"esi-planets.manage_planets.v1":"EVE SSO scope esi-planets.manage_planets.v1",
|
|
288
|
+
"esi-planets.read_customs_offices.v1":"EVE SSO scope esi-planets.read_customs_offices.v1",
|
|
289
|
+
"esi-search.search_structures.v1":"EVE SSO scope esi-search.search_structures.v1",
|
|
290
|
+
"esi-skills.read_skillqueue.v1":"EVE SSO scope esi-skills.read_skillqueue.v1",
|
|
291
|
+
"esi-skills.read_skills.v1":"EVE SSO scope esi-skills.read_skills.v1",
|
|
292
|
+
"esi-ui.open_window.v1":"EVE SSO scope esi-ui.open_window.v1",
|
|
293
|
+
"esi-ui.write_waypoint.v1":"EVE SSO scope esi-ui.write_waypoint.v1",
|
|
294
|
+
"esi-universe.read_structures.v1":"EVE SSO scope esi-universe.read_structures.v1",
|
|
295
|
+
"esi-wallet.read_character_wallet.v1":"EVE SSO scope esi-wallet.read_character_wallet.v1",
|
|
296
|
+
"esi-wallet.read_corporation_wallets.v1":"EVE SSO scope esi-wallet.read_corporation_wallets.v1"
|
|
297
|
+
},
|
|
298
|
+
"type":"oauth2"
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
"swagger":"2.0",
|
|
302
|
+
"paths":{
|
|
303
|
+
"/v1/status/":{
|
|
304
|
+
"get":{
|
|
305
|
+
"description":"EVE Server status\\n\\n---\\n\\nThis route is cached for up to 30 seconds",
|
|
306
|
+
"operationId":"get_status",
|
|
307
|
+
"parameters":[
|
|
308
|
+
{
|
|
309
|
+
"$ref":"#/parameters/datasource",
|
|
310
|
+
"x-scope":[
|
|
311
|
+
"https://esi.evetech.net/_latest/swagger.json"
|
|
312
|
+
]
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"$ref":"#/parameters/If-None-Match",
|
|
316
|
+
"x-scope":[
|
|
317
|
+
"https://esi.evetech.net/_latest/swagger.json"
|
|
318
|
+
]
|
|
319
|
+
}
|
|
320
|
+
],
|
|
321
|
+
"responses":{
|
|
322
|
+
"200":{
|
|
323
|
+
"description":"Server status",
|
|
324
|
+
"examples":{
|
|
325
|
+
"application/json":{
|
|
326
|
+
"players":12345,
|
|
327
|
+
"server_version":"1132976",
|
|
328
|
+
"start_time":"2017-01-02T12:34:56Z"
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
"headers":{
|
|
332
|
+
"Cache-Control":{
|
|
333
|
+
"description":"The caching mechanism used",
|
|
334
|
+
"type":"string"
|
|
335
|
+
},
|
|
336
|
+
"ETag":{
|
|
337
|
+
"description":"RFC7232 compliant entity tag",
|
|
338
|
+
"type":"string"
|
|
339
|
+
},
|
|
340
|
+
"Expires":{
|
|
341
|
+
"description":"RFC7231 formatted datetime string",
|
|
342
|
+
"type":"string"
|
|
343
|
+
},
|
|
344
|
+
"Last-Modified":{
|
|
345
|
+
"description":"RFC7231 formatted datetime string",
|
|
346
|
+
"type":"string"
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
"schema":{
|
|
350
|
+
"description":"200 ok object",
|
|
351
|
+
"properties":{
|
|
352
|
+
"players":{
|
|
353
|
+
"description":"Current online player count",
|
|
354
|
+
"title":"get_status_players",
|
|
355
|
+
"type":"integer"
|
|
356
|
+
},
|
|
357
|
+
"server_version":{
|
|
358
|
+
"description":"Running version as string",
|
|
359
|
+
"title":"get_status_server_version",
|
|
360
|
+
"type":"string"
|
|
361
|
+
},
|
|
362
|
+
"start_time":{
|
|
363
|
+
"description":"Server start timestamp",
|
|
364
|
+
"format":"date-time",
|
|
365
|
+
"title":"get_status_start_time",
|
|
366
|
+
"type":"string"
|
|
367
|
+
},
|
|
368
|
+
"vip":{
|
|
369
|
+
"description":"If the server is in VIP mode",
|
|
370
|
+
"title":"get_status_vip",
|
|
371
|
+
"type":"boolean"
|
|
372
|
+
}
|
|
373
|
+
},
|
|
374
|
+
"required":[
|
|
375
|
+
"start_time",
|
|
376
|
+
"players",
|
|
377
|
+
"server_version"
|
|
378
|
+
],
|
|
379
|
+
"title":"get_status_ok",
|
|
380
|
+
"type":"object",
|
|
381
|
+
"x-model":"get_status_ok"
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
"304":{
|
|
385
|
+
"description":"Not modified",
|
|
386
|
+
"headers":{
|
|
387
|
+
"Cache-Control":{
|
|
388
|
+
"description":"The caching mechanism used",
|
|
389
|
+
"type":"string"
|
|
390
|
+
},
|
|
391
|
+
"ETag":{
|
|
392
|
+
"description":"RFC7232 compliant entity tag",
|
|
393
|
+
"type":"string"
|
|
394
|
+
},
|
|
395
|
+
"Expires":{
|
|
396
|
+
"description":"RFC7231 formatted datetime string",
|
|
397
|
+
"type":"string"
|
|
398
|
+
},
|
|
399
|
+
"Last-Modified":{
|
|
400
|
+
"description":"RFC7231 formatted datetime string",
|
|
401
|
+
"type":"string"
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
"400":{
|
|
406
|
+
"description":"Bad request",
|
|
407
|
+
"examples":{
|
|
408
|
+
"application/json":{
|
|
409
|
+
"error":"Bad request message"
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
"schema":{
|
|
413
|
+
"$ref":"#/definitions/bad_request",
|
|
414
|
+
"x-scope":[
|
|
415
|
+
"https://esi.evetech.net/_latest/swagger.json"
|
|
416
|
+
]
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
"420":{
|
|
420
|
+
"description":"Error limited",
|
|
421
|
+
"examples":{
|
|
422
|
+
"application/json":{
|
|
423
|
+
"error":"Error limited message"
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
"schema":{
|
|
427
|
+
"$ref":"#/definitions/error_limited",
|
|
428
|
+
"x-scope":[
|
|
429
|
+
"https://esi.evetech.net/_latest/swagger.json"
|
|
430
|
+
]
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
"500":{
|
|
434
|
+
"description":"Internal server error",
|
|
435
|
+
"examples":{
|
|
436
|
+
"application/json":{
|
|
437
|
+
"error":"Internal server error message"
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
"schema":{
|
|
441
|
+
"$ref":"#/definitions/internal_server_error",
|
|
442
|
+
"x-scope":[
|
|
443
|
+
"https://esi.evetech.net/_latest/swagger.json"
|
|
444
|
+
]
|
|
445
|
+
}
|
|
446
|
+
},
|
|
447
|
+
"503":{
|
|
448
|
+
"description":"Service unavailable",
|
|
449
|
+
"examples":{
|
|
450
|
+
"application/json":{
|
|
451
|
+
"error":"Service unavailable message"
|
|
452
|
+
}
|
|
453
|
+
},
|
|
454
|
+
"schema":{
|
|
455
|
+
"$ref":"#/definitions/service_unavailable",
|
|
456
|
+
"x-scope":[
|
|
457
|
+
"https://esi.evetech.net/_latest/swagger.json"
|
|
458
|
+
]
|
|
459
|
+
}
|
|
460
|
+
},
|
|
461
|
+
"504":{
|
|
462
|
+
"description":"Gateway timeout",
|
|
463
|
+
"examples":{
|
|
464
|
+
"application/json":{
|
|
465
|
+
"error":"Gateway timeout message"
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
"schema":{
|
|
469
|
+
"$ref":"#/definitions/gateway_timeout",
|
|
470
|
+
"x-scope":[
|
|
471
|
+
"https://esi.evetech.net/_latest/swagger.json"
|
|
472
|
+
]
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
},
|
|
476
|
+
"summary":"Retrieve the uptime and player counts",
|
|
477
|
+
"tags":[
|
|
478
|
+
"Status"
|
|
479
|
+
],
|
|
480
|
+
"x-alternate-versions":[
|
|
481
|
+
"dev",
|
|
482
|
+
"legacy",
|
|
483
|
+
"v1"
|
|
484
|
+
],
|
|
485
|
+
"x-cached-seconds":30
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
}
|