Skip to main content
PATCH
/
mediaBundles
/
{mediaBundleId}
Update a media bundle
curl --request PATCH \
  --url https://api.blurb.fm/v1/mediaBundles/{mediaBundleId} \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "artistId": "1234567890",
  "upc": "1234567890",
  "projectNumber": "PR1234",
  "releaseNumber": "CR1234",
  "albumVersion": "Live",
  "imageUrl": "https://placehold.co/1000x1000",
  "externalIds": {
    "appleMusic": "1234567890",
    "spotify": "1234567890",
    "youtube": "1234567890"
  },
  "clientRef": "1234567890"
}
'
{
  "success": true,
  "message": "Media bundle updated",
  "data": {
    "orgId": "example",
    "createdAt": {
      "seconds": 3,
      "nanoseconds": 3
    },
    "updatedAt": {
      "seconds": 3,
      "nanoseconds": 3
    },
    "mediaBundleId": "example",
    "name": "example",
    "artistId": "example",
    "imageAssetId": null,
    "externalIds": {
      "appleMusic": null,
      "spotify": null,
      "youtube": null
    },
    "upc": null,
    "projectNumber": null,
    "releaseNumber": null,
    "albumVersion": null,
    "clientRef": null
  }
}

Path Parameters

mediaBundleId
string
required
Example:

"my-media-bundle-id"

Body

application/json

The request to update a media bundle.

name
string
required

The name of the media bundle

artistId
string
required

The artist ID associated with the media bundle

Example:

"1234567890"

upc
string | null

The Universal Product Code (UPC) - the unique identifier for the album, if any

Example:

"1234567890"

projectNumber
string | null

The project number for the media bundle / album

Example:

"PR1234"

releaseNumber
string | null

The release number for the media bundle / album

Example:

"CR1234"

albumVersion
string | null
default:""

The album version of the media bundle / album

Example:

"Live"

imageUrl
string

Optional URL of the image. Must be 1x1 aspect ratio.

Example:

"https://placehold.co/1000x1000"

externalIds
object
clientRef
string
default:""

The client reference for the media bundle

Example:

"1234567890"

Response

Media bundle updated successfully

success
boolean
required

Whether the request was successful

Example:

true

message
string | null
required

Message from the API

Example:

"Media bundle updated"

data
object
required

The response from the Media Bundle PATCH request.

Example:
{
"orgId": "example",
"createdAt": { "seconds": 3, "nanoseconds": 3 },
"updatedAt": { "seconds": 3, "nanoseconds": 3 },
"mediaBundleId": "example",
"name": "example",
"artistId": "example",
"imageAssetId": null,
"externalIds": {
"appleMusic": null,
"spotify": null,
"youtube": null
},
"upc": null,
"projectNumber": null,
"releaseNumber": null,
"albumVersion": null,
"clientRef": null
}