Interface ShareApi
-
@Path("/") public interface ShareApi
Agent APIThis document refers to Symphony API calls to send and receive messages and content. They need the on-premise Agent installed to perform decryption/encryption of content. - sessionToken and keyManagerToken can be obtained by calling the authenticationAPI on the symphony back end and the key manager respectively. Refer to the methods described in authenticatorAPI.yaml. - Actions are defined to be atomic, ie will succeed in their entirety or fail and have changed nothing. - If it returns a 40X status then it will have sent no message to any stream even if a request to aome subset of the requested streams would have succeeded. - If this contract cannot be met for any reason then this is an error and the response code will be 50X. - MessageML is a markup language for messages. See reference here: https://rest-api.symphony.com/docs/messagemlv2 - **Real Time Events**: The following events are returned when reading from a real time messages and events stream (\"datafeed\"). These events will be returned for datafeeds created with the v5 endpoints. To know more about the endpoints, refer to Create Messages/Events Stream and Read Messages/Events Stream. Unless otherwise specified, all events were added in 1.46.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description V2Message
v1StreamSidSharePost(ShareContent body, String sessionToken, String keyManagerToken, String sid)
Share a piece of content into Symphony Given a 3rd party content (eg.V2Message
v3StreamSidSharePost(ShareContent body, String sessionToken, String sid, String keyManagerToken)
PROVISIONAL - Share a piece of content into Symphony Given a 3rd party content (eg.
-
-
-
Method Detail
-
v1StreamSidSharePost
@POST @Path("/v1/stream/{sid}/share") @Consumes("application/json") @Produces("application/json") V2Message v1StreamSidSharePost(ShareContent body, @HeaderParam("sessionToken") String sessionToken, @HeaderParam("keyManagerToken") String keyManagerToken, @PathParam("sid") String sid)
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.
-
v3StreamSidSharePost
@POST @Path("/v3/stream/{sid}/share") @Consumes("application/json") @Produces("application/json") V2Message v3StreamSidSharePost(ShareContent body, @HeaderParam("sessionToken") String sessionToken, @PathParam("sid") String sid, @HeaderParam("keyManagerToken") String keyManagerToken)
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.
-
-