Nightly Perpetrated Mischief

    @indiekit/endpoint-micropub

    1.0.0-alpha.12 • Public • Published

    @indiekit/endpoint-micropub

    Micropub endpoint for Indiekit.

    Installation

    npm i @indiekit/endpoint-micropub

    Usage

    Add @indiekit/endpoint-micropub to your list of plug-ins, specifying options as required:

    {
      "plugins": ["@indiekit/endpoint-micropub"],
      "@indiekit/endpoint-micropub": {
        "mountPath": "/publisher"
      }
    }

    Options

    Option Type Description
    mountPath string Path to listen to Micropub requests. Optional, defaults to /micropub.

    Supported endpoint queries

    • Configuration: /micropub?q=config
    • Media endpoint location: /micropub?q=media-endpoint
    • Available syndication targets (list): /micropub?q=syndicate-to
    • Supported queries: /micropub?q=config
    • Supported vocabularies (list): /micropub?q=post-types
    • Publication categories (list): /micropub?q=category
    • Previously published posts (list): /micropub?q=source
    • Source content: /micropub?q=source&url=WEBSITE_URL

    List queries support filter, limit and offset and parameters. For example, /micropub?q=source&filter=web&limit=10&offset=10.

    Install

    npm i @indiekit/endpoint-micropub

    DownloadsWeekly Downloads

    59

    Version

    1.0.0-alpha.12

    License

    MIT

    Unpacked Size

    46.5 kB

    Total Files

    20

    Last publish

    Collaborators

    • paulrobertlloyd