Beanstalk

FeedKey Resource

Every user in Beanstalk has his his secret unique own Feed Key. Feed keys can be used to access repositories’ RSS/Atom feeds. Use the following template to construct feed URL for a specific repository:

https://{ACCOUNT}.beanstalkapp.com/{REPOSITORY}/activity/atom/{FEED_KEY}

and global account feed:

https://{ACCOUNT}.beanstalkapp.com/atom/{FEED_KEY}

Readable attributes

id integer Unique ID of the FeedKey.
account_id integer ID of the associated Account.
user_id integer ID of the User who owns the key.
key string Unique secure key for feed access.
updated_at datetime Time when the key was last updated.
created_at datetime Time when the key was first added to the system.

Find FeedKey for Current User

json http-request
GET /api/feed_key.json

Click to expand…

json http-response
{
  "feed_key": {
    "created_at": "2012/01/16 12:31:30 -0800",
    "updated_at": "2012/01/16 12:31:30 -0800",
    "account_id": 2,
    "id": 1,
    "user_id": 2,
    "key": "680ada71f5fd36dc6fea348421f12871722449b0"
  }
}
xml http-request
GET /api/feed_key.xml

Click to expand…

xml http-response
<feed-key>
  <account-id type="integer">2</account-id>
  <created-at type="datetime">2012-01-16T12:31:30-08:00</created-at>
  <id type="integer">1</id>
  <key>680ada71f5fd36dc6fea348421f12871722449b0</key>
  <updated-at type="datetime">2012-01-16T12:31:30-08:00</updated-at>
  <user-id type="integer">2</user-id>
</feed-key>