Misskey · Example Payload

Misskey Post___Admin___Emoji___Update Example

No description provided. **Credential required**: *Yes* / **Permission**: *write:admin:emoji*

Open-SourceSocial NetworksFediverseActivityPubDecentralized

Misskey Post___Admin___Emoji___Update Example is an example object payload from Misskey, with 7 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

endpointmethodoperationIdsummarydescriptionrequestBodyresponseExample

Example Payload

Raw ↑
{
  "endpoint": "/admin/emoji/update",
  "method": "POST",
  "operationId": "post___admin___emoji___update",
  "summary": "admin/emoji/update",
  "description": "No description provided.\n\n**Credential required**: *Yes* / **Permission**: *write:admin:emoji*",
  "requestBody": {
    "contentType": "application/json",
    "example": {},
    "schema": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "misskey:id"
        },
        "name": {
          "type": "string",
          "pattern": "^[a-zA-Z0-9_]+$"
        },
        "fileId": {
          "type": "string",
          "format": "misskey:id"
        },
        "category": {
          "type": [
            "string",
            "null"
          ],
          "description": "Use `null` to reset the category."
        },
        "aliases": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "license": {
          "type": [
            "string",
            "null"
          ]
        },
        "isSensitive": {
          "type": "boolean"
        },
        "localOnly": {
          "type": "boolean"
        },
        "requestedBy": {
          "type": [
            "string",
            "null"
          ]
        },
        "memo": {
          "type": [
            "string",
            "null"
          ]
        },
        "roleIdsThatCanBeUsedThisEmojiAsReaction": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "misskey:id"
          }
        },
        "roleIdsThatCanNotBeUsedThisEmojiAsReaction": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "misskey:id"
          }
        }
      },
      "anyOf": [
        {
          "required": [
            "id"
          ]
        },
        {
          "required": [
            "name"
          ]
        }
      ]
    }
  },
  "responseExample": {
    "status": "400",
    "contentType": "application/json",
    "example": {}
  }
}