B2B PRISM Live Studio overview
    • PDF

    B2B PRISM Live Studio overview

    • PDF

    Article summary

    Available in Classic and VPC

    This is a description of the APIs required to transmit live streaming by integrating customer services in the B2B PRISM Live Studio.

    Definition of service API

    The service API is essential to transmit live by integrating customer services in the B2B PRISM Live Studio. The service API is divided into two APIs: essential build API and selective build API. The description for each API is as follows:

    • Essential build API
      • An API that must be built to use B2B PRISM Live Studio functions.
      • If it is not supported, the service cannot be enabled.
    • Selective build API
      • An API that should be built to use additional B2B PRISM Live Studio functions.
      • It can be provided for each type, and you can set whether to provide it when setting up the service.
      • Each API has different APIs with dependence, and the APIs with dependence should be provided together.

    Service API service limits

    This is a description of the service limits you should pay attention when using B2B PRISM Live Studio API.

    • REST API
      • The default integration uses REST API.
      • We recommend a response time within 1s; normal operation cannot be guaranteed when it passes 3s.
    • Authentication and security
      • Every communication must use HTTPS using SSL. (TLSv1.2 or above recommended)
      • Uses Access Token acquired through OAuth2.0.

    Service API list

    Here is a list of the service APIs.

    Essential build APIs

    The essential build API list is as follows:

    CategorySub-categoryDescriptionSpecifications
    AUTHLogin and authentication
  • Acquires and renews OAuth2.0 Access Token
  • Views user information
  • API details for OAuth2.0 authentication
  • API details for viewing user information
  • CHANNELView channel
  • Views channel list
  • Views channel information
  • API details for viewing channel list
  • API details viewing channel information
  • View liveView channel live listAPI details for viewing channel Live list
    LIVEView live informationView live information and statusAPI details for viewing Live status and statistics
    Create liveCreates a new liveAPI details for creating live
    Start and end live
  • Starts live transmission
  • Ends live transmission
  • API details for live start
  • API details for live end
  • Selective build APIs

    The selective build API list is as follows:

    CategorySub-categoryDescriptionDependenceSpecifications
    LIVE_CHAT_LISTView chat
  • Views once every 3-5s while on-air
  • Provides only the chat history after a specific time through the Continuous key
  • Provides the maximum number of viewing functions
  • API details for viewing chat
    LIVE_CHAT_SENDTransfer chatTransfer chatLIVE_CHAT_LISTAPI details for transferring chat
    LIVE_CHAT_DELETEDelete chat
  • Deletes specific chats
  • Provided only for the services with the chat delete function
  • Requires unique IDs for chat
  • LIVE_CHAT_LISTAPI details for chat delete
    USER_BANBlock and unblock chat users
  • Requires the unique ID of the user who wrote the chat
  • Current blocking status must be viewable
  • LIVE_CHAT_LIST
  • API details for blocking chat user
  • API details for unblocking chat user
  • USER_MODGrant and remove chat admin permissions
  • Requires the unique ID of the user who wrote the chat
  • Current admin must be viewable
  • LIVE_CHAT_LIST
  • API details for granting chat admin permissions
  • API details for removing chat admin permissions
  • Note

    For the specific process using B2B PRISM Live Studio API, see the B2B PRISM Live Studio integration guide.

    API default format

    This is a description of the API default format.

    Request headers

    The request headers are as follows:

    NameTypeDescription
    x-prism-client-idStringAs a client ID provided for authenticating OAuth2.0 to the B2B PRISM Live Studio in the customer's service, it is a value that is not changed
    x-prism-client-secretStringA client Secret that is provided for authenticating OAuth2.0 to the B2B PRISM Live Studio in the customer's service; it can be changed by agreement as required due to security issues
    x-prism-access-tokenStringUsed by being issued and saved upon OAuth2.0 login and changed at every login. If Access Token is expired, ACCESS_TOKEN_EXPIRED(1002) error occurs
    Note

    Content-type in the request header is as follows:
    Content-type: application/json

    Default response formats

    The default response formats are as follows:

    NameTypeDescriptionRequired
    successBooleanRequest success statusY
    errorCodeNumber0 for succeeded; see API error code for failedY
    errorNameStringBlank for succeeded; see API error code for failedY
    messageStringIf providing detailed error messages, faster error monitoring is availableN
    dataObjectIf returning success status only, data is not mandatory; see the API details for each data formatN

    Common API error codes

    The common API error codes are as follows:

    CodeCode nameHTTP status codeHTTP status code messageDescription
    1000INVALID_PARAMETER400Bad RequestWhen the requested path parameter or request body has improper value
    1001UNAUTHORIZED_ACCOUNT_ID401UnauthorizedWhen calling with an invalid account id or account token
    1011ACCESS_TOKEN_EXPIRED400Bad RequestWhen Access Token is expired
    1012ACCESS_TOKEN_INVALID400Bad RequestWhen Access Token is invalid
    1102CHANNEL_DISABLED400Bad RequestWhen the channel is disabled
    1104RESOURCE_NOT_FOUND404Not FoundWhen the object to view doesn’t exist when viewing liveId, channelId, userId, etc.
    2000UNEXPECTED_ERROR500Internal Server ErrorWhen an unexpected server error occurs

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.