|
32 | 32 | { "chain": "public", "method": "GET", "path": "/api_v2/config/{id}", "produces": {"_": "ConfigValue"}, "name": "getConfig" }, |
33 | 33 | { "chain": "public", "method": "GET", "path": "/api_v2/logs", "produces": {"_": "list", "of": {"_": "string"}}, "name": "getLogs" }, |
34 | 34 | { "chain": "public", "method": "GET", "path": "/api_v2/search?q={query}", "produces": {"_": "list", "of": {"_": "SearchResult"}}, "name": "search" }, |
| 35 | + { "chain": "public", "method": "GET", "path": "/api_v2/search_collections?q={query}", "produces": {"_": "list", "of": {"_": "CollectionSearchResult"}}, "name": "searchCollections" }, |
35 | 36 | { "chain": "public", "method": "GET", "path": "/api_v2/external/tmdb/movies?q={query}", "produces": {"_": "list", "of": {"_": "TmdbSearchResult"}}, "name": "searchTmdbMovies" }, |
36 | 37 | { "chain": "public", "method": "GET", "path": "/api_v2/external/tmdb/tv?q={query}", "produces": {"_": "list", "of": {"_": "TmdbSearchResult"}}, "name": "searchTmdbTv" }, |
37 | 38 | { "chain": "public", "method": "GET", "path": "/api_v2/external/tmdb/credits?collection={collection}", "produces": {"_": "list", "of": {"_": "TmdbCredit"}}, "name": "tmdbCredits" }, |
|
466 | 467 | "Collection": {"_": "CollectionSubset", "nullable": true} |
467 | 468 | }} |
468 | 469 | }, |
| 470 | + { |
| 471 | + "name": "CollectionSearchResult", |
| 472 | + "type": {"_": "object", "fields": { |
| 473 | + "ID": {"_": "string"}, |
| 474 | + "Name": {"_": "string"} |
| 475 | + }} |
| 476 | + }, |
469 | 477 | { |
470 | 478 | "name": "GeneratedIds", |
471 | 479 | "type": {"_": "object", "fields": { |
|
0 commit comments