OpenIsle Docs
API 概览
List medals GET
Api
Medals

# List medals

List medals for user or globally

GET
/`api`/`medals`

## Authorization

Authorization Bearer <token>

In: `header`

## Query Parameters

userId?integer
Format `int64`

## Response Body

###

    curl -X GET "https://www.open-isle.com/api/medals?userId=0"

    [
      {
        "icon": "string",
        "title": "string",
        "description": "string",
        "type": "COMMENT",
        "completed": true,
        "selected": true
      }
    ]

Generate invite POST

Previous Page

Select medal POST

Next Page

    curl -X GET "https://www.open-isle.com/api/medals?userId=0"