Skip to content
← Go back

API events for rights

April 13th, 2020 (Revision 1), print this page

Who ❤️ integrations? We all do! 😀

But seriously, we find that our clients gain tremendous value from our products when they’re integrated with their existing systems so we’re always trying to improve our product APIs. BeBanjo is a proponent of event-driven architectures for integrations and provides a rich event model in its product APIs.

When a right for a title or title group is created, updated, or deleted an API event is now created to enable an integrator to detect such changes and respond accordingly; the subject link of those events points to the relevant title or title group and that link can be expanded. Here’s an example:

<?xml version="1.0" encoding="UTF-8"?>
<event>
  <id type="integer">228814867</id>
  <event-type>right_deleted</event-type>
  <timestamp type="datetime">2021-06-24T19:23:38+02:00</timestamp>
  <link rel="self" href="https://movida.bebanjo.net/api/events/228814867"/>
  <link rel="subject" href="https://movida.bebanjo.net/api/rights/1041201">
    <subject>
      <id type="integer">1041201</id>
      <external-id>1112200735003</external-id>
      <link rel="self" href="https://movida.bebanjo.net/api/rights/1041201"/>
      <link rel="title" href="https://movida.bebanjo.net/api/titles/1363373"/>
    </subject>
  </link>
</event>

For any of our clients that are making use of the API to manage rights in BeBanjo please review the event API documentation and if you have any outstanding questions please speak to your friendly neighbourhood TAM.

References

  • movida#9850 Add API events for rights