POST
/
plugins
curl --request POST \
  --url https://api.mclicense.org/plugins \
  --header 'Content-Type: application/json' \
  --header 'MCL-Key: <api-key>' \
  --data '{
  "name": "<string>",
  "icon": "<string>",
  "marketplace": "<string>"
}'
{
  "_id": "<string>",
  "name": "<string>",
  "icon": "<string>",
  "marketplace": {
    "type": "SpigotMC",
    "id": "<string>",
    "url": "<string>"
  }
}

Authorizations

MCL-Key
string
header
required

API key must start with 'mcl_'

Body

application/json
name
string
required

Name of the plugin

icon
string

URL to the plugin's icon

marketplace
string

SpigotMC or Polymart marketplace URL

Response

201 - application/json
Plugin created successfully
name
string
required

Name of the plugin

_id
string

Unique identifier for the plugin

icon
string

URL to the plugin's icon

marketplace
object