PATCH /api/v1/elements/123
PATCH /api/v2/elements/f6844ce1-28a5-478f-9f71-d60112b2944a
action
attribute, others did not and worked as a side effect of setting a state property to a desired state. In v2 this side effect based approach is removed and the explicit action
attribute is used to:GET /events
end-point now requires filter[state]
URL parameter. Full list of states supported by the filter are here.requires_validated_user
setting changes are handled on app spec reload and element cloning. The aim is to make it predictable and consistent.has_duration
attribute is replaced with a mandatory duration
attribute. This is done in order to create complete clarity and control for the app developer over what duration management mechanism will be used by the Studio. has_duration
was very limited in what it could do, being a simple ON/OFF switch. duration
allows three modes: instant, fixed and flexible, and allows the setting of a default duration via app spec. You can find full documentation here.derived_from
is changed to prevent unexpected results.width
and height
attributes are now mandatory (where optional in v22)file_size
added to set maximum allowed file size for an image
field.static_host
has been added to service instance handshake data to enable the service to use public feedsid
field now contains element UUID instead of integer ID and uuid
field has been removedsetDelay
method has been added. It calculates the delay based on the current video/audio/content stream timecode so that the app developer should not have to calculate the delay separately.signIn
method is deprecated and replaced with login
method. The principle difference between the two methods is that the latter one reports on success or failure of login operation, while the former does not.user_id
attribute has been renamed private_id
. Full list of attributes is here.value
attribute has been renamed score
. Full list of attributes is here.event_id
query parameter has been removed and event UUID incorporated into the URL instead, like this: /api/projects/{project_id}/events/{event_id}/leaderboards/{leaderboard_id}
. New format is described here.