Properties
Optional Category
Category: undefined | string
Optional ExpireDate
ExpireDate: undefined | string
Optional LocationType
LocationType: undefined | string
MimeType
MimeType: string
Optional OriginalName
OriginalName: undefined | string
Optional Uri
Uri: undefined | string
Creates a new, empty blob. If you wish to store data in there directly, use the
StoreBlob
service instead.Empty blobs are placeholders; eventually, you'll want to push data in there. This service allows you to create that placeholder, and it is expected you then use the multipart or raw binary
POST
call to/blob/{Guid}
to push your data.The combination of
Category
andOriginalName
must be unique, as theGetBlobInfoService
allows retrieval based on these values. Internally, a fresh and uniqueGuid
is generated and returned from this request. The response also contains the fullUrl
by which this blob can be accessed (which will contain aforementionedGuid
). Use this path to POST your data, too!MimeType
is required, a few suggestions would beapplication/pdf
,text/csv
orapplication/json
- but you probably already know this.ExpireDate
is the date at which the given blob should expire. Leave this empty to suggest to keep it forever. We will bag it and get rid of it when the time is right. :hocho:When retrieving the blob, it will be returned to you using the
MimeType
asContentType
header and a properExpires
header.