Commit Graph

747 Commits

Author SHA1 Message Date
Cody Robibero
393f5f0c25
Update Jellyfin.Api/Controllers/FilterController.cs
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2020-06-10 09:23:20 -06:00
Cody Robibero
c61efba0c6
Merge pull request #3286 from Ullmie02/api-apikey
Move ApiKeyService to Jellyfin.Api
2020-06-10 09:22:59 -06:00
David
6a70081643 Move ApiKeyService to Jellyfin.Api 2020-06-10 15:57:31 +02:00
David
b16da09549 Move /System Endpoint to Jellyfin.Api 2020-06-10 15:18:13 +02:00
David
1bf6c085ed Move File; Move Route; use DateTime? in Query 2020-06-10 13:09:23 +02:00
Cody Robibero
647b78a3c0
Merge pull request #3226 from Ullmie02/api-searchservice
Move SearchService to new API endpoint
2020-06-09 20:43:03 -06:00
dkanada
ac9bef9465
Merge pull request #3227 from crobibero/api-first-user
Add second endpoint for Startup/User
2020-06-10 11:03:35 +09:00
Patrick Barron
d105bc728d Fix startup wizard. 2020-06-09 14:04:25 -04:00
David
dc190e5683 Move ActivityLogService to Jellyfin.Api 2020-06-09 18:56:17 +02:00
crobibero
0b778b8851 Move PluginService to Jellyfin.Api 2020-06-09 09:57:01 -06:00
David Ullmer
1491e93d84 Add response code documentation 2020-06-09 11:00:37 +02:00
crobibero
d97e306cda Move PlaylistService to Jellyfin.Api 2020-06-08 13:14:41 -06:00
crobibero
a4455af3e9 Move LocalizationService to Jellyfin.Api 2020-06-08 12:34:17 -06:00
crobibero
81d3ec7205 Move ItemUpdateService to Jellyfin.Api 2020-06-08 12:20:33 -06:00
crobibero
6f64e48c54 Add response codes 2020-06-08 07:37:16 -06:00
crobibero
16e26be87f Move ItemLookupService to Jellyfin.Api 2020-06-08 07:22:40 -06:00
crobibero
dd5579e0eb Move FilterService to Jellyfin.Api 2020-06-07 22:04:59 -06:00
David
cefa9d3c08 Add default values for parameters and fix spelling 2020-06-07 18:10:08 +02:00
David
7fa374f8a2 Move Split method from BaseJellyfinApiController.cs to RequestHelpers.cs 2020-06-07 15:41:49 +02:00
David
f3029428cd Fix suggestions 2020-06-07 15:33:54 +02:00
dkanada
f7f59fe9a3
Merge branch 'api-migration' into api-config-json 2020-06-07 15:34:31 +09:00
crobibero
6c53e36ccf Fix Api Routing 2020-06-04 15:17:05 -06:00
crobibero
a787efc660 Merge remote-tracking branch 'upstream/api-migration' into api-scheduled-tasks 2020-06-04 15:16:04 -06:00
crobibero
fd913d73e3 Revert authorized endpoints to legacy api 2020-06-04 10:10:36 -06:00
crobibero
22f56842bd Apply review suggestions 2020-06-04 07:59:11 -06:00
Cody Robibero
601e4a88c9
Merge pull request #2933 from crobibero/api-device
DeviceService to Jellyfin.Api
2020-06-04 07:29:23 -06:00
crobibero
3e749eabdf Fix doc errors 2020-06-04 07:29:00 -06:00
crobibero
88b6c26472 Merge remote-tracking branch 'remotes/upstream/api-migration' into api-channel
# Conflicts:
#	Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs
2020-06-03 09:38:49 -06:00
crobibero
cf9cbfff56 Add second endpoint for Startup/User 2020-06-02 08:28:37 -06:00
crobibero
0e41c4727d revert to System.Text.JsonSerializer 2020-06-02 08:23:12 -06:00
David
638cfa32ab Move SearchService to new API endpoint 2020-06-02 15:07:07 +02:00
crobibero
aed6f57f11 Remove invalid docs and null check 2020-06-01 20:54:02 -06:00
crobibero
9f0b5f347a Switch Config controller to System.Text.Json 2020-06-01 11:06:15 -06:00
Cody Robibero
297ab2e423
Merge pull request #2962 from crobibero/api-config
Move ConfigurationService to Jellyfin.Api
2020-06-01 09:29:34 -06:00
Bond-009
5c95037234
Merge pull request #2953 from crobibero/api-startup
Convert StartupController to ActionResult
2020-05-25 15:17:42 +02:00
crobibero
483e24607b Fix optional parameter binding 2020-05-24 16:01:53 -06:00
crobibero
40762f13c6 Fix route parameter casing 2020-05-24 15:54:34 -06:00
crobibero
62ea9b2821 Merge upstream/api-migration 2020-05-24 12:33:16 -06:00
crobibero
70c42eb0ac Apply review suggestions 2020-05-24 12:19:26 -06:00
crobibero
a4b3f2e32b Add missing route attribute 2020-05-23 18:19:49 -06:00
crobibero
fb068b76a1 Use correct MediaTypeName 2020-05-20 07:18:51 -06:00
crobibero
5f0c37d574 Fix DefaultDirectoryBrowserInfo naming 2020-05-19 13:22:09 -06:00
crobibero
070edd9e5b Fix MediaType usage 2020-05-19 13:13:07 -06:00
crobibero
2689865858 Remove unused using 2020-05-19 13:02:35 -06:00
crobibero
51d54a8ca4 Fix return content type 2020-05-19 13:02:02 -06:00
crobibero
b28dd47a0f implement review suggestions 2020-05-19 12:58:09 -06:00
crobibero
2f2bceb110 Remove default parameter values 2020-05-19 12:56:57 -06:00
Bruce
24543b04c1 Applying review suggestion to documentation 2020-05-19 18:13:42 +01:00
crobibero
cdb25e355c Fix return value 2020-05-19 10:06:25 -06:00
crobibero
cf78edc979 Fix Authorize attributes 2020-05-19 10:05:23 -06:00
crobibero
a11a193439 Remove CameraUpload endpoints 2020-05-19 10:04:09 -06:00
crobibero
e03c97d7cd update xml docs 2020-05-19 10:02:52 -06:00
crobibero
6c376f18f7 update xml docs 2020-05-19 09:47:02 -06:00
crobibero
6dbbfcbfbe update xml docs 2020-05-19 09:29:59 -06:00
crobibero
839de72f9a Fix authentication attribute 2020-05-19 09:24:04 -06:00
crobibero
2923013c6e Clean Remote Image Controller. 2020-05-19 09:23:28 -06:00
crobibero
98bd61e364 Clean up routes 2020-05-19 09:14:37 -06:00
crobibero
c998935d29 Apply review suggestions 2020-05-19 09:06:37 -06:00
crobibero
1c471d5855 Clean UpdateDisplayPreferences endpoint 2020-05-19 09:01:00 -06:00
crobibero
a7a725173d Rename to AttachmentsController -> VideoAttachmentsController 2020-05-19 08:55:15 -06:00
crobibero
26a2bea179 Update endpoint docs 2020-05-19 08:55:15 -06:00
crobibero
177339e8d5 Fix Authorize attributes 2020-05-19 08:55:15 -06:00
crobibero
15e9fbb923 move to ActionResult<T> 2020-05-19 08:55:15 -06:00
crobibero
84fcb4926c Remove exception handler 2020-05-19 08:55:15 -06:00
crobibero
8eac528815 nullable 2020-05-19 08:55:15 -06:00
crobibero
45d750f106 Move AttachmentsService to AttachmentsController 2020-05-19 08:55:15 -06:00
crobibero
c4f8ba55f2 Rename to AttachmentsController -> VideoAttachmentsController 2020-05-19 08:28:02 -06:00
crobibero
37f55b5c21 apply doc suggestions 2020-05-17 19:56:02 -06:00
Patrick Barron
9ad839c776 Initial migration code 2020-05-12 22:10:35 -04:00
crobibero
d7d8118b42 Fix xml docs 2020-05-03 14:02:15 -06:00
crobibero
35dbcea931 Return array -> ienumerable 2020-05-02 18:47:05 -06:00
crobibero
cbd4a64e67 Update endpoint docs 2020-05-02 18:46:27 -06:00
crobibero
25002483a3 Update endpoint docs 2020-05-02 17:23:02 -06:00
crobibero
7516e3ebbe Update endpoint docs 2020-05-02 17:12:56 -06:00
crobibero
f67daa84b0 Update endpoint docs 2020-05-02 17:10:59 -06:00
crobibero
0017163f39 Update endpoint docs 2020-05-02 17:06:29 -06:00
Bruce
0d8253d8e2 Updated documentation according to discussion in jellyfin#2872 2020-05-01 15:17:40 +01:00
ZadenRB
82231b4393 Update to return IEnumerable directly where possible 2020-04-29 15:53:29 -06:00
crobibero
7a3925b863 Fix docs 2020-04-29 09:41:12 -06:00
crobibero
97ecffceb7 Add response code descriptions 2020-04-29 08:59:34 -06:00
ZadenRB
c61a200c9d Revise documentation based on discussion in #2872 2020-04-28 09:30:59 -06:00
crobibero
000088f8f9 init 2020-04-25 18:18:33 -06:00
Bruce Coelho
5aced0ea0f
Apply suggestions from code review
Co-Authored-By: Cody Robibero <cody@robibe.ro>
2020-04-25 21:41:56 +01:00
Bruce Coelho
f66714561e
Update Jellyfin.Api/Controllers/PackageController.cs
Applying requested changes to PackageController

