Class ShareApi

java.lang.Object
com.symphony.bdk.gen.api.ShareApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-03-26T16:14:53.869723549Z[Etc/UTC]") public class ShareApi extends Object
  • Constructor Details

    • ShareApi

      public ShareApi(com.symphony.bdk.http.api.ApiClient apiClient)
  • Method Details

    • getApiClient

      public com.symphony.bdk.http.api.ApiClient getApiClient()
      Get the API cilent
      Returns:
      API client
    • setApiClient

      public void setApiClient(com.symphony.bdk.http.api.ApiClient apiClient)
      Set the API cilent
      Parameters:
      apiClient - an instance of API client
    • v1StreamSidSharePost

      @Deprecated public V2Message v1StreamSidSharePost(String sid, String sessionToken, String keyManagerToken, ShareContent shareContent) throws com.symphony.bdk.http.api.ApiException
      Deprecated.
      Share a piece of content into Symphony Given a 3rd party content (eg. news article), it can share to the given stream. The stream can be a chatroom, an IM or a multiparty IM.
      Parameters:
      sid - Stream ID (required)
      sessionToken - Session authentication token. (required)
      keyManagerToken - Key Manager authentication token. (required)
      shareContent - (required)
      Returns:
      V2Message
      Throws:
      com.symphony.bdk.http.api.ApiException - if fails to make API call
    • v1StreamSidSharePostWithHttpInfo

      @Deprecated public com.symphony.bdk.http.api.ApiResponse<V2Message> v1StreamSidSharePostWithHttpInfo(String sid, String sessionToken, String keyManagerToken, ShareContent shareContent) throws com.symphony.bdk.http.api.ApiException
      Deprecated.
      Share a piece of content into Symphony Given a 3rd party content (eg. news article), it can share to the given stream. The stream can be a chatroom, an IM or a multiparty IM.
      Parameters:
      sid - Stream ID (required)
      sessionToken - Session authentication token. (required)
      keyManagerToken - Key Manager authentication token. (required)
      shareContent - (required)
      Returns:
      ApiResponse<V2Message>
      Throws:
      com.symphony.bdk.http.api.ApiException - if fails to make API call
    • v3StreamSidSharePost

      public V2Message v3StreamSidSharePost(String sid, String sessionToken, ShareContent shareContent, String keyManagerToken) throws com.symphony.bdk.http.api.ApiException
      PROVISIONAL - Share a piece of content into Symphony Given a 3rd party content (eg. news article), it can share to the given stream. The stream can be a chatroom, an IM or a multiparty IM.
      Parameters:
      sid - Stream ID (required)
      sessionToken - Session authentication token. (required)
      shareContent - (required)
      keyManagerToken - Key Manager authentication token. (optional)
      Returns:
      V2Message
      Throws:
      com.symphony.bdk.http.api.ApiException - if fails to make API call
    • v3StreamSidSharePostWithHttpInfo

      public com.symphony.bdk.http.api.ApiResponse<V2Message> v3StreamSidSharePostWithHttpInfo(String sid, String sessionToken, ShareContent shareContent, String keyManagerToken) throws com.symphony.bdk.http.api.ApiException
      PROVISIONAL - Share a piece of content into Symphony Given a 3rd party content (eg. news article), it can share to the given stream. The stream can be a chatroom, an IM or a multiparty IM.
      Parameters:
      sid - Stream ID (required)
      sessionToken - Session authentication token. (required)
      shareContent - (required)
      keyManagerToken - Key Manager authentication token. (optional)
      Returns:
      ApiResponse<V2Message>
      Throws:
      com.symphony.bdk.http.api.ApiException - if fails to make API call