Skip to content

Add parameters to UgcDiscoveryModule.Search method. #21

@acurtis166

Description

@acurtis166

Below are notes I have for the search parameters. Strike-through parameters are ones I saw are already in your method signature.

  • start: Index of the first result to return, starting at 0.
  • count: Count of results to return. Must be between 1 and 101.
  • sort: Property by which to sort the results. Must be one of the following: "name", "likes", "bookmarks", "playsRecent", "numberOfObjects", "dateCreatedUtc", "dateModifiedUtc", "datePublishedUtc", "playsAllTime", "parentAssetCount", "averageRating", "numberOfRatings". Defaults to "playsRecent".
  • order: "asc" or "desc".
  • assetKind: Type of asset to be searched. Optional. If a value is provided, it must be be one of the following: "map", "prefab", "ugcGameVariant". By default, no filter is applied.
  • term: Search term. Optional.
  • tags: List of tags. Multiple tags are applied with an OR operator. Optional.
  • author: Author ID. Valid values would be in one of the following formats: "xuid([xuid])", "aaid([aaid])", or "atui([atui])", where [xuid] is a 16-digit Xbox user ID, [aaid] is a UUID, and [atui] is a pair of UUIDs separated by a period. Optional.
  • averageRatingMin: Minimum average rating between 0 and 5. Optional.
  • fromDateCreatedUtc: Minimum date created. Optional.
  • toDateCreatedUtc: Maximum date created. Optional.
  • fromDateModifiedUtc: Minimum date modified. Optional.
  • toDateModifiedUtc: Maximum date modified. Optional.
  • fromDatePublishedUtc: Minimum date published. Optional.
  • toDatePublishedUtc: Maximum date published. Optional.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions