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

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Partigi API Documentation

This version was saved 14 years, 11 months ago View current version     Page history
Saved by Fernando Blat
on September 24, 2009 at 8:28:14 am
 

Go back to the main page

 

Overview

 

This is an Atom based API, that offers almost all the functionality and data from the web version. All the requests have to be done using the appropriate HTTP methods, and they respond with the appropriate HTTP response codes.

 

There are two kind of requests: those which not require authentication (because they are read-only actions and the data they return is public), and those that do. Authentication is implemented via WSSE Username Token algorithm using the user secret key.

 

The API is versionated, as can be seen in the base URI: http://partigi.com/api/v1/.

 

The main information element in Partigi is the Item. The item, by the moment can only be of type film, but in the future there will be a lot of types. Every item is related with many people (the cast members, directors, writers, and so on). Every time that an User rates an Item, a Review is created. A review contains a numerical rating (between 0 to 5), a text and tags. Also, users are related with other users through relationships. Finally, we have the lists. A list is composed by list from users. Every list of a user is a version of the main list.

 

Partigi Atom Reference

 

Elements

 

Item

Person

Review

User

List

ListUser

Relationship

 

 

Methods

 

Items methods

 

items/show

items/index

 

Reviews methods

 

reviews/index

reviews/show

reviews/create

reviews/update

reviews/friends

 

People methods

 

people/show

 

Users methods

 

users/show

 

Friendships methods

 

friendships/index

friendships/create

friendships/destroy

friendships/show

 

Lists Methods

 

lists/index

lists/show

lists/create

 

ListUsers Methods

 

list_users/index

list_users/show

list_users/create

list_users/update

list_users/destroy

 

 

General reference

 

Available locales

Item types

HTTP Response Codes and Errors

API Authentication

 

 

Go back to the main page

Comments (0)

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