REST Resource: stats.index.datasources

Resource: GetDataSourceIndexStatsResponse

JSON representation
{
  "stats": [
    {
      object (DataSourceIndexStats)
    }
  ]
}
Fields
stats[]

object (DataSourceIndexStats)

Summary of indexed item counts, one for each day in the requested range.

DataSourceIndexStats

Aggregation of items by status code as of the specified date.

JSON representation
{
  "date": {
    object (Date)
  },
  "itemCountByStatus": [
    {
      object (ItemCountByStatus)
    }
  ]
}
Fields
date

object (Date)

Date for which index stats were calculated. If the date of request is not the current date then stats calculated on the next day are returned. Stats are calculated close to mid night in this case. If date of request is current date, then real time stats are returned.

itemCountByStatus[]

object (ItemCountByStatus)

Number of items aggregrated by status code.

ItemCountByStatus

JSON representation
{
  "statusCode": enum (Code),
  "count": string
}
Fields
statusCode

enum (Code)

Status of the items. Valid statuses are:

ERROR - Item encountered asynchronous error during the indexing process and needs to be re-indexed. MODIFIED - Item that was previously indexed and has since been modified in the repository since the last indexing. NEW_ITEM — Item that is not indexed. ACCEPTED — Document that was previously indexed and has not changed in the repository since the last indexing.

count

string (int64 format)

Number of items matching the status code.

Methods

get

Gets indexed item statistics for a single data source.