On this page:
Pollen-rock:   a RESTful Pollen Server

Pollen-rock: a RESTful Pollen Server

Pollen-rock is a Pollen web server with a set of RESTful APIs. It comes with a convenient in-browser editor that integrates the RESTful API to maximize the editing experience of Pollen project.

Pollen-rock does not change Pollen language’s semantics. If you hate Pollen being silent on your undefined tag functions, You’ll find Pollen-rock’s rendering engine has the same behavior because Pollen-rock reuses Pollen’s render functions. However, Pollen-rock’s built-in editor has the ability to inform you about undefined tags, so Pollen-rock is more than "just another server."

Internally, Pollen-rock provides RESTful web APIs for querying various information of a Pollen project. If you’re interested in writing your tools using the RESTful API, continue to Pollen-rock Server Specification. If you’re interested in Pollen-rock built-in editor, continue to Installation.

    1 Installation

    2 Use Pollen-rock

      2.1 Start the Server

      2.2 The Editor Overview

      2.3 Use the Editor

      2.4 Render

    3 Pollen-rock Server Specification

      3.1 Query the Server

      3.2 RESTful API

        3.2.1 POST /rest/fs/$path

        3.2.2 GET /rest/fs/$path

        3.2.3 GET /rest/tags/$file

        3.2.4 GET /rest/config/$file

        3.2.5 GET /rest/watch/$file

        3.2.6 GET /rest/search/$file

        3.2.7 GET /rest/render/$file

    4 Development

      4.1 Install

      4.2 RESTful API

      4.3 Rebuild the Docs

      4.4 The Editor