GET content/search

Search content. WARNING: content search is basically a beta feature at this point. At the moment, search queries match on content name and that's it. Options exist to control paging behavior.

Examples

GET /api/v1/content/search?q=Phoenix HTTP/1.1
Accept: application/json
----------------------------------------
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
ETag: ...

{
  "items": [{
    "id": "350175ae-96ab-4843-8abf-0b59fd7969b8",
    "listingId": 177,
    "revisionId": "19548699-06fd-4c12-b2ca-29040291288e",
    "authorUsername": "tcoles+test01",
    "authorAvatar": "protected/us-west-2:5f40aa7b-817d-4a9d-a92f-5cbfad3e6dc2/ec9fbd31-d78a-44ac-8566-3500cd1953bc.jpg",
    "authorEmblem": "064a4b8d-4b42-4d9b-b5e6-da6dadd2026e",
    "type": "game",
    "status": "active",
    "name": "Phoenix 491",
    "thumbnailUri": "protected/us-west-2:5f40aa7b-817d-4a9d-a92f-5cbfad3e6dc2/b31ac216-4c5b-4413-b3d0-e8a8dee96ed7.jpg",
    "featured": false,
    "rating": "1"
  },
  {
    "id": "2a6c03a8-36a8-4ffa-ac38-6d5a08285ab8",
    "listingId": 185,
    "revisionId": "1ccea725-4111-4503-a4d5-1002a61405c0",
    "authorUsername": "tcoles+test01",
    "authorAvatar": "protected/us-west-2:5f40aa7b-817d-4a9d-a92f-5cbfad3e6dc2/ec9fbd31-d78a-44ac-8566-3500cd1953bc.jpg",
    "authorEmblem": "064a4b8d-4b42-4d9b-b5e6-da6dadd2026e",
    "type": "game",
    "status": "active",
    "name": "Phoenix 127",
    "thumbnailUri": "protected/us-west-2:5f40aa7b-817d-4a9d-a92f-5cbfad3e6dc2/f503a6ca-ea61-4704-9e5c-98a978a6bbdb.jpg",
    "featured": false,
    "rating": "1"
  },
  {
    "id": "19d6e277-3a83-4c05-b4b4-c2de9eea9d27",
    "listingId": 196,
    "revisionId": "d55d5d30-a258-487d-93e5-46cd00514213",
    "authorUsername": "tcoles+test01",
    "authorAvatar": "protected/us-west-2:5f40aa7b-817d-4a9d-a92f-5cbfad3e6dc2/ec9fbd31-d78a-44ac-8566-3500cd1953bc.jpg",
    "authorEmblem": "064a4b8d-4b42-4d9b-b5e6-da6dadd2026e",
    "type": "game",
    "status": "active",
    "name": "Phoenix 110",
    "thumbnailUri": "protected/us-west-2:5f40aa7b-817d-4a9d-a92f-5cbfad3e6dc2/e0eecb57-7527-4b0c-8de3-6dab8d04f419.jpg",
    "featured": false,
    "rating": "1"
  }],
  "page": 0,
  "pageSize": 48,
  "total": 3
}

Security

Authentication is not generally required for this method.

Query Parameters

NameDescriptionValue
qthe search querystring
pagethe 0-indexed page to return; by default, page 0 optionalnumber
sizethe number of items to return per page; may not be less than 10 or greater than 200; by default, 48 optionalnumber

Request Body

NONE

Response

Successful responses are code 200 with data in the response body. Error responses are standard.

Response Body

The response body is wrapped in a Paged data structure. Items are of type ContentInfo.

ContentInfo

NameDescriptionValue
idthe ID of the content item as a GUID with dashesstring
listingIdthe ID of the most recent listingnumber
revisionIdthe ID of the most recent revisionstring
authorUsernamethe username of the author of this contentstring
authorAvatara file path to the author's avatar, relative to the media content bucketstring
authorEmblemthe author's selected emblem ID, as a GUID with dashesstring or null
typethe type of this content item
one of:
  • game
  • avatar_box
  • gameplay_box
  • scene_box
  • asset
statusthe status of this content item
one of:
  • active
  • suspended
  • deleted_user
  • deleted_admin
namethe name of this content itemstring
thumbnailUrithe path to this item's primary screenshot, relative to the media content bucketstring
featuredwhether or not this content item has been featuredboolean
ratingthe aggregate rating score of this content item based on user votes, as a number between 0 and 1number