Download OpenAPI specification:Download
Documentation for Halo-Plus API
| authcode | string  = 6 characters    | 
| password required  | string  [ 0 .. 100 ] characters    | 
| username required  | string  [ 0 .. 255 ] characters    | 
{- "authcode": "string",
 - "password": "string",
 - "username": "string"
 
}| authcode | string  = 6 characters    | 
| password required  | string  [ 0 .. 100 ] characters    | 
| username required  | string  [ 0 .. 255 ] characters    | 
{- "authcode": "string",
 - "password": "string",
 - "username": "string"
 
}| code required  | string   | 
| email required  | string   | 
| password required  | string  [ 8 .. 100 ] characters    | 
| username required  | string   | 
{- "code": "string",
 - "email": "string",
 - "password": "stringst",
 - "username": "string"
 
}| attachmentId required  | integer <int32>   attachmentId  | 
| id | integer <int32>    | 
| name | string  [ 0 .. 255 ] characters    | 
| team | string   | 
{- "id": 0,
 - "name": "string",
 - "team": "string"
 
}| description | string  [ 0 .. 100 ] characters    | 
| id | integer <int32>    | 
| name required  | string  [ 0 .. 255 ] characters    | 
| parentId | integer <int32>    | 
| password | string  [ 0 .. 255 ] characters    | 
| priority | integer <int32>    | 
| slug | string  [ 0 .. 255 ] characters    | 
| thumbnail | string  [ 0 .. 1023 ] characters    | 
{- "description": "string",
 - "id": 0,
 - "name": "string",
 - "parentId": 0,
 - "password": "string",
 - "priority": 0,
 - "slug": "string",
 - "thumbnail": "string"
 
}| description | string  [ 0 .. 100 ] characters    | 
| id | integer <int32>    | 
| name required  | string  [ 0 .. 255 ] characters    | 
| parentId | integer <int32>    | 
| password | string  [ 0 .. 255 ] characters    | 
| priority | integer <int32>    | 
| slug | string  [ 0 .. 255 ] characters    | 
| thumbnail | string  [ 0 .. 1023 ] characters    | 
[- {
- "description": "string",
 - "id": 0,
 - "name": "string",
 - "parentId": 0,
 - "password": "string",
 - "priority": 0,
 - "slug": "string",
 - "thumbnail": "string"
 
} 
]| categoryId required  | integer <int32>   categoryId  | 
| description | string  [ 0 .. 100 ] characters    | 
| id | integer <int32>    | 
| name required  | string  [ 0 .. 255 ] characters    | 
| parentId | integer <int32>    | 
| password | string  [ 0 .. 255 ] characters    | 
| priority | integer <int32>    | 
| slug | string  [ 0 .. 255 ] characters    | 
| thumbnail | string  [ 0 .. 1023 ] characters    | 
{- "description": "string",
 - "id": 0,
 - "name": "string",
 - "parentId": 0,
 - "password": "string",
 - "priority": 0,
 - "slug": "string",
 - "thumbnail": "string"
 
}| avatar | string  [ 0 .. 1023 ] characters    | 
| description | string  [ 0 .. 1023 ] characters    | 
| email required  | string  [ 0 .. 127 ] characters    | 
| locale | string   | 
| nickname required  | string  [ 0 .. 255 ] characters    | 
| password | string  [ 8 .. 100 ] characters    | 
| title required  | string   | 
| url | string   | 
| username required  | string  [ 0 .. 50 ] characters    | 
{- "avatar": "string",
 - "description": "string",
 - "email": "string",
 - "locale": "string",
 - "nickname": "string",
 - "password": "stringst",
 - "title": "string",
 - "url": "string",
 - "username": "string"
 
}| allowNotification | boolean   | 
| author required  | string  [ 0 .. 50 ] characters    | 
| authorUrl | string  [ 0 .. 255 ] characters    | 
| content required  | string  [ 0 .. 1023 ] characters    | 
string  [ 0 .. 255 ] characters    | |
| parentId | integer <int64>    | 
| postId | integer <int32>    | 
{- "allowNotification": true,
 - "author": "string",
 - "authorUrl": "string",
 - "content": "string",
 - "email": "string",
 - "parentId": 0,
 - "postId": 0
 
}| commentId required  | integer <int64>   commentId  | 
| allowNotification | boolean   | 
| author required  | string  [ 0 .. 50 ] characters    | 
| authorUrl | string  [ 0 .. 255 ] characters    | 
| content required  | string  [ 0 .. 1023 ] characters    | 
string  [ 0 .. 255 ] characters    | |
| parentId | integer <int64>    | 
| postId | integer <int32>    | 
{- "allowNotification": true,
 - "author": "string",
 - "authorUrl": "string",
 - "content": "string",
 - "email": "string",
 - "parentId": 0,
 - "postId": 0
 
}| content | string   | 
| keepRaw | boolean   | 
| sourceContent required  | string   | 
| type | string  Enum: "INTIMATE" "PUBLIC"    | 
{- "content": "string",
 - "keepRaw": true,
 - "sourceContent": "string",
 - "type": "INTIMATE"
 
}| id required  | integer <int32>   id  | 
| content | string   | 
| keepRaw | boolean   | 
| sourceContent required  | string   | 
| type | string  Enum: "INTIMATE" "PUBLIC"    | 
{- "content": "string",
 - "keepRaw": true,
 - "sourceContent": "string",
 - "type": "INTIMATE"
 
}| description | string  [ 0 .. 255 ] characters    | 
| id | integer <int32>    | 
| logo | string  [ 0 .. 1023 ] characters    | 
| name required  | string  [ 0 .. 255 ] characters    | 
| priority | integer <int32>    | 
| team | string  [ 0 .. 255 ] characters    | 
| url required  | string  [ 0 .. 1023 ] characters    | 
{- "description": "string",
 - "id": 0,
 - "logo": "string",
 - "name": "string",
 - "priority": 0,
 - "team": "string",
 - "url": "string"
 
}| description | string  [ 0 .. 255 ] characters    | 
| id | integer <int32>    | 
| logo | string  [ 0 .. 1023 ] characters    | 
| name required  | string  [ 0 .. 255 ] characters    | 
| priority | integer <int32>    | 
| team | string  [ 0 .. 255 ] characters    | 
| url required  | string  [ 0 .. 1023 ] characters    | 
[- {
- "description": "string",
 - "id": 0,
 - "logo": "string",
 - "name": "string",
 - "priority": 0,
 - "team": "string",
 - "url": "string"
 
} 
]| id required  | integer <int32>   id  | 
| description | string  [ 0 .. 255 ] characters    | 
| id | integer <int32>    | 
| logo | string  [ 0 .. 1023 ] characters    | 
| name required  | string  [ 0 .. 255 ] characters    | 
| priority | integer <int32>    | 
| team | string  [ 0 .. 255 ] characters    | 
| url required  | string  [ 0 .. 1023 ] characters    | 
{- "description": "string",
 - "id": 0,
 - "logo": "string",
 - "name": "string",
 - "priority": 0,
 - "team": "string",
 - "url": "string"
 
}| key required  | string  [ 0 .. 100 ] characters    | 
| type | string  Enum: "CUSTOM" "INTERNAL"    | 
| value | string   | 
{- "key": "string",
 - "type": "CUSTOM",
 - "value": "string"
 
}| key required  | string  [ 0 .. 100 ] characters    | 
| type | string  Enum: "CUSTOM" "INTERNAL"    | 
| value | string   | 
[- {
- "key": "string",
 - "type": "CUSTOM",
 - "value": "string"
 
} 
]| optionId required  | integer <int32>   optionId  | 
| key required  | string  [ 0 .. 100 ] characters    | 
| type | string  Enum: "CUSTOM" "INTERNAL"    | 
| value | string   | 
{- "key": "string",
 - "type": "CUSTOM",
 - "value": "string"
 
}| description | string   | 
| id | integer <int32>    | 
| location | string   | 
| name required  | string   | 
| takeTime | string <date-time>    | 
| team | string   | 
| thumbnail required  | string   | 
| url required  | string   | 
{- "description": "string",
 - "id": 0,
 - "location": "string",
 - "name": "string",
 - "takeTime": "2019-08-24T14:15:22Z",
 - "team": "string",
 - "thumbnail": "string",
 - "url": "string"
 
}| description | string   | 
| id | integer <int32>    | 
| location | string   | 
| name required  | string   | 
| takeTime | string <date-time>    | 
| team | string   | 
| thumbnail required  | string   | 
| url required  | string   | 
[- {
- "description": "string",
 - "id": 0,
 - "location": "string",
 - "name": "string",
 - "takeTime": "2019-08-24T14:15:22Z",
 - "team": "string",
 - "thumbnail": "string",
 - "url": "string"
 
} 
]| description | string   | 
| id | integer <int32>    | 
| location | string   | 
| name required  | string   | 
| takeTime | string <date-time>    | 
| team | string   | 
| thumbnail required  | string   | 
| url required  | string   | 
[- {
- "description": "string",
 - "id": 0,
 - "location": "string",
 - "name": "string",
 - "takeTime": "2019-08-24T14:15:22Z",
 - "team": "string",
 - "thumbnail": "string",
 - "url": "string"
 
} 
]| photoId required  | integer <int32>   photoId  | 
| description | string   | 
| id | integer <int32>    | 
| location | string   | 
| name required  | string   | 
| takeTime | string <date-time>    | 
| team | string   | 
| thumbnail required  | string   | 
| url required  | string   | 
{- "description": "string",
 - "id": 0,
 - "location": "string",
 - "name": "string",
 - "takeTime": "2019-08-24T14:15:22Z",
 - "team": "string",
 - "thumbnail": "string",
 - "url": "string"
 
}| allowNotification | boolean   | 
| author required  | string  [ 0 .. 50 ] characters    | 
| authorUrl | string  [ 0 .. 255 ] characters    | 
| content required  | string  [ 0 .. 1023 ] characters    | 
string  [ 0 .. 255 ] characters    | |
| parentId | integer <int64>    | 
| postId | integer <int32>    | 
{- "allowNotification": true,
 - "author": "string",
 - "authorUrl": "string",
 - "content": "string",
 - "email": "string",
 - "parentId": 0,
 - "postId": 0
 
}| commentId required  | integer <int64>   commentId  | 
| allowNotification | boolean   | 
| author required  | string  [ 0 .. 50 ] characters    | 
| authorUrl | string  [ 0 .. 255 ] characters    | 
| content required  | string  [ 0 .. 1023 ] characters    | 
string  [ 0 .. 255 ] characters    | |
| parentId | integer <int64>    | 
| postId | integer <int32>    | 
{- "allowNotification": true,
 - "author": "string",
 - "authorUrl": "string",
 - "content": "string",
 - "email": "string",
 - "parentId": 0,
 - "postId": 0
 
}| autoSave | boolean  autoSave  | 
| categoryIds | Array of integers <int32>   unique [ items <int32 > ]   | 
| content | string   | 
| createTime | string <date-time>    | 
| disallowComment | boolean   | 
| editorType | string  Enum: "MARKDOWN" "RICHTEXT"    | 
| keepRaw | boolean   | 
| metaDescription | string   | 
| metaKeywords | string   | 
Array of objects (PostMetaParam)   unique    | |
| originalContent | string   | 
| password | string  [ 0 .. 255 ] characters    | 
| slug | string  [ 0 .. 255 ] characters    | 
| status | string  Enum: "DRAFT" "INTIMATE" "PUBLISHED" "RECYCLE"    | 
| summary | string   | 
| tagIds | Array of integers <int32>   unique [ items <int32 > ]   | 
| template | string  [ 0 .. 255 ] characters    | 
| thumbnail | string  [ 0 .. 1023 ] characters    | 
| title required  | string  [ 0 .. 100 ] characters    | 
| topPriority | integer <int32>    | 
{- "categoryIds": [
- 0
 
], - "content": "string",
 - "createTime": "2019-08-24T14:15:22Z",
 - "disallowComment": true,
 - "editorType": "MARKDOWN",
 - "keepRaw": true,
 - "metaDescription": "string",
 - "metaKeywords": "string",
 - "metas": [
- {
- "key": "string",
 - "postId": 0,
 - "value": "string"
 
} 
], - "originalContent": "string",
 - "password": "string",
 - "slug": "string",
 - "status": "DRAFT",
 - "summary": "string",
 - "tagIds": [
- 0
 
], - "template": "string",
 - "thumbnail": "string",
 - "title": "string",
 - "topPriority": 0
 
}| postId required  | integer <int32>   postId  | 
| autoSave | boolean  autoSave  | 
| categoryIds | Array of integers <int32>   unique [ items <int32 > ]   | 
| content | string   | 
| createTime | string <date-time>    | 
| disallowComment | boolean   | 
| editorType | string  Enum: "MARKDOWN" "RICHTEXT"    | 
| keepRaw | boolean   | 
| metaDescription | string   | 
| metaKeywords | string   | 
Array of objects (PostMetaParam)   unique    | |
| originalContent | string   | 
| password | string  [ 0 .. 255 ] characters    | 
| slug | string  [ 0 .. 255 ] characters    | 
| status | string  Enum: "DRAFT" "INTIMATE" "PUBLISHED" "RECYCLE"    | 
| summary | string   | 
| tagIds | Array of integers <int32>   unique [ items <int32 > ]   | 
| template | string  [ 0 .. 255 ] characters    | 
| thumbnail | string  [ 0 .. 1023 ] characters    | 
| title required  | string  [ 0 .. 100 ] characters    | 
| topPriority | integer <int32>    | 
{- "categoryIds": [
- 0
 
], - "content": "string",
 - "createTime": "2019-08-24T14:15:22Z",
 - "disallowComment": true,
 - "editorType": "MARKDOWN",
 - "keepRaw": true,
 - "metaDescription": "string",
 - "metaKeywords": "string",
 - "metas": [
- {
- "key": "string",
 - "postId": 0,
 - "value": "string"
 
} 
], - "originalContent": "string",
 - "password": "string",
 - "slug": "string",
 - "status": "DRAFT",
 - "summary": "string",
 - "tagIds": [
- 0
 
], - "template": "string",
 - "thumbnail": "string",
 - "title": "string",
 - "topPriority": 0
 
}| postId required  | integer <int32>   postId  | 
| content | string   | 
| keepRaw | boolean   | 
| originalContent | string   | 
{- "content": "string",
 - "keepRaw": true,
 - "originalContent": "string"
 
}| allowNotification | boolean   | 
| author required  | string  [ 0 .. 50 ] characters    | 
| authorUrl | string  [ 0 .. 255 ] characters    | 
| content required  | string  [ 0 .. 1023 ] characters    | 
string  [ 0 .. 255 ] characters    | |
| parentId | integer <int64>    | 
| postId | integer <int32>    | 
{- "allowNotification": true,
 - "author": "string",
 - "authorUrl": "string",
 - "content": "string",
 - "email": "string",
 - "parentId": 0,
 - "postId": 0
 
}| commentId required  | integer <int64>   commentId  | 
| allowNotification | boolean   | 
| author required  | string  [ 0 .. 50 ] characters    | 
| authorUrl | string  [ 0 .. 255 ] characters    | 
| content required  | string  [ 0 .. 1023 ] characters    | 
string  [ 0 .. 255 ] characters    | |
| parentId | integer <int64>    | 
| postId | integer <int32>    | 
{- "allowNotification": true,
 - "author": "string",
 - "authorUrl": "string",
 - "content": "string",
 - "email": "string",
 - "parentId": 0,
 - "postId": 0
 
}| autoSave | boolean  autoSave  | 
| content | string   | 
| createTime | string <date-time>    | 
| disallowComment | boolean   | 
| editorType | string  Enum: "MARKDOWN" "RICHTEXT"    | 
| keepRaw | boolean   | 
| metaDescription | string   | 
| metaKeywords | string   | 
Array of objects (SheetMetaParam)   unique    | |
| originalContent | string   | 
| password | string  [ 0 .. 255 ] characters    | 
| slug | string  [ 0 .. 255 ] characters    | 
| status | string  Enum: "DRAFT" "INTIMATE" "PUBLISHED" "RECYCLE"    | 
| summary | string   | 
| template | string  [ 0 .. 255 ] characters    | 
| thumbnail | string  [ 0 .. 1023 ] characters    | 
| title required  | string  [ 0 .. 100 ] characters    | 
| topPriority | integer <int32>    | 
{- "content": "string",
 - "createTime": "2019-08-24T14:15:22Z",
 - "disallowComment": true,
 - "editorType": "MARKDOWN",
 - "keepRaw": true,
 - "metaDescription": "string",
 - "metaKeywords": "string",
 - "metas": [
- {
- "key": "string",
 - "postId": 0,
 - "value": "string"
 
} 
], - "originalContent": "string",
 - "password": "string",
 - "slug": "string",
 - "status": "DRAFT",
 - "summary": "string",
 - "template": "string",
 - "thumbnail": "string",
 - "title": "string",
 - "topPriority": 0
 
}| sheetId required  | integer <int32>   sheetId  | 
| autoSave | boolean  autoSave  | 
| content | string   | 
| createTime | string <date-time>    | 
| disallowComment | boolean   | 
| editorType | string  Enum: "MARKDOWN" "RICHTEXT"    | 
| keepRaw | boolean   | 
| metaDescription | string   | 
| metaKeywords | string   | 
Array of objects (SheetMetaParam)   unique    | |
| originalContent | string   | 
| password | string  [ 0 .. 255 ] characters    | 
| slug | string  [ 0 .. 255 ] characters    | 
| status | string  Enum: "DRAFT" "INTIMATE" "PUBLISHED" "RECYCLE"    | 
| summary | string   | 
| template | string  [ 0 .. 255 ] characters    | 
| thumbnail | string  [ 0 .. 1023 ] characters    | 
| title required  | string  [ 0 .. 100 ] characters    | 
| topPriority | integer <int32>    | 
{- "content": "string",
 - "createTime": "2019-08-24T14:15:22Z",
 - "disallowComment": true,
 - "editorType": "MARKDOWN",
 - "keepRaw": true,
 - "metaDescription": "string",
 - "metaKeywords": "string",
 - "metas": [
- {
- "key": "string",
 - "postId": 0,
 - "value": "string"
 
} 
], - "originalContent": "string",
 - "password": "string",
 - "slug": "string",
 - "status": "DRAFT",
 - "summary": "string",
 - "template": "string",
 - "thumbnail": "string",
 - "title": "string",
 - "topPriority": 0
 
}| sheetId required  | integer <int32>   sheetId  | 
| content | string   | 
| keepRaw | boolean   | 
| originalContent | string   | 
{- "content": "string",
 - "keepRaw": true,
 - "originalContent": "string"
 
}| color | string  [ 0 .. 24 ] characters   标签颜色,支持多种颜色模式,例如 Hex: #cfd3d7,颜色名称:LightGrey,RGB: rgb(207, 211, 215),RGBA: rgb(207, 211, 215, 0.5)等  | 
| name required  | string  [ 0 .. 255 ] characters    | 
| slug | string  [ 0 .. 255 ] characters    | 
| thumbnail | string  [ 0 .. 1023 ] characters    | 
{- "color": "#e23d66",
 - "name": "string",
 - "slug": "string",
 - "thumbnail": "string"
 
}| tagId required  | integer <int32>   tagId  | 
| color | string  [ 0 .. 24 ] characters   标签颜色,支持多种颜色模式,例如 Hex: #cfd3d7,颜色名称:LightGrey,RGB: rgb(207, 211, 215),RGBA: rgb(207, 211, 215, 0.5)等  | 
| name required  | string  [ 0 .. 255 ] characters    | 
| slug | string  [ 0 .. 255 ] characters    | 
| thumbnail | string  [ 0 .. 1023 ] characters    | 
{- "color": "#e23d66",
 - "name": "string",
 - "slug": "string",
 - "thumbnail": "string"
 
}| authcode required  | string  = 6 characters    | 
| mfaKey | string   | 
| mfaType | string  Enum: "NONE" "TFA_TOTP"    | 
{- "authcode": "string",
 - "mfaKey": "string",
 - "mfaType": "NONE"
 
}| authcode required  | string  = 6 characters    | 
| mfaKey | string   | 
| mfaType | string  Enum: "NONE" "TFA_TOTP"    | 
{- "authcode": "string",
 - "mfaKey": "string",
 - "mfaType": "NONE"
 
}| avatar | string  [ 0 .. 1023 ] characters    | 
| description | string  [ 0 .. 1023 ] characters    | 
| email required  | string  [ 0 .. 127 ] characters    | 
| nickname required  | string  [ 0 .. 255 ] characters    | 
| password | string  [ 8 .. 100 ] characters    | 
| username required  | string  [ 0 .. 50 ] characters    | 
{- "avatar": "string",
 - "description": "string",
 - "email": "string",
 - "nickname": "string",
 - "password": "stringst",
 - "username": "string"
 
}| newPassword required  | string  [ 0 .. 100 ] characters    | 
| oldPassword required  | string  [ 0 .. 100 ] characters    | 
{- "newPassword": "string",
 - "oldPassword": "string"
 
}