GET user/{userId}/content

Get a list of the content created by a user.

Example

GET /api/v1/user/66a5db1f-2785-498d-9068-e24ddbba03f2/content HTTP/1.1
Accept: application/json
Authorization: Bearer ...
----------------------------------------
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
ETag: ...

[{
  "id": "393af00f-b965-441f-9bf2-cf141212c27d",
  "listingId": 286,
  "revisionId": "a04bd9a7-cdf2-4398-a6ff-445d4fa5c810",
  "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": "Chandler 153",
  "thumbnailUri": "protected/us-west-2:5f40aa7b-817d-4a9d-a92f-5cbfad3e6dc2/e0eecb57-7527-4b0c-8de3-6dab8d04f419.jpg",
  "featured": false,
  "rating": "1"
},
{
  "id": "1d9ca639-1bc7-4c1c-b980-dc2d581334c3",
  "listingId": 297,
  "revisionId": "e2a4adf3-da49-423b-8b72-5b3d5f21bb88",
  "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 581",
  "thumbnailUri": "protected/us-west-2:5f40aa7b-817d-4a9d-a92f-5cbfad3e6dc2/b31ac216-4c5b-4413-b3d0-e8a8dee96ed7.jpg",
  "featured": true,
  "rating": "1"
},
{
  "id": "8dfe730e-fd25-43ad-819b-c23d5407c006",
  "listingId": 299,
  "revisionId": "0c93a91a-62eb-4c96-b16c-154986d799c5",
  "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": "Avondale 479",
  "thumbnailUri": "protected/us-west-2:5f40aa7b-817d-4a9d-a92f-5cbfad3e6dc2/e0eecb57-7527-4b0c-8de3-6dab8d04f419.jpg",
  "featured": false,
  "rating": "1"
}]

Security

Authentication is not generally required for this method, but certain content items are restricted to certain users based on their status.

URL Parameters

NameDescriptionValue
userIdthe ID of the user as a GUID with dashesstring

Query Parameters

NameDescriptionValue
categoryfilter on the type of content; by default, show all types optional
one of:
  • game
  • asset
  • box
statusfilter on the status of content; only admins will see the effect of this option; by default, show active and suspended items if the requesting user is the author of the content, but only active items to other users optional
one of:
  • all
  • suspended

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 an Array of ContentInfo objects.

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