function setCategories setCategories(kind: CategoryKind,id: string,categoryIds: string[]): void Replaces the categories of the dump or playlist id, as kind says, with categoryIds, duplicates dropped. An empty list takes it out of every category. Called inside the dump or playlist service's transaction, it joins that one. Parameters kind: CategoryKind id: string categoryIds: string[] Return Type void Throws APIException 400 when an id names no category of kind.