OpenIsle Docs
API 概览
List categories GET Create category POST
Delete category DELETE Get category GET Update category PUT
Api
Categories
Id

# Get category

Get category by id

GET
/`api`/`categories`/`{id}`

## Authorization

Authorization Bearer <token>

In: `header`

## Path Parameters

id integer
Format `int64`

## Response Body

###

    curl -X GET "https://www.open-isle.com/api/categories/0"

    {
      "id": 0,
      "name": "string",
      "description": "string",
      "icon": "string",
      "smallIcon": "string",
      "count": 0
    }

Delete category DELETE

Previous Page

Update category PUT

Next Page

    curl -X GET "https://www.open-isle.com/api/categories/0"