Co-Authored-By: Cody Robibero <cody@robibe.ro>
2020-04-25 21:32:49 +01:00
Bruce
c7fe8b04cc PackageService to Jellyfin.API 2020-04-25 19:59:31 +01:00
crobibero
714aaefbcc Transfer EnvironmentService to Jellyfin.Api 2020-04-24 18:20:36 -06:00
ZadenRB
85853f9ce3 Add back in return type documentation 2020-04-24 17:11:11 -06:00
crobibero
311f2e2bc3 Fix Authorize attributes 2020-04-23 10:07:21 -06:00
crobibero
f3da5dc8b7 Fix Authorize attributes 2020-04-23 10:04:37 -06:00
crobibero
bb8e738a08 Fix Authorize attributes 2020-04-23 10:03:54 -06:00
crobibero
5ca7e1fd79 Move ChannelService to Jellyfin.Api 2020-04-23 08:54:28 -06:00
crobibero
1223eb5a22 Remove unneeded Ok calls. 2020-04-23 08:03:41 -06:00
crobibero
4d894c4344 Remove unneeded Ok calls. 2020-04-23 07:55:47 -06:00
crobibero
c7c2f9da90 Apply suggestions 2020-04-23 07:51:04 -06:00
crobibero
a06d271725 Move ConfigurationService to Jellyfin.Api 2020-04-22 13:07:21 -06:00
ZadenRB
7693cc0db0 Use ActionResult return type for all endpoints 2020-04-22 10:00:10 -06:00
ZadenRB
2a49b19a7c
Update documentation of startIndex
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
2020-04-22 00:21:37 -06:00
crobibero
461b298be7 Migrate DlnaServerController to Jellyfin.Api 2020-04-21 19:15:27 -06:00
crobibero
f5385e4735 Move Emby.Dlna DlnaService.cs to Jellyfin.Api 2020-04-21 18:12:46 -06:00
crobibero
7db3b035a6 move to ActionResult<T> 2020-04-21 14:25:03 -06:00
crobibero
88b856796a move to ActionResult<T> 2020-04-21 14:23:08 -06:00
crobibero
9ae895ba21 move to ActionResult<T> 2020-04-21 14:09:06 -06:00
crobibero
02a78aaae9 move to ActionResult<T> 2020-04-21 14:07:11 -06:00
crobibero
98224dee9e move to ActionResult<T> 2020-04-21 14:01:47 -06:00
crobibero
927696c403 move to ActionResult<T> 2020-04-21 13:59:43 -06:00
crobibero
466e20ea8c move to ActionResult<T> 2020-04-21 13:57:11 -06:00
ZadenRB
69d9bfb233
Make documentation of parameters clearer
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
2020-04-21 12:10:34 -06:00
crobibero
b8fd9c785e Convert StartupController to IActionResult 2020-04-21 08:42:48 -06:00
crobibero
8ab9949db5 Remove exception handler 2020-04-21 08:02:07 -06:00
crobibero
a6cd852675 Remove exception handler 2020-04-21 07:58:54 -06:00
crobibero
30609236ab Remove exception handler 2020-04-21 07:57:45 -06:00
crobibero
04119c0d40 Remove exception handler 2020-04-21 07:55:57 -06:00
crobibero
5ef71d592b Remove exception handler 2020-04-21 07:55:01 -06:00
crobibero
08eba82bb7 Remove exception handler 2020-04-21 07:52:33 -06:00
ZadenRB
dae6965710 Remove documentation of void return type 2020-04-21 00:24:35 -06:00
ZadenRB
6c8e1d37bd Remove more unnecessary IActionResult 2020-04-20 23:53:09 -06:00
ZadenRB
67efcbee05 Remove error handlers, to be implemented at a global level in a separate PR 2020-04-20 20:16:58 -06:00
crobibero
766d2ee413 Move RemoteImageService to Jellyfin.API 2020-04-20 14:21:06 -06:00
crobibero
376619369d fix build 2020-04-20 13:12:54 -06:00
crobibero
e151d539f2 Move ImageByNameService to Jellyfin.Api 2020-04-20 13:06:29 -06:00
ZadenRB
688240151b Enable nullable reference types on new class, remove unnecessary documenation and return types 2020-04-20 00:00:00 -06:00
ZadenRB
16cae23bbe Add response type annotations, return IActionResult to handle errors 2020-04-19 21:06:28 -06:00
crobibero
440f060da6 Fix Authenticated Roles 2020-04-19 19:36:18 -06:00
crobibero
21b54b4ad8 Move DeviceService to DevicesController 2020-04-19 19:33:55 -06:00
crobibero
1fc6825410 nullable 2020-04-19 17:37:15 -06:00
crobibero
a41d5fcea4 Move AttachmentsService to AttachmentsController 2020-04-19 17:36:05 -06:00
crobibero
c5d709f77e remove todo 2020-04-19 16:35:31 -06:00
crobibero
4a960892c2 Add Authorize and BindRequired 2020-04-19 16:31:09 -06:00
crobibero
d8fc4f91db burn ToOptimizedResult 2020-04-19 16:29:29 -06:00
crobibero
5d9c40ec72 move scheduled tasks to Jellyfin.Api 2020-04-19 16:26:20 -06:00
ZadenRB
7c8188194b Address PR comments, and revert changes that changed the API schema 2020-04-19 13:19:15 -06:00
crobibero
e6b873f2ae Fix missing attributes 2020-04-19 12:56:16 -06:00
crobibero
60607ab60c Fix saving DisplayPreferences 2020-04-19 12:34:34 -06:00
crobibero
c31b9f5169 Fix build & runtime errors 2020-04-19 12:30:10 -06:00
crobibero
a282fbe966 Move DisplayPreferences to Jellyfin.Api 2020-04-19 12:26:38 -06:00
crobibero
86d68e23e7 Add DisplayPreferencesController 2020-04-19 12:06:18 -06:00
ZadenRB
558b50a094 Remove unnecessary assembly, update casing, enable nullable reference types on notification DTOs. 2020-04-15 09:29:29 -06:00
ZadenRB
ad1c880751 Lowercase parameters 2020-04-15 00:34:50 -06:00
ZadenRB
1180b9746f Migrates the notifications service to use ASP.NET MVC framework 2020-04-15 00:01:31 -06:00
Bond_009
a253fa616d Fix build and address comments 2020-01-08 01:23:57 +09:00
Claus Vium
47a4f2f387 Fix more review comments 2019-11-24 19:25:46 +01:00
Claus Vium
27e3cf1558 Move appbuilder and service collection to Jellyfin.Server 2019-11-24 15:27:58 +01:00
Claus Vium
c2cdbc909b Add style rules and fix it all 2019-11-23 20:31:17 +01:00
Claus Vium
c9669a0d21 Split a long line 2019-11-23 19:59:45 +01:00
Claus Vium
3f651de24c Add authentication and remove versioning 2019-11-23 16:31:02 +01:00
Claus Vium
05b7e22808 Add SwaggerUI 2019-11-19 22:51:02 +01:00
Claus Vium
e5d57bd82f Move StartupWizard to ASP.NET Web Api 2019-11-19 21:48:16 +01:00