Get the list of publications

GET /v1/clients/:client_id/projects/:project_id/publications

Parameters

client_id
Required string
project_id
Required string
pub_account_id
Optional string
ids
Optional string - list of Publication ids separated by commas
type
Optional string - a list of comma separated publications types (without the Publications::. For example, “FacebookWall”).
limit
Optional Fixnum - Limits the number of returned elements. All publications are returned by default.
q
Optional String - The search pattern. This pattern is used to search on name of Resource and values of body_elements in case of resource associate is a Resources::Page

Response

Status: 200 OK
[
  {
    "_id": "4e43f42e09e50d0e9f000085",
    "_type": "Publications::Twitter",
    "client_id": "4e43f42909e50d0e9f000062",
    "project_id": "4e43f42909e50d0e9f000061",
    "pub_account_id": "4e43f42e09e50d0e9f000086",
    "resource_id": "4e43f42b09e50d0e9f00006a",
    "message": "testing again",
    "nb_comments": 0,
    "nb_replies": 0,
    "nb_retweets": 12,
    "scheduled": false,
    "status_id": "5646215277",
    "status": "published",
    "title": "twitter Publication",
    "url": "http://twitter.com/Safarilefilm/status/5646215277",
    "created_at": "2011-06-14T14:09:11Z",
    "updated_at": "2011-06-15T15:19:32Z"
  },
  {
    "_id": "4e43f42c09e50d0e9f00006f",
    "_type": "Publications::FacebookWall",
    "client_id": "4e43f42909e50d0e9f000062",
    "project_id": "4e43f42909e50d0e9f000061",
    "pub_account_id": "4e43f42c09e50d0e9f000070",
    "resource_id": "4e43f42c09e50d0e9f000075",
    "message": "I'm on a Facebook Wall !",
    "nb_comments": 0,
    "nb_likes": 0,
    "post_id": "4407212776_1512510239",
    "scheduled": true,
    "status": "unpublished",
    "title": "A chat",
    "url": "http://www.facebook.com/110326788982420/posts/110326788982420_107896399246371",
    "scheduled_at": "2011-07-11T17:24:28+02:00",
    "created_at": "2011-06-14T14:09:11Z",
    "updated_at": "2011-06-15T15:19:32Z"
  }
]