auto_write
creative

Adds, changes or removes a sound effect of a motion design, saved as a new version. A new one takes a track id from the

Changed on

Adds, changes or removes a sound effect of a motion design, saved as a new version. A new one takes a track id from the store's sound library and the second it starts at; an existing one, named by its sfx_id, changes only the fields given: its sound, start, level, or how long it plays before fading out. No sound is made, so no credits are used.

post/api/v1/tools/set_design_sfx

Request

  • Base URL
    https://app.magistry.io
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://app.magistry.io/api/oauth/authorize
      Token URLhttps://app.magistry.io/api/oauth/token
      Scopescreative:write

Headers

Idempotency-Key, string

Optional; honoured when sent. A unique string you choose for this request; send the SAME key when retrying and the first answer is returned instead of writing twice (idempotent-replayed: true). The same key with other arguments is 409 idempotency_conflict. If the header and idempotency_key are both sent they must be equal.

Request body

object required
design_id, string required

The motion design.

sfx_id, string

An existing sound effect, as the timeline lists it; leave out to add one.

remove, boolean

true removes the sound effect named by sfx_id.

track_id, string

A track id from the library: the sound to play.

at_seconds, number

Design second the sound starts at.

gain_db, number

Level in decibels; 0 plays it as it is.

play_seconds, number nullable

Stop it after this many seconds, with a short fade. null plays it to its own end.

idempotency_key, string

Optional. A unique string you choose for this request. Send the SAME key when retrying after a timeout and Magistry returns the original outcome instead of performing the write twice. Reusing a key with different arguments is refused rather than replayed.

Response

Tool result

object required
ok, boolean required
result, unknown required

Changes

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    11 more changes in this revision