In addition to these there may also be custom user defined headers available.
The header aliases may be used in the metadata function pbms_get_metadata_value(). When the metadata represents a time value the time value is always in seconds since Jan 1 1970 as returned from the POSIX standards time() function.
Alias | Value | Description |
---|---|---|
MS_CHECKSUM_TAG | "PBMS_CHECKSUM" | The BLOB's MD5 checksum as a hex string. |
MS_BLOB_SIZE | "PBMS_BLOB_SIZE" | The size of the actual BLOB. |
MS_LAST_ACCESS | "PBMS_LAST_ACCESS" | The last access time of the BLOB. |
MS_ACCESS_COUNT | "PBMS_ACCESS_COUNT" | The number of times the BLOB was downloaded. |
MS_CREATION_TIME | "PBMS_CREATION_TIME" | When the BLOB was uploaded to the PBMD Daemon . |
MS_BLOB_TYPE | "PBMS_BLOB_TYPE" | The storage type of the BLOB: local storage = 0, S3 Cloud storage = 1. |
MS_CLOUD_SERVER | "PBMS_CLOUD_SERVER" | If S3 Cloud storage then this is the S3 server URL. |
MS_CLOUD_BUCKET | "PBMS_CLOUD_BUCKET" | If S3 Cloud storage then this is the S3 bucket in which the BLOB is stored. |
MS_CLOUD_OBJECT_KEY | "PBMS_CLOUD_OBJECT_KEY" | If S3 Cloud storage then this is the object key of the BLOB. |