Actions
Rest News » History » Revision 3
« Previous |
Revision 3/4
(diff)
| Next »
Jean-Philippe Lang, 2011-07-04 21:48
News¶
- Table of contents
- News
/news.:format¶
GET¶
Returns all news across all projects with pagination.
Example:
GET /news.xml
/projects/:project_id/news.:format¶
GET¶
Returns all news from project with given id or identifier with pagination.
Example:
GET /projects/foo/news.xml
Response:
<?xml version="1.0" encoding="UTF-8"?> <news type="array" limit="25" total_count="2" offset="0"> <news> <id>54</id> <project name="Redmine" id="1"/> <author name="Jean-Philippe Lang" id="1"/> <title>Redmine 1.1.3 released</title> <summary/> <description>Redmine 1.1.3 has been released</description> <created_on>2011-04-29T14:00:25+02:00</created_on> </news> <news> <id>53</id> <project name="Redmine" id="1"/> <author name="Jean-Philippe Lang" id="1"/> <title>Redmine 1.1.2 bug/security fix released</title> <summary/> <description>Redmine 1.1.2 has been released</description> <created_on>2011-03-07T21:07:03+01:00</created_on> </news> </news>
Updated by Jean-Philippe Lang about 13 years ago · 3 revisions