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:

public static readonly Uri DisplayCatalogSearch = new Uri("https://displaycatalog.mp.microsoft.com/v7.0/productFamilies/autosuggest?market=US&languages=en-US&query=");
public static readonly Uri DisplayCatalogSearchInt = new Uri("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?
var DisplayCatalogSearch = $"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