OpenIsle Docs
API 概览
Approve tag POST
Api
Admin
Tags
Id
Approve

# Approve tag

Approve a pending tag

POST
/`api`/`admin`/`tags`/`{id}`/`approve`

## Authorization

Authorization Bearer <token>

In: `header`

## Path Parameters

id integer
Format `int64`

## Response Body

###

    curl -X POST "https://www.open-isle.com/api/admin/tags/0/approve"

    {
      "id": 0,
      "name": "string",
      "description": "string",
      "icon": "string",
      "smallIcon": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "count": 0
    }

List pending posts GET

Previous Page

List pending tags GET

Next Page

    curl -X POST "https://www.open-isle.com/api/admin/tags/0/approve"