Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

The BSN.cloud Main REST-HTTP API version 2022/06 introduces Series 5 players and support for 8K video modes, updates the BrightWall implementation, addresses user permissions usability issues, and aligns change tracking and conditional requests handling across all the resources. Please review the following breaking changes made for that purpose and update your version 2020/10 client applications to get full access to the new features.

Series 5 Changes

This section describes the updates that were made to the 2022/06 version of the BSN.cloud Main REST-HTTP API  to support LS5, HD5, XD5, XT5, and XC5 BrightSign players. More information about Series 5 and their unique features is available at BrightSign Series 5 Digital Signage Players | BrightSign®.

Business Operations Appliance Changes

The previous BSN.cloud Main REST-HTTP API versions provide the business operations tree and related permissions through the Operations Endpoint (2020/10)and similar resources related to each securable entity. However some business operations naturally apply only to collections of entities while others only apply to entity instances, and the previous version of the API did not provide enough information to distinguish between them. The following changes have been made in version 2022/06 to address this usability issue:

  • The Business Operations Entity (2022/06) was extended by the [OperationAppliance] Appliance property and the OperationAppliance enumeration was defined. It may have one or more unique {"Instance", "Collection", "Unknown"} values:
    • The "Instance" value indicates that the given business operation applies to specific entity instances.
    • The "Collection" value indicates that the given business operation applies to collections of entities in a network and associated folders.
    • The "Unknown" value is reserved for forward compatibility with new enumeration values which may be defined in next versions of BSN.cloud Main REST-HTTP API.

Please update your client and display as follows:

  • Where you define instance-specific permissions, display only BusinessOperations which have "Instance" values. In BrightAuthor:connected, this would be in entity properties panels such as Content, where you can define object permissions for specific instances.
  • Where you define permissions or collections of entities, display only the BusinessOperations which have "Collection" values. In BrightAuthor:connected, this would be in Admin > Roles & Permissions, where you create custom roles and define player permissions.
  • The "Unknown" value may be ignored by client applications but indicates the changes in Business Operation appliance available in next BSN.cloud Main REST-HTTP API versions.

HTTP Conditional Request Support

Most of our entities already support conditional requests according to rfc7232, but conditional request were missing for the following three entities and have now been implemented:

Network Settings Structure Fixes

New information has been provided for some entities (LastModifiedDate and AutomaticSubscriptionsManagementEnabled). These are optional and can be implemented if you wish or otherwise ignored. Other minor fixes have also been implementedThe BSN.cloud Main REST-HTTP API implements HTTP conditional request handling by exposing Last-Modified response headers and handling If-Modified-Since and If-Unmodified-Since request headers in accordance to RFC 7232. However this was missing in the Network, NetworkSubscription and PlayerSubscription entities so the following changes have been made in order to align them with other entities:

  • Network Entity (2022/06) was extended by the [DateTime] LastModifiedDate property
  • Network Settings Entity (2022/06);
    • The [bool] AutomaticSubscriptionsManagementEnabled property has been added to the structure.
    • The [bool] AutomaticTaggedPlaylistApprovementEnabled property has been renamed to AutomaticTaggedPlaylistApprovalEnabled.
    Network Subscription Entity (2022/06):
    • The [DateTime] LastModifiedDate property is no longer nullable.
    • The GET ~/2022/06/REST/Self/Networks/{networkId}/Subscription/ and GET ~/2022/06/REST/Self/Networks/{networkId}/Subscription/methods set the Last-Modified HTTP response header to the [DateTime] LastModifiedDate property value of the returned entity.
    • The PUT ~/2022/06/REST/Self/Networks/{networkId}/Subscription/ and PUT ~/2022/06/REST/Self/Networks/{networkId}/Subscription/methods accept the optional If-Unmodified-Since HTTP Request Header and evaluate condition against the target entity.
  • Player Subscription Entity (2022/06) was  was extended by the [DateTime]LastModifiedDate property.

Network Settings Structure Fixes

There are also fixes in the NetworkSettings Structure definition which require a client application update to reference the new property set:

  • Network Settings Entity (2022/06);
    • The [bool] AutomaticSubscriptionsManagementEnabled property has been added to the structure.
    • The [bool] AutomaticTaggedPlaylistApprovementEnabled property has been renamed to AutomaticTaggedPlaylistApprovalEnabled.


Panel
borderColor#3D3D3D
bgColor#F4F4F4
titleColor#3D3D3D
borderWidth0
titleBGColor#3D3D3D
borderStylesolid

ON THIS PAGE

Table of Contents
maxLevel4
indent20px