Stay organized with collections Save and categorize content based on your preferences.
public static class UploadRequest.IndexItemAndContentRequest extends UploadRequest.IndexItemRequest

Request to index an Item and its content to the indexing API.

  • mediaContent is the content object that needs to be uploaded.

An example of IndexItemAndContentRequest is:

    "mediaContent": {
        "contentType": "test/json",
        "contentString": "testContentString",
    "item": {
         "name": "test567",
         "itemType": "CONTAINER_ITEM",
         "content": {
             "content_format": "TEXT"
          "acl":  {
    "indexItemOptions": {
    "isIncremental": "true",
    "type": "items.indexItemAndContent"

Inherited Field Summary

Public Constructor Summary

Inherited Method Summary

Public Constructors

public UploadRequest.IndexItemAndContentRequest ()