B2Account Type
Backblaze B2 account information.
Remarks
This type provides information about a Backblaze B2 account and the currently-authenticated application key.
Fields
AccountId String? |
The Id of the account. This field reflects the Id of the account that the currently-authenticated application key belongs to. | ||||||||||||||||||||||||
AllowedBucketId String? |
The Id of the bucket that the application key is restricted to. This field reflects the Id of the bucket that the currently-authenticated application key is restricted to. It will be empty if the currently-authenticated application key is not restricted to any specific bucket. | ||||||||||||||||||||||||
AllowedBucketName String? |
The name of the bucket that the application key is restricted to. This field reflects the name of the bucket that the currently-authenticated application key is restricted to. It will be empty if the currently-authenticated application key is not restricted to any specific bucket; or if it is, but the bucket has been deleted (AllowedBucketId will still be populated in this case). | ||||||||||||||||||||||||
AllowedPrefix String? |
The file name prefix that the application key is restricted to. This field reflects the file name prefix that the currently-authenticated application key is restricted to. It will be empty if the currently-authenticated application key is not restricted to a specific file name prefix. | ||||||||||||||||||||||||
AuthToken String? |
The authorization token that will be used to authorize requests. This field reflects the actual authorization token that will be used to authorize requests sent to the server. This token is obtained by calling Authorize to authenticate to the server using the current ApplicationKey and ApplicationKeyId values; it is valid for up to 24 hours. | ||||||||||||||||||||||||
Capabilities String? |
The capabilities that the application key has. This field reflects the capabilities that the currently-authenticated application key has. It is formatted as a comma-separated list of one or more of the following strings:
| ||||||||||||||||||||||||
MinPartSize Long |
The minimum allowed multipart upload part size. This field reflects the minimum allowed multipart upload part size, in bytes. | ||||||||||||||||||||||||
RecPartSize Long |
The recommended multipart upload part size. This field reflects the recommended multipart upload part size, in bytes. |