| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

View
 

Partigi API: reviews create

Page history last edited by Álvaro Bautista 14 years, 8 months ago

Go back to Partigi API Documentation

 

reviews/create

Create a review of an item for the authenticated user.

 

URL:

http://www.partigi.com/api/v1/reviews/create

 

Formats:

atom, json (more about JSON responses)

 

 

HTTP Methods:

POST

 

Authentication Mode:

read-write

 

Parameters:

Required:

  • item_id:  The identifier of the item to be reviewed
  • item_type: The type of the item: film, serie, book,... (see item types page).
  • status: The status of the review (see available review status page). The default value is 0.

Optional:

  • text: The text of the review
  • rating: The rating given to the item by the user. Allowed values are between 1 and 5.

 

Response:

 

If there are not errors in the request, the review will be created successfully, and the response will be the review in the specified format.

 

If there were any errors the response will be a an explanation of the error in plain text.

 

For more information, visit the page HTTP Response Codes and Errors

 

Go back to Partigi API Documentation

Comments (0)

You don't have permission to comment on this page.