Skip to end of metadata
Go to start of metadata

Syntax

countBlogs(spaceKey)

Description

Returns the number of blogs contained in the selected space.

Parameters

Parameter name

Type

Required

Description

spaceKey

stringYesKey of space to count blogs

Return type

number

Returns the number of blogs that contained in the selected space.

Example

number count = countBlogs("someSpaceKey");
print("Return " + count);

Print Return 15 (for example)

See also