archive_usages
Column Name | Type | Comment | Default | Null | Remark |
---|---|---|---|---|---|
id | bigint UNSIGNED | Primary Key ID | NO | Auto Increment | |
usage_type | tinyint UNSIGNED | Type of target | NO | ||
usage_id | bigint UNSIGNED | Target primary key ID | NO | ||
archive_id | int UNSIGNED | Parameter ID | NO | Related field archives->id | |
archive_value | text | Parameter value | YES | ||
is_private | tinyint UNSIGNED | Is private | 0 | NO | 0.No / 1.Yes |
plugin_fskey | varchar(64) | Related plugin | YES | Related field plugins->fskey Which plugin is associated with | |
created_at | timestamp | Create Time | CURRENT_TIMESTAMP | NO | |
updated_at | timestamp | Update Time | YES | ||
deleted_at | timestamp | Delete Time | YES |
Introduction to using target associations
usage_type
Type of target1
User2
Group3
Hashtag4
Post5
Comment6
Post Log7
Comment Log
usage_id
Target primary key ID1
Related field users->id2
Related field groups->id3
Related field hashtags->id4
Related field posts->id5
Related field comments->id6
Related field post_logs->id7
Related field comment_logs->id
API output example
json
{
"archives": [
{
"code": "String / Code",
"name": "String / Name",
"description": "String / Description",
"value": "String / Parameter value",
}
]
}