Docs > API reference

The PostCMS Javascript API gives you access to all the content held in your account.

Global variables

Name Description
out Used to write output in the current context.
request Used to get details of the current request.

Prototypes

Name Description
Asset A binary or text file.
ContentType A content type definition.
Finder Utility class for querying content in your account.
Item The superclass for objects such as pages and assets.
ItemSet A set of items.
Page A web page.
Person A user account.
Section A directory in the site hierarchy.
Workflow A workflow.
Url Utility class for retrieving remote content.

Can't find what you're looking for?

Let us know and we'll see if we can help.