Management API
...
Features
Create Product Feature
1 min
{ "name" "creates a product feature, if requesting manager has access permissions to it ", "method" "post", "url" "/api/v1/product features/", "description" "", "tab" "examples", "examples" { "languages" \[ { "id" "wz7qlqeehku7drgkesw6q", "language" "json", "code" "{\n \\"name\\" \\"f3\\",\n \\"code\\" \\"f3\\",\n \\"feature type\\" \\"consumption\\",\n \\"max consumption\\" 10,\n \\"allow overages\\" false,\n \\"max overages\\" 0,\n \\"reset consumption\\" false,\n \\"consumption period\\" null,\n \\"metadata\\" {},\n \\"product\\" 1698659666691556,\n \\"is floating\\" true,\n \\"floating users\\" 10,\n \\"floating timeout\\" 120,\n \n}", "customlabel" "" } ], "selectedlanguageid" "wz7qlqeehku7drgkesw6q" }, "results" { "languages" \[ { "id" "yw2vrhkd1zvp a8sbuql9", "language" "200", "code" "{\n \\"id\\" 559,\n \\"created at\\" \\"2023 10 30t10 13 45 041716z\\",\n \\"updated at\\" \\"2023 10 30t10 13 45 041815z\\",\n \\"name\\" \\"f3\\",\n \\"code\\" \\"f3\\",\n \\"is deleted\\" false,\n \\"feature type\\" \\"consumption\\",\n \\"max consumption\\" 10,\n \\"allow unlimited consumptions\\" false,\n \\"allow overages\\" false,\n \\"max overages\\" 0,\n \\"reset consumption\\" false,\n \\"consumption period\\" null,\n \\"is floating\\" true,\n \\"is floating cloud\\" false,\n \\"floating users\\" 10,\n \\"floating timeout\\" 120,\n \\"metadata\\" {},\n \\"product\\" 1698659666691556\n}", "customlabel" "" }, { "id" "nhxoa1xdgwehjngwe7gl8", "language" "404", "code" "{\n \\"message\\" \\"ain't no cake like that \\"\n}", "customlabel" "" } ], "selectedlanguageid" "yw2vrhkd1zvp a8sbuql9" }, "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[ { "name" "name", "kind" "required", "type" "string", "description" "id of the cake to get", "" "name" }, { "name" "code", "kind" "required", "type" "string", "description" "", "" "required" }, { "name" "feature type", "kind" "required", "type" "string", "description" "choices activation, consumption ", "" "choices activation, consumption " }, { "name" "max consumption", "kind" "optional", "type" "integer", "description" "", "" "integer" }, { "name" "parameter name", "kind" "optional", "type" "string", "description" "", "children" \[] }, { "name" "allow overages ", "kind" "optional", "type" "boolean", "description" "", "" "boolean" }, { "name" "max overages", "kind" "optional", "type" "integer", "description" "", "" "integer" }, { "name" "reset consumption", "kind" "optional", "type" "boolean", "description" "", "" "boolean" }, { "name" "consumption period", "kind" "optional", "type" "string", "description" "choices daily, weekly, monthly, annually ", "" "choices daily, weekly, monthly, annually " }, { "name" "product", "kind" "optional", "type" "integer", "description" "", "" "integer" }, { "name" "is floating", "kind" "optional", "type" "boolean", "description" "", "" "boolean" }, { "name" "floating users", "kind" "optional", "type" "integer", "description" "", "" "integer" }, { "name" "floating timeout", "kind" "optional", "type" "integer", "description" "", "" "integer" }, { "name" "metadata", "kind" "optional", "type" "object", "description" "json object", "" "object", "children" \[], "schema" \[] } ], "formdataparameters" \[] }, "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" }, "hastryitout" false }
