halo
  1. PostV1alpha1Uc
halo
uc
  • all
  • console
  • extension
  • public
  • uc
  • NotifierV1alpha1Uc
    • FetchReceiverConfig
      GET
    • SaveReceiverConfig
      POST
  • NotificationV1alpha1Uc
    • ListUserNotificationPreferences
      GET
    • SaveUserNotificationPreferences
      POST
    • ListUserNotifications
      GET
    • MarkNotificationsAsRead
      PUT
    • DeleteSpecifiedNotification
      DELETE
    • MarkNotificationAsRead
      PUT
  • UserConnectionV1alpha1Uc
    • DisconnectMyConnection
      PUT
  • PostV1alpha1Uc
    • ListMyPosts
      GET
    • CreateMyPost
      POST
    • GetMyPost
      GET
    • UpdateMyPost
      PUT
    • GetMyPostDraft
      GET
    • UpdateMyPostDraft
      PUT
    • PublishMyPost
      PUT
    • RecycleMyPost
      DELETE
    • UnpublishMyPost
      PUT
  • SnapshotV1alpha1Uc
    • GetSnapshotForPost
      GET
  • UserPreferenceV1alpha1Uc
    • getMyPreference
      GET
    • updateMyPreference
      PUT
  • TwoFactorAuthV1alpha1Uc
    • GetTwoFactorAuthenticationSettings
      GET
    • DisableTwoFactor
      PUT
    • EnableTwoFactor
      PUT
    • ConfigurerTotp
      POST
    • DeleteTotp
      DELETE
    • GetTotpAuthLink
      GET
  • DeviceV1alpha1Uc
    • ListDevices
    • RevokeDevice
  • PersonalAccessTokenV1alpha1Uc
    • ObtainPats
    • GeneratePat
    • DeletePat
    • ObtainPat
    • RestorePat
    • RevokePat
  • AttachmentV1alpha1Uc
    • ListMyAttachments
    • CreateAttachmentForPost
    • UploadUcAttachment
    • ExternalTransferAttachment_1
  1. PostV1alpha1Uc

ListMyPosts

GET
/apis/uc.api.content.halo.run/v1alpha1/posts
List posts owned by the current user.

请求参数

Query 参数

Header 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://192.168.80.101:8090/apis/uc.api.content.halo.run/v1alpha1/posts' \
--header 'Authorization: {{authorization}}'

返回响应

🟢200成功
*/*
default response
Body

示例
{
    "first": true,
    "hasNext": true,
    "hasPrevious": true,
    "items": [
        {
            "categories": [
                {
                    "apiVersion": "string",
                    "kind": "string",
                    "metadata": {
                        "annotations": {
                            "property1": "string",
                            "property2": "string"
                        },
                        "creationTimestamp": "2019-08-24T14:15:22Z",
                        "deletionTimestamp": "2019-08-24T14:15:22Z",
                        "finalizers": [
                            "string"
                        ],
                        "generateName": "string",
                        "labels": {
                            "property1": "string",
                            "property2": "string"
                        },
                        "name": "string",
                        "version": 0
                    },
                    "spec": {
                        "children": [
                            "string"
                        ],
                        "cover": "string",
                        "description": "string",
                        "displayName": "string",
                        "hideFromList": true,
                        "postTemplate": "string",
                        "preventParentPostCascadeQuery": true,
                        "priority": 0,
                        "slug": "string",
                        "template": "string"
                    },
                    "status": {
                        "permalink": "string",
                        "postCount": 0,
                        "visiblePostCount": 0
                    }
                }
            ],
            "contributors": [
                {
                    "avatar": "string",
                    "displayName": "string",
                    "name": "string"
                }
            ],
            "owner": {
                "avatar": "string",
                "displayName": "string",
                "name": "string"
            },
            "post": {
                "apiVersion": "string",
                "kind": "string",
                "metadata": {
                    "annotations": {
                        "property1": "string",
                        "property2": "string"
                    },
                    "creationTimestamp": "2019-08-24T14:15:22Z",
                    "deletionTimestamp": "2019-08-24T14:15:22Z",
                    "finalizers": [
                        "string"
                    ],
                    "generateName": "string",
                    "labels": {
                        "property1": "string",
                        "property2": "string"
                    },
                    "name": "string",
                    "version": 0
                },
                "spec": {
                    "allowComment": true,
                    "baseSnapshot": "string",
                    "categories": [
                        "string"
                    ],
                    "cover": "string",
                    "deleted": false,
                    "excerpt": {
                        "autoGenerate": true,
                        "raw": "string"
                    },
                    "headSnapshot": "string",
                    "htmlMetas": [
                        {
                            "property1": "string",
                            "property2": "string"
                        }
                    ],
                    "owner": "string",
                    "pinned": false,
                    "priority": 0,
                    "publish": false,
                    "publishTime": "2019-08-24T14:15:22Z",
                    "releaseSnapshot": "string",
                    "slug": "string",
                    "tags": [
                        "string"
                    ],
                    "template": "string",
                    "title": "string",
                    "visible": "PUBLIC"
                },
                "status": {
                    "commentsCount": 0,
                    "conditions": [
                        {
                            "lastTransitionTime": "2019-08-24T14:15:22Z",
                            "message": "string",
                            "reason": "string",
                            "status": "TRUE",
                            "type": "string"
                        }
                    ],
                    "contributors": [
                        "string"
                    ],
                    "excerpt": "string",
                    "hideFromList": true,
                    "inProgress": true,
                    "lastModifyTime": "2019-08-24T14:15:22Z",
                    "observedVersion": 0,
                    "permalink": "string",
                    "phase": "string"
                }
            },
            "stats": {
                "approvedComment": 0,
                "totalComment": 0,
                "upvote": 0,
                "visit": 0
            },
            "tags": [
                {
                    "apiVersion": "string",
                    "kind": "string",
                    "metadata": {
                        "annotations": {
                            "property1": "string",
                            "property2": "string"
                        },
                        "creationTimestamp": "2019-08-24T14:15:22Z",
                        "deletionTimestamp": "2019-08-24T14:15:22Z",
                        "finalizers": [
                            "string"
                        ],
                        "generateName": "string",
                        "labels": {
                            "property1": "string",
                            "property2": "string"
                        },
                        "name": "string",
                        "version": 0
                    },
                    "spec": {
                        "color": "string",
                        "cover": "string",
                        "displayName": "string",
                        "slug": "string"
                    },
                    "status": {
                        "observedVersion": 0,
                        "permalink": "string",
                        "postCount": 0,
                        "visiblePostCount": 0
                    }
                }
            ]
        }
    ],
    "last": true,
    "page": 0,
    "size": 0,
    "total": 0,
    "totalPages": 0
}
修改于 2025-09-17 17:14:20
上一页
DisconnectMyConnection
下一页
CreateMyPost
Built with