PUT http://localhost:3000/attribute Authorization: Bearer {{admin-jwt}} Content-Type: application/json { "key": "hair", "variations": [ { "name": "hair1", "svg": "<\/feComponentTransfer><\/filter><\/g><\/svg>" }, { "name": "hair2", "svg": "<\/feComponentTransfer><\/filter><\/g><\/svg>" }, { "name": "hair3", "svg": "<\/feComponentTransfer><\/filter><\/g><\/svg>" }, { "name": "hair4", "svg": "<\/feComponentTransfer><\/filter><\/g><\/svg>" } ], "colors": [ "#edce84", "#553425", "#1e0900", "#ff6630", "#f98c4a", "#ffffff", "#929292", "#000036", "#8c5940" ] } ### PUT http://localhost:3000/attribute Authorization: Bearer {{admin-jwt}} Content-Type: application/json { "key": "cadre", "variations": [ { "name": "cadre1", "svg": "<\/svg>" } ], "colors": [ "#FF0", "#0CC" ] } ### GET http://localhost:3000/attribute ### PUT http://localhost:3000/attribute/64997baabcf4edff4f291f6c/variations Authorization: Bearer {{admin-jwt}} Content-Type: application/json [ { "name": "eyebrow4", "svg": "<\/svg>" } ] ### PUT http://localhost:3000/attribute/64997baabcf4edff4f291f6c/colors Authorization: Bearer {{admin-jwt}} Content-Type: application/json [ "#edce84", "#553425", "#1e0900", "#ff6630", "#f98c4a", "#ffffff", "#929292", "#000036", "#8c5940" ]