Forum Discussion

nehaSharma's avatar
7 years ago

Creating different types of boards via REST API

Hi,

We are trying to create different types of boards using Rest API v1.

 

Below mentioned API call creates only FORUM boards and there is no parameter for other board types. 

https://community.lithium.com/t5/Developer-Documentation/bd-p/dev-doc-portal?section=commv1&leaf-id=Category.boards.add#Category.boards.add

 

In below API call there are no parameters for node title, node id etc. 

https://community.lithium.com/t5/Developer-Documentation/bd-p/dev-doc-portal?section=commv1&leaf-id=Category.nodes.type.key.node_type_key.add#Category.nodes.type.key.node_type_key.add

 

Am I missing out something?

  • Hi nehaSharma,

     

    Did you try this?

    /restapi/vc/categories/id/<id>/nodes/type/key/<node_type_key>/add?<node_type_key>.id=<Testnode>&<node_type_key>.title=TestTitle

     

    Ex: /restapi/vc/categories/id/<id>/nodes/type/key/idea/add?idea.id=testidea&idea.title=TestIdeaTitle

     

    Thanks,

    Srujana.

  • Hi nehaSharma,

     

    Did you try this?

    /restapi/vc/categories/id/<id>/nodes/type/key/<node_type_key>/add?<node_type_key>.id=<Testnode>&<node_type_key>.title=TestTitle

     

    Ex: /restapi/vc/categories/id/<id>/nodes/type/key/idea/add?idea.id=testidea&idea.title=TestIdeaTitle

     

    Thanks,

    Srujana.