feat:add tags

This commit is contained in:
2026-06-12 14:55:07 +03:30
parent 6a033f6d07
commit 311b8b2ada
4 changed files with 27 additions and 11 deletions
+11 -4
View File
@@ -19,14 +19,16 @@ body:json {
"options": [
{
"label": "Laravel"
"label": "Laravel",
"tags": ["focus", "calm"]
},
{
"label": "React.js"
"label": "React.js",
"tags": ["energy"]
},
{
"label": "Vue.js"
"label": "Vue.js",
"tags": []
},
{
"label": "Django"
@@ -39,3 +41,8 @@ settings {
encodeUrl: true
timeout: 0
}
docs {
Sending `options` replaces the whole option set (and clears existing answers).
Each option may include `tags` (array of tag names) used by suggested-media.
}