Skip to main content

pages/{pageid}/feed/new (GET) (SAP KC)


Retrieve feed of new page creations

  • REST Method: GET
  • Method Access: public

Uri Parameters

Name Type Description
pageid string either an integer page ID, "home", or "=" followed by a double uri-encoded page title

Query Parameters

Name Type Description
includeDeleted bool? Include deleted pages in the authorization. Default is false
timezone string? Optionally indicate a timezone so that the news feed displays the messages with the timestamp adjusted to the preferred timezone (e.g. -09:00, the default is empty)
authenticate bool? Force authentication for request (default: false)
redirects int? If zero, do not follow page redirects.
filter string? use "new" to include only newly created pages in the feed (default: all)
depth string? How deep into the sub-tree changes should be included. 0 for the current page only, 'infinity' for entire sub-tree (default: 0)
format {all, daily, raw, rawdaily}? Format for feed (default: daily)
offset int? Skipped changes (default: 0)
limit int? Number of changes to retrieve (default: 100)
since string? Start date for changes. Date is provided in 'yyyyMMddHHmmss' format (default: ignored).

Return Codes

Name Value Description
OK 200 The request completed successfully
Bad Request 400 Invalid input parameter or request body
Forbidden 403 Read/suscribe access to the page is required
Not Found 404 Requested page could not be found

Message Format

Output (Atom):  Refer to

Output (Digest/Raw):


Implementation Notes

Atom and Digest formats retrieve a compressed summary of recent changes, whereas the Raw format lists each change individually.

DekiScript Code Example

var now =;
var since = date.adddays(now,-7);
let since = date.format(since, "yyyyMMddHHmmss");

var changesuri = site.api & 'pages/8521/feed/new' & {since:since, limit: 10, format: "all", namespace: "main" };
var api = wiki.api(changesuri);

var count = #api['entry'];

Curl Code Sample: Retrieve Feed of New Pages

The following command returns a feed containing a list of all page creations relative to the hierarchy of page "foo". To retrieve a feed of all page creations, use special page ID "home" in place of "=foo".

Sample Code

curl -u username:password -i http://mindtouch.address/@api/deki/pages/=foo/feed/new

Sample Response from executing Code

Example of a new page feed relative to page "A". In this example, page A is created, and then page B is created as a subpage of A.


curl -u admin:password -i

XML Response

format: raw

Content-Type: application/xml

    <rc_comment>page created, 10 words added</rc_comment>
    <rc_title>A/B</rc_title>    <rc_type>1</rc_type>
    <rc_comment>page created</rc_comment>
    <rc_title>A</rc_title>    <rc_type>1</rc_type>

Implementation notes 

curl flags

Provides external user authentication. Note that if anonymous access is available and authentication is not forced, this flag may be omitted.
Outputs the HTTP response headers. Useful for debugging.


To view a list of all pages, follow the instructions here.
  • Was this article helpful?