Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

[API] Use explicit search endpoint instead of autosuggest #5

Description

@tuxuser

Autosuggest only returns maximum of 10 entries.
The actual search endpoint returns everything it can find.

Currently search endpoint is defined here:

publicstaticreadonlyUriDisplayCatalogSearch=newUri("https://displaycatalog.mp.microsoft.com/v7.0/productFamilies/autosuggest?market=US&languages=en-US&query=");
publicstaticreadonlyUriDisplayCatalogSearchInt=newUri("https://displaycatalog-int.mp.microsoft.com/v7.0/productFamilies/autosuggest?market=US&languages=en-US&query=");

The search endpoint is:

/// productFamily: "Games" or "Apps" ... maybe comma separated is possible too?varDisplayCatalogSearch=$"https://displaycatalog.mp.microsoft.com/v7.0/productFamilies/{productFamily}/products?query={searchQuery}&market=US&languages=en-US&fieldsTemplate=details&platformdependencyname=windows.xbox";

Old endpoint could be renamed to DisplayCatalogAutosuggest or something along those lines.

Any suggestions?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions