| 
  • 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: lists index

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

Go back to Partigi API Documentation

 

lists/index

Returns a paginated list of the lists in Partigi

 

URL:

http://www.partigi.com/api/v1/lists/index.format

 

Formats:

atom, json (more about JSON responses)

 

HTTP Methods:

GET

 

Authentication Mode:

read-only

 

Parameters

Optional: 

  • per_page: The number of results per page to retrieve, from 1 up to 100. By default retrieves 10 elements.
  • page: The page from which retrieve the results. By default is 1.

 

Example requests:

 

http://www.partigi.com/api/v1/lists/index.atom?page=2&per_page=10

 

Example responses:

 

  <?xml version="1.0" encoding="UTF-8"?>
  <feed xmlns="http://www.w3.org/2005/Atom">
    <title>lists &#187; Partigi</title>
    <id>http://www.partigi.com/api/v1/lists/index.atom?page=1&amp;amp;per_page=10</id>
    <updated>2009-08-10T11:31:28Z</updated>
    <link type="application/atom+xml" href="http://www.partigi.com/api/v1/lists/index.atom?page=1&amp;amp;per_page=10" rel="self"/>
    <link type="text/html" href="http://www.partigi.com/api/v1/lists/index.html?page=1&amp;amp;per_page=10" rel="alternate"/>
    <author>
      <name>Partigi</name>
    </author>

  <entry xmlns:ptList="http://schemas.partigi.com/v1.0/ptList">
    <category scheme="http://schemas.partigi.com/v1.0#kind" term="http://schemas.partigi.com/v1.0#list"/>
    <id>http://www.partigi.com/api/v1/lists/show.atom?id=34</id>
    <title>Pelis con mono</title>
    <updated>2009-08-10T11:31:28Z</updated>
    <published>2009-08-07T16:54:30Z</published>
    <link type="text/html" href="http://www.partigi.com/lists/34" rel="alternate"/>
    <link type="application/atom+xml" href="http://www.partigi.com/api/v1/lists/show.atom?id=34" rel="self"/>
    <ptList:id>34</ptList:id>
    <ptList:name>Pelis con mono</ptList:name>
    <ptList:nicename>pelis-con-mono</ptList:nicename>
    <ptList:saved_count>2</ptList:saved_count>

  </entry>
  <entry xmlns:ptList="http://schemas.partigi.com/v1.0/ptList">
    <category scheme="http://schemas.partigi.com/v1.0#kind" term="http://schemas.partigi.com/v1.0#list"/>
    <id>http://www.partigi.com/api/v1/lists/show.atom?id=36</id>
    <title>Ciencia Ficci&#243;n Sovi&#233;tica</title>
    <updated>2009-08-10T09:28:15Z</updated>
    <published>2009-08-10T09:17:35Z</published>
    <link type="text/html" href="http://www.partigi.com/lists/36" rel="alternate"/>
    <link type="application/atom+xml" href="http://www.partigi.com/api/v1/lists/show.atom?id=36" rel="self"/>
    <ptList:id>36</ptList:id>
    <ptList:name>Ciencia Ficci&#243;n Sovi&#233;tica</ptList:name>
    <ptList:nicename>ciencia-ficcion-sovietica</ptList:nicename>
    <ptList:saved_count>1</ptList:saved_count>

  </entry>
  </feed>

 

Go back to Partigi API Documentation

Comments (0)

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