Plugins

Create a Plugin

Changed on

Create a new plugin.

post/plugins/{owner}

Request

  • The document declares no server URL.
  • Auth: one of:
    • HTTP bearer
    • API key in header x-pollination-token

Path parameters

ownerstring required

Request body

namestring required

The name of the repository

publicboolean

Whether or not a repository is publicly viewable

keywordsstring[]

A list of keywords to index the repository by

descriptionstring

A description of the repository

iconstring

An icon to represent this repository

Example request

{
  "name": "daylight-factor",
  "keywords": [
    "daylight",
    "radiance"
  ],
  "description": "Run daylight simulations the easy way!",
  "icon": "https://avatars1.githubusercontent.com/u/38131342"
}

Response

Success

idstring uuid required

Id for the newly created resource.

messagestring

A human readable message

Example response

{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "message": "Use Location in headers to access the new object."
}

Changes

    • breaking

      response property detail/items/loc/items/ list-of-types was widened by adding types integer to media type application/json of response 422

    • info

      the request property default value true was removed