Add an album to a siteCopy Pagepost https://{endpoint}/v1/b2b/content/sites/{siteId}/albumThis API allows us to add an album to a sitePath ParamssiteIdstringrequiredThe ID of the site to add an album toQuery ParamsactionstringenumrequiredThe action to perform on the albumpublishsaveDraftAllowed:publishsaveDraftBody ParamslistOfFilesarray of objectsArray of file attachmentslistOfFilesADD objectpublishAtdate-timeDate and time when the album should be published (required when publishingStatus is 'schedule'). Must be in ISO 8601 UTC formatimgLandscapestring | nullURL of the landscape imagepublishTodate-time | nullDate and time when the content should expire/unpublish. Must be in ISO 8601 UTC formatbodyHtmlstringrequiredMain content of the album in HTML formatpublishingStatusstringenumrequiredPublishing status of the albumimmediatescheduleAllowed:immediatescheduleimgLayoutstringenumLayout style for the featured imagesmallhiddenwideAllowed:smallhiddenwideimgCaptionstring | nullCaption for the featured imageimgLandscapeFileuuid | nullUUID of the landscape image filetitlestringrequiredlength ≤ 255Title of the albumisMaximumWidthbooleanWhether to use maximum width layouttruefalseisFeedEnabledbooleanWhether the album appears in feedstruefalseisRestrictedbooleanWhether the content is restricted to specific audiencestruefalsetargetAudiencearray of uuidsList of UUIDs identifying the target audiencestargetAudienceADD uuidisQuestionAnswerEnabledbooleanWhether question and answer feature is enabledtruefalselistOfTopicsarray of objects | nullArray of topics associated with the albumlistOfTopicsADD objectsummarystring | nullSummary of the album contentlistOfAlbumMediaarray of objectsrequiredlength ≥ 1Array of media items in the albumlistOfAlbumMedia* objectidstringrequiredMedia IDdescriptionstring | nullDescription of the mediaaltTextstring | nullAlternative text for the mediafileIdstringFile IDproviderstringenumProvider of the media filegoogledriveboxonedrivesharepointdropboxnative_videoAllowed:googledriveboxonedrivesharepointdropboxnative_videonamestringName of the media filetypestringType of the media filesizestringSize of the media filethumbnailUrlstringURL of the thumbnailversionnumberVersion of the media filevideoStatusnumberStatus of the video if applicableADD objectisOpenToSubmissionsbooleanWhether the album is open to submissionstruefalsecoverImageMediaIdstringrequiredID of the media item to use as cover imagelanguagestringLanguage of the album contentcreatedByuuidrequiredUUID of the user creating the albumResponses 200Success 400Error response for album creation 401Authorize error 403Forbidden errorUpdated 18 days ago