OpenIsle Docs
API 概览
Get user GET
Subscribed posts GET
Api
Users
Identifier
Subscribed posts

# Subscribed posts

Get posts the user subscribed to

GET
/`api`/`users`/`{identifier}`/`subscribed-posts`

## Authorization

Authorization Bearer <token>

In: `header`

## Path Parameters

identifier string

## Query Parameters

limit?integer
Format `int32`

## Response Body

###

    curl -X GET "https://www.open-isle.com/api/users/string/subscribed-posts?limit=0"

    [
      {
        "id": 0,
        "title": "string",
        "snippet": "string",
        "createdAt": "2019-08-24T14:15:22Z",
        "category": {
          "id": 0,
          "name": "string",
          "description": "string",
          "icon": "string",
          "smallIcon": "string",
          "count": 0
        },
        "tags": [
          {
            "id": 0,
            "name": "string",
            "description": "string",
            "icon": "string",
            "smallIcon": "string",
            "createdAt": "2019-08-24T14:15:22Z",
            "count": 0
          }
        ],
        "views": 0,
        "commentCount": 0
      }
    ]

User replies GET

Previous Page

User tags GET

Next Page

    curl -X GET "https://www.open-isle.com/api/users/string/subscribed-posts?limit=0"