Skip to end of banner
Go to start of banner

getBlogsInPeriod

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Syntax

getBlogsInPeriod(spaceKey, date, period)

Description

Returns blogs of a space, by space key, date and period.

Parameters

Parameter name

Type

Required

Description

spaceKey

stringyesSpace key of the selected space.
datestringyesFormat: "yyyy-MM-dd".
periodstringyesCan 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

  • No labels