curl --location --request POST '/docmee/v1/api/ppt/randomTemplates' \
--header 'token: {token}' \
--header 'Content-Type: application/json' \
--data-raw '{
"size": 30,
"filters": {
"type": 1, // Template type (required): 1 system template, 4 user-defined template
"category": null, // Category ['\''Year-end Summary'\'', '\''Education and Training'\'', '\''Medical and Healthcare'\'', '\''Business Plan'\'', '\''Company Introduction'\'', '\''Graduation Defense'\'', '\''Marketing Promotion'\'', '\''Gala Awards'\'', '\''Personal Resume'\'']
"style": null, // Style ['\''Flat and Simple'\'', '\''Business Technology'\'', '\''Literary and Fresh'\'', '\''Cartoon Hand-drawn'\'', '\''Chinese Style'\'', '\''Creative Fashion'\'', '\''Creative Fun'\'']
"themeColor": null, // Theme color ['\''#FA920A'\'', '\''#589AFD'\'', '\''#7664FA'\'', '\''#65E5EC'\'', '\''#61D328'\'', '\''#F5FD59'\'', '\''#E05757'\'', '\''#8F5A0B'\'', '\''#FFFFFF'\'', '\''#000000'\'']
"neq_id": [] // Exclusion ID set (exclude IDs returned from previous queries)
}
}'{
"code": 0,
"total": 1,
"data": [
{
"id": "xxx", // Template ID
"type": 1, // Template type: 1 Complete Outline PPT, 4 User Template
"coverUrl": "https://xxx.png", // Cover
"category": null, // Category
"style": null, // Style
"themeColor": null, // Theme Color
"subject": "", // Subject
"num": 20, // Number of template pages
"createTime": "2024-01-01 10:00:00"
}
],
"message": "Operation successful"
}