1 Reply Latest reply on Oct 11, 2016 1:19 PM by rashedtalukder

    Uploading video from rest API

    shipra

      Hello,

       

      I am trying to upload a video from rest api but facing some issues.

       

      URL - https://xxx/api/core/v3/contents

      Header-

      Content-Type: multipart-form-data;

      Authorization: Basic xxxxxxxxxxxxxxxxxxxxxxxxx=

       

      Body-

      {

        "content" : {

            "text" : "hi",

            "type" : "text/html"

          },

        "subject": "New video",

        "type": "video"

        }

       

      Error message i am getting-

      {

      "error":

      {

       

      "status": 400

      "message": "MultipartBody request should include one application/json part"

      }

      }

       

      Has anyone tried uploading a video via rest services in JIVE?

      Any help will be great!

       

      Thanks,

      Shipra