Add foundation Presentation(s) to Builder
This API allows you to add one or more foundation presenation(s) to a specific builder in the Shufflrr portal
| Method type | POST |
| API Location | https://wwwapi.shufflrr.com/api/builders/{id}/presentations |
| Swagger documentation location | https://wwwapi.shufflrr.com/api/docs/ui/index#!/Builders/Builders_Presentations |
Where {id} in the above API Location is the ID of the Builder to add the foundation presentation(s) to
If you want to delete all previously added foundation presentations from a builder before adding in the new presentations, append the query parameter ?removeExisting=true to the end of the API URL. This is set to False by default.
Sample Request Body
[
{"fileId":00000000,"presentations":[],"insertBeforeSlideNumber":-1},
{"fileId":00000001,"presentations":[],"insertBeforeSlideNumber":-1}
]
Where:
- fileId is the file you are adding
- presentations is a comma seperated list of founder presentations you want to add this file as a child presentation to. To have this file be a root foundation presentation (not a child) then send an empty array (ie. [])
- insertBeforeSlideNumber is only used when presentations is not empty. This is the slide Number of the parent presentation that you want the file being added to get added before when it is added to the slide tray (when someone is building the presentation using this builder).
Sample Successful Response
[
{"id":00000,"builderId":0000,"fileId":00000000,"file":{"slide":{"createdDate":"2020-12-04T14:46:15.933","modifiedDate":"2020-12-04T14:46:17.12","isLikedByCurrentUser":false,"isFollowedByCurrentUser":true,"likedBy":[],"title":"abc-icon","notes":null,"baseSlideNumber":1,"slideType":"File","fileSlideType":"Image","thumbnailSmallSize":10188,"thumbnailMediumSize":22964,"thumbnailLargeSize":96369,"id":00000000,"baseFileId":00000000,"slideHistoryId":0000000,"version":1,"apiUrl":"https://wwwapi.shufflrr.com/api/slides/00000000","thumbnailSmallUrl":"https://wwwapi.shufflrr.com/api/slides/00000000/thumbnailsmall","thumbnailMediumUrl":"https://wwwapi.shufflrr.com/api/slides/00000000/thumbnailmedium","thumbnailLargeUrl":"https://wwwapi.shufflrr.com/api/slides/00000000/thumbnaillarge","commentCount":0,"likeCount":0},"width":1128,"height":1128,"fileType":"Image","apiUrl":"https://wwwapi.shufflrr.com/api/files/00000000","author":null,"size":60296,"extension":"png","fileCreatedDate":"2020-12-04T14:46:13.32","fileModifiedDate":"2020-12-04T14:46:13.323","expiryDate":null,"fileHistoryId":000000,"version":1,"isCurrentVersion":true,"commentCount":0,"likeCount":0,"isLikedByCurrentUser":false,"isFollowedByCurrentUser":true,"metadata":[{"metadataTypeId":0000,"value":""},{"metadataTypeId":0001,"value":""},{"metadataTypeId":0002,"value":["","Value1","Value2"]},{"metadataTypeId":003,"value":""},{"metadataTypeId":0004,"value":""},{"metadataTypeId":0005,"value":["","one"]},{"metadataTypeId":0006,"value":["","Value3","Value4"]}],"likedBy":[],"slideId":00000000,"processingStatus":"Processed","thumbnailSmallUrl":"https://wwwapi.shufflrr.com/api/files/00000000/thumbnailsmall","thumbnailMediumUrl":"https://wwwapi.shufflrr.com/api/files/00000000/thumbnailmedium","thumbnailLargeUrl":"https://wwwapi.shufflrr.com/api/files/00000000/thumbnaillarge","thumbnailSmallDownloadUrl":"https://wwwapi.shufflrr.com/api/files/00000000/thumbnailsmall?download=true","thumbnailMediumDownloadUrl":"https://wwwapi.shufflrr.com/api/files/00000000/thumbnailmedium?download=true","thumbnailLargeDownloadUrl":"https://wwwapi.shufflrr.com/api/files/00000000/thumbnaillarge?download=true","thumbnailSmallSize":10188,"thumbnailMediumSize":22964,"thumbnailLargeSize":96369,"downloadUrl":"https://wwwapi.shufflrr.com/api/files/00000000/download","embedUrl":"https://wwwapi.shufflrr.com/api/files/00000000/embed","id":00000000,"name":"abc-icon.png","description":null,"createdDate":"2020-12-04T14:46:15.933","modifiedDate":"2020-12-04T14:46:17.12","createdById":"00000000-0000-0000-0000-000000000000","createdByName":"wwwapi Admin","modifiedById":"00000000-0000-0000-0000-000000000000","modifiedByName":"wwwapi Admin","parentFolderId":00000000,"portalId":0000000,"isFolder":false,"deleted":false},"parentBuilderPresentationId":null,"presentations":[],"insertBeforeSlideNumber":-1},
{"id":00000,"builderId":0000,"fileId":00000000,"file":{"slide":{"createdDate":"2020-12-01T16:05:58.877","modifiedDate":"2020-12-01T16:06:00.253","isLikedByCurrentUser":false,"isFollowedByCurrentUser":true,"likedBy":[],"title":"Christmas 2019-1","notes":null,"baseSlideNumber":1,"slideType":"File","fileSlideType":"Image","thumbnailSmallSize":16715,"thumbnailMediumSize":52458,"thumbnailLargeSize":307648,"id":00000000,"baseFileId":00000000,"slideHistoryId":0000000,"version":1,"apiUrl":"https://wwwapi.shufflrr.com/api/slides/00000000","thumbnailSmallUrl":"https://wwwapi.shufflrr.com/api/slides/00000000/thumbnailsmall","thumbnailMediumUrl":"https://wwwapi.shufflrr.com/api/slides/00000000/thumbnailmedium","thumbnailLargeUrl":"https://wwwapi.shufflrr.com/api/slides/00000000/thumbnaillarge","commentCount":0,"likeCount":0},"width":2592,"height":1944,"fileType":"Image","apiUrl":"https://wwwapi.shufflrr.com/api/files/00000000","author":null,"size":2189686,"extension":"JPG","fileCreatedDate":"2020-12-01T16:05:53.197","fileModifiedDate":"2020-12-01T16:05:53.66","expiryDate":null,"fileHistoryId":000000,"version":1,"isCurrentVersion":true,"commentCount":0,"likeCount":0,"isLikedByCurrentUser":false,"isFollowedByCurrentUser":true,"metadata":[{"metadataTypeId":0000,"value":""},{"metadataTypeId":0001,"value":""},{"metadataTypeId":0002,"value":["","Value1","Value2"]},{"metadataTypeId":003,"value":""},{"metadataTypeId":004,"value":""},{"metadataTypeId":0005,"value":["","one"]},{"metadataTypeId":0006,"value":["","Value3","Value4"]}],"likedBy":[],"slideId":00000000,"processingStatus":"Processed","thumbnailSmallUrl":"https://wwwapi.shufflrr.com/api/files/00000000/thumbnailsmall","thumbnailMediumUrl":"https://wwwapi.shufflrr.com/api/files/00000000/thumbnailmedium","thumbnailLargeUrl":"https://wwwapi.shufflrr.com/api/files/00000000/thumbnaillarge","thumbnailSmallDownloadUrl":"https://wwwapi.shufflrr.com/api/files/00000000/thumbnailsmall?download=true","thumbnailMediumDownloadUrl":"https://wwwapi.shufflrr.com/api/files/00000000/thumbnailmedium?download=true","thumbnailLargeDownloadUrl":"https://wwwapi.shufflrr.com/api/files/00000000/thumbnaillarge?download=true","thumbnailSmallSize":16715,"thumbnailMediumSize":52458,"thumbnailLargeSize":307648,"downloadUrl":"https://wwwapi.shufflrr.com/api/files/00000000/download","embedUrl":"https://wwwapi.shufflrr.com/api/files/00000000/embed","id":00000000,"name":"Christmas 2019-1.JPG","description":null,"createdDate":"2020-12-01T16:05:58.877","modifiedDate":"2020-12-01T16:06:00.253","createdById":"00000000-0000-0000-0000-000000000000","createdByName":"wwwapi Admin","modifiedById":"00000000-0000-0000-0000-000000000000","modifiedByName":"wwwapi Admin","parentFolderId":000000000,"portalId":0000000,"isFolder":false,"deleted":false},"parentBuilderPresentationId":null,"presentations":[],"insertBeforeSlideNumber":-1}
]Sample Unsuccessful Response
Response Code $$$$$$$$$$$$$
403 (Forbidden)
Response Body $$$$$$$$$$$$$$
Attempted to perform an unauthorized operation.