项目

通用

个人资料

操作

新闻

/news.:format

GET

返回所有项目中的新闻,带有分页。

示例:

GET /news.xml

/projects/:project_id/news.:format

GET

返回具有给定ID或标识符的项目中的所有新闻,带有分页。

示例:

GET /projects/foo/news.xml

响应:

<?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>

由Toshi MARUYAMA更新 几乎7年前 · 4次修订