How to create new category with image using API?


  • Hi, I was using the write api plugin to create new categories and I wonder how I can also create the new category with a background image. Looking at the write api plugin's api endpoint, I only see:

    Requires: name
    Accepts: description, bgColor, color, parentCid, class

    But I'm also interested in uploading an image for this category and probably also change the "numRecentReplies" value from 1 to 3

    Thanks!


Suggested Topics

| | |

© 2014 – 2022 NodeBB, Inc. — Made in Canada.