# FeedStatus

- [JSON representation](https://developers.google.com/maps-booking/reference/maps-booking-api/rest/v1alpha/FeedStatus#SCHEMA_REPRESENTATION)
- [FeedStatistics](https://developers.google.com/maps-booking/reference/maps-booking-api/rest/v1alpha/FeedStatus#FeedStatistics)
  - [JSON representation](https://developers.google.com/maps-booking/reference/maps-booking-api/rest/v1alpha/FeedStatus#FeedStatistics.SCHEMA_REPRESENTATION)

Status of a feed uploaded by the aggregator's platform.

| JSON representation |
|---|
| ``` { "name": string, "state": enum (`https://developers.google.com/maps-booking/reference/maps-booking-api/rest/v1alpha/State`), "errorDetails": string, "statistics": { object (`https://developers.google.com/maps-booking/reference/maps-booking-api/rest/v1alpha/FeedStatus#FeedStatistics`) } } ``` |

| Fields ||
|---|---|
| `name` | `string` The feed resource name, which has the format of - `partners/{partner_id}/feeds/merchants/{fileName}` - `partners/{partner_id}/feeds/services/{fileName}` - `partners/{partner_id}/feeds/availability/{fileName}` |
| `state` | ``enum (`https://developers.google.com/maps-booking/reference/maps-booking-api/rest/v1alpha/State`)`` The processing state of this feed. |
| `errorDetails` | `string` Human readable string providing more details if we failed to process this feed. |
| `statistics` | ``object (`https://developers.google.com/maps-booking/reference/maps-booking-api/rest/v1alpha/FeedStatus#FeedStatistics`)`` Statistics specific to this feed. |

## FeedStatistics

Statistics obtained while processing an uploaded feed.

| JSON representation |
|---|
| ``` { "newItems": string, "existingItems": string, "deletedItems": string } ``` |

| Fields ||
|---|---|
| `newItems` | `string (https://developers.google.com/discovery/v1/type-format format)` Newly added items by this feed. Items can be merchants, services or availability slots, depending on the type of the feed. |
| `existingItems` | `string (https://developers.google.com/discovery/v1/type-format format)` Existing items, updated as needed from newer information from the feed. |
| `deletedItems` | `string (https://developers.google.com/discovery/v1/type-format format)` Items no longer present in this feed, and that were removed as a result. |