Create a Mod

POST
/mods
/mods

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

Session token. Example: "Authorization": "Bearer <token>"

In: header

X-API-Key<token>

API key. Example: "X-API-Key": "<apiKey>"

In: header

Request Body

application/jsonRequired

animated_iconstring

approvedboolean

background_imagestring

configobject

costnumber

created_atstring

created_by_idstring

descriptionstring

examplesobject

iconstring

idstring

owner_idstring

parametersobject

tagsarray<string>

@minItems 0

titlestring

curl -X POST "https://api.endless.io/v1/mods" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "animated_icon": "string",
    "approved": true,
    "background_image": "string",
    "config": {},
    "cost": 0,
    "created_at": "string",
    "created_by_id": "string",
    "description": "string",
    "examples": {},
    "icon": "string",
    "id": "string",
    "owner_id": "string",
    "parameters": {},
    "tags": [
      "string"
    ],
    "title": "string"
  }'

Success

{
  "animated_icon": "string",
  "approved": true,
  "background_image": "string",
  "config": {},
  "cost": 0,
  "created_at": "string",
  "created_by_id": "string",
  "description": "string",
  "examples": {},
  "icon": "string",
  "id": "string",
  "owner_id": "string",
  "parameters": {},
  "tags": [
    "string"
  ],
  "title": "string"
}