Activity Feeds
Most activities which you carry out within Codebase are logged to your activity feed so you can easily see what's been going on throughout your account or project. This activity feed data is available as RSS or XML. All RSS & XML data includes full URLs to any destinations with your Codebase account.
The API will always return the last 20 entries from the feed. Pass the page param to fetch older entries.
API URLs
You can use any of the API urls below to retrieve your activity feed data.
Data | Method | URL |
Account Feed | GET | /activity(?raw=true&since=2014-09-26 17:26:47 +0100) |
Feed for specific project | GET | /project/activity(?raw=true&since=2014-09-26 17:26:47 +0100) |
If a restricted user requests the account feed, they will only be able to view entries from projects they are assigned and have read access to.
Object Properties
The XML output below shows the properties which are returned by default when accessing project details.
GET /activity
<events>
<event>
<title>Adam Cooke created project Widgets</title>
<type>project</type>
<timestamp>Tue, 20 Oct 2009 21:02:01 +0000</timestamp>
<html-title><a href="https://account.codebasehq.com/users/adam">Adam Cooke</a> <span class='action'>created project</span> <a href="https://account.codebasehq.com/widgets">Widgets</a></html-title>
<html-text>There is no overview for this project</html-text>
</event>
</events>
title
plain text title of the activity eventtype
type of entry. See list below.html-title
HTML version of the title as rendered in the web interface & RSS feed.html-text
HTML version of the text as rendered in the web interface & RSS feed.
Event Types (and their properties, if requested)
There are a number of event types which you may see in your activity feed. In the Codebase interface, these are colour coded (the colour is provided in brackets below).
comment
- when a user published a comment to a commit or discussion topic (dark blue)content
- the commentcommit_ref
- the commit referencerepository_permalink
- the permalink of the projectproject_permalink
- the permalink of the project the comment belongs toproject_name
- the name of the project the comment belongs to
commit
- when a commit is added to a repository without a push (via. sync, mercurial or manual scans) (light blue)deployment
- when you deploy your repositories (brown/orange)named_tree
- when a branch or tag is added, edited or deleted (light blue)project
- when a project is created or deleted (yellow)push
- when you push to your repository (html-text includes a list of commits within the push) (light blue)ticketing_milestone
- when a milestone is added or status changed (purple)name
- the name of the milestonestart_date
- the date the milestone startsidentifier
- the unique identifier for the milestoneproject_permalink
- the permalink of the project the milestone belongs toproject_name
- the name of the project the milestone belongs to
ticketing_note
- when a new note is added to a ticket. Includes attachments and commit ticket updates (green)number
- the number assigned to the ticket by Codebasesubject
- the subject of the ticketcontent
- the contents of the updatechanges
time_added
project_permalink
- the permalink of the project the wiki belongs toproject_name
- the name of the project the wiki belongs toverb
source
source_ref
ticketing_ticket
- when a ticket is created (green)subject
- the subject of the ticketnumber
- the number assigned to the ticket by Codebaseproject_permalink
- the permalink of the project the ticket belongs toproject_name
- the name of the project the ticket belongs toassignee
- the name of the person assigned to the ticketpriority
- the name of the prioritysource
source_ref
wiki_page
- when a wiki page is created or updated (excluding all minor edits) (grey)name
- the name of the wikiidentifier
- the unique identifier for the sprintproject_permalink
- the permalink of the project the wiki belongs toproject_name
- the name of the project the wiki belongs to
sprint_creation
- when a sprint is created (orange)name
- the name of the sprintstart_date
- the date the sprint startsend_date
- the date the sprint endsticket_count
- the number of tickets the sprint consists ofproject_permalink
- the permalink of the project the sprint belongs toidentifier
- the unique identifier for the sprint
sprint_ended
- when a sprint ends (orange)name
- the name of the sprintremaining_tickets
- the number of remaining tickets at the end of the sprintvelocity
- the average number of completed tickets per dayproject_permalink
- the permalink of the project the sprint belongs toidentifier
- the unique identifier for the sprintproject_name
- the name of the project the sprint belongs to