Syntax
getBlogsInPeriod(spaceKey, date, period)
Description
Returns blogs of a space, by space key, date and period.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
spaceKey | string | yes | Space key of the selected space. |
date | string | yes | Format: "yyyy-MM-dd". |
period | string | yes | Can be "MONTH" (calendar month) or "DAY". |
Return type
number []
Examples
Example 1
return getBlogs("PSCONF","2010-01-02", "MONTH" );
It gives all blogs for February.
Return 131785|131890|132923|134465
Example 2
return getBlogs("PSCONF","2010-20-02", "DAY" )
It gives all blogs for 20 February.
Return 134465
See also