talk@lists.collectionspace.org

WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org

View all threads

blob service PUT request

NK
Nathan Kerr
Mon, Aug 14, 2017 6:52 PM

Hi All,

I have been looking at the documentation and am having a hard time
understanding if it is possible to send a PUT request via the blob service
api to an existing blob (specified by csid) that specifies a new image file
as the source for the blob. It seems to me that this is possible and
requires specification of the "srcUri" in the request, but I cannot seem to
make anything work.

I'm attempting to repair a large number of blobs that have missing
derivatives, for which I have all of the original media. I have had success
creating a new blob and then updating the blobcsid field of the relevant
media handling record, but it would be much more expedient to simply update
the blob directly. Is this possible?

Thanks,
Nathan Kerr

Hi All, I have been looking at the documentation and am having a hard time understanding if it is possible to send a PUT request via the blob service api to an existing blob (specified by csid) that specifies a new image file as the source for the blob. It seems to me that this is possible and requires specification of the "srcUri" in the request, but I cannot seem to make anything work. I'm attempting to repair a large number of blobs that have missing derivatives, for which I have all of the original media. I have had success creating a new blob and then updating the blobcsid field of the relevant media handling record, but it would be much more expedient to simply update the blob directly. Is this possible? Thanks, Nathan Kerr
RL
Ray Lee
Mon, Aug 14, 2017 8:18 PM

Hi Nathan,
It's not possible. There's an open issue for this:
https://issues.collectionspace.org/browse/CSPACE-6633

Ray

On Mon, Aug 14, 2017 at 11:52 AM, Nathan Kerr nathan.p.kerr@gmail.com
wrote:

Hi All,

I have been looking at the documentation and am having a hard time
understanding if it is possible to send a PUT request via the blob service
api to an existing blob (specified by csid) that specifies a new image file
as the source for the blob. It seems to me that this is possible and
requires specification of the "srcUri" in the request, but I cannot seem to
make anything work.

I'm attempting to repair a large number of blobs that have missing
derivatives, for which I have all of the original media. I have had success
creating a new blob and then updating the blobcsid field of the relevant
media handling record, but it would be much more expedient to simply update
the blob directly. Is this possible?

Thanks,
Nathan Kerr


Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_
lists.collectionspace.org

Hi Nathan, It's not possible. There's an open issue for this: https://issues.collectionspace.org/browse/CSPACE-6633 Ray On Mon, Aug 14, 2017 at 11:52 AM, Nathan Kerr <nathan.p.kerr@gmail.com> wrote: > Hi All, > > I have been looking at the documentation and am having a hard time > understanding if it is possible to send a PUT request via the blob service > api to an existing blob (specified by csid) that specifies a new image file > as the source for the blob. It seems to me that this is possible and > requires specification of the "srcUri" in the request, but I cannot seem to > make anything work. > > I'm attempting to repair a large number of blobs that have missing > derivatives, for which I have all of the original media. I have had success > creating a new blob and then updating the blobcsid field of the relevant > media handling record, but it would be much more expedient to simply update > the blob directly. Is this possible? > > Thanks, > Nathan Kerr > > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > http://lists.collectionspace.org/mailman/listinfo/talk_ > lists.collectionspace.org > >