Displayable Content Export: Request Bazaarvoice Conversations data in bulk for public display using an HTTP interface.
5. Follow 302 Redirect to CGC Data File
The Bazaarvoice Displayable Content Export (DCE) provides an HTTP interface for bulk requesting Bazaarvoice Conversations data intended for public display. To learn more, go to the DCE documentation home page.
Contents
Finally, your application should follow the HTTP 302 redirect from the previous step to get the CGC data file.
Request
Path
GET {CGC_DATA_URL}
Path tokens
Name | Description |
---|---|
{CGC_DATA_URL} |
The URL provided in the previous step. |
Response
The response will be a gzipped file containing the consumer generated content (CGC). The contents of each file will vary with the type of CGC. Refer to the Reference section for details on each data set. The following are incomplete examples provided to give a representative sample of what to expect:
{"type":"product", "id":"SomeProductID21", "productField1": "Some Content", … } {"type":"product", "id":"SomeProductID83", "productField1": "Some Content", … } …
{"type":"review", "id":"SomeReviewID1", "productId":["SomeProductID83"], "reviewField1":"Some Content", … } {"type":"review", "id":"SomeReviewID2", "productId":["SomeProductID21","SomeProductID134"], "reviewField1":"Some Content", … } …
In the examples above, an ellipsis (…) indicates that there may be additional data.
CGC data files may have multiple JSON objects, each on its own line, as demonstrated above. However, the file itself is not valid JSON; Attempting to translate a whole file as JSON will fail. Instead, your application should read the files line-by-line, processing each object individually.