Skip to main content

add

Function add 

Source
pub(crate) fn add(edit: &str) -> String
Expand description

A site added as the Add dialog gives it ({“name”, “url”, “kind”, “area”, “announced_by”, “categories”}): its id made from its name, another number when taken. Returns {“id”} or {“error”}.