| 
  • 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
 

ItemType

Page history last edited by Fernando Blat 14 years, 3 months ago

Go back to Partigi API Documentation

 

ItemTypes reference to the type of element an item is.

 

Schema

 

ptItemType = element atom:entry {
atomId,
atomUpdated,
atomTitle,
atomCategory
}

 

The table below details the item common elements: 

 

Element Property Description
entry atom:category Scheme: http://schemas.partigi.com/v1.0#kind
Term: http://schemas.partigi.com/v1.0#item_type
  atom:updated The date where the last item of this type was updated
  atom:title The name of the ItemType
  atom:id The URI that identifies the ItemType

 

 

An example

 

  <entry xmlns:ptList="http://schemas.partigi.com/v1.0/ptItemType">
    <category term="http://schemas.partigi.com/v1.0#item_type" scheme="http://schemas.partigi.com/v1.0#kind"/>
    <id>http://www.partigi.com/api/v1/items?item_type=film</id>
    <title>film</title>
  </entry>

 

 

Go back to Partigi API Documentation

Comments (0)

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