mirror of
https://github.com/lejianwen/rustdesk-api.git
synced 2025-12-03 10:33:18 +00:00
add address book name &
add share address book
This commit is contained in:
@@ -1445,9 +1445,38 @@ const docTemplateapi = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"model.AddressBookCollection": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"properties": {
|
||||
"created_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"updated_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"user_id": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"model.Tag": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"collection": {
|
||||
"$ref": "#/definitions/model.AddressBookCollection"
|
||||
},
|
||||
"collection_id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"color": {
|
||||
"description": "color 是flutter的颜色值,从0x00000000 到 0xFFFFFFFF; 前两位表示透明度,后面6位表示颜色, 可以转成rgba",
|
||||
"type": "integer"
|
||||
|
||||
@@ -1438,9 +1438,38 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"model.AddressBookCollection": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"properties": {
|
||||
"created_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"updated_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"user_id": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"model.Tag": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"collection": {
|
||||
"$ref": "#/definitions/model.AddressBookCollection"
|
||||
},
|
||||
"collection_id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"color": {
|
||||
"description": "color 是flutter的颜色值,从0x00000000 到 0xFFFFFFFF; 前两位表示透明度,后面6位表示颜色, 可以转成rgba",
|
||||
"type": "integer"
|
||||
|
||||
@@ -124,8 +124,27 @@ definitions:
|
||||
status:
|
||||
type: integer
|
||||
type: object
|
||||
model.AddressBookCollection:
|
||||
properties:
|
||||
created_at:
|
||||
type: string
|
||||
id:
|
||||
type: integer
|
||||
name:
|
||||
type: string
|
||||
updated_at:
|
||||
type: string
|
||||
user_id:
|
||||
type: integer
|
||||
required:
|
||||
- name
|
||||
type: object
|
||||
model.Tag:
|
||||
properties:
|
||||
collection:
|
||||
$ref: '#/definitions/model.AddressBookCollection'
|
||||
collection_id:
|
||||
type: integer
|
||||
color:
|
||||
description: color 是flutter的颜色值,从0x00000000 到 0xFFFFFFFF; 前两位表示透明度,后面6位表示颜色,
|
||||
可以转成rgba
|
||||
|
||||
Reference in New Issue
Block a user