Necessitates Proper Modularity

    @indiekit/endpoint-media

    1.0.0-alpha.12 • Public • Published

    @indiekit/endpoint-media

    Micropub media endpoint for Indiekit.

    Installation

    npm i @indiekit/endpoint-media

    Usage

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

    {
      "plugins": ["@indiekit/endpoint-media"],
      "@indiekit/endpoint-media": {
        "mountPath": "/medien" // de-DE
      }
    }

    Options

    Option Type Description
    mountPath string Path to listen to media upload requests. Optional, defaults to /media.

    Supported endpoint queries

    • Previously published media: /media?q=source

      Supports filter, limit and offset and parameters. For example, /media?q=source&filter=web&limit=10&offset=10.

    Install

    npm i @indiekit/endpoint-media

    DownloadsWeekly Downloads

    55

    Version

    1.0.0-alpha.12

    License

    MIT

    Unpacked Size

    18.9 kB

    Total Files

    12

    Last publish

    Collaborators

    • paulrobertlloyd