File
Every file type has basic information about the file itself that is presented in bellow data structure.
| Key | Type | Description |
|---|---|---|
| name | string | File name with extension |
| hash | string | sha256 hash of the file |
| size | int | Size in bytes |
| url | string | Path |
| type | string | File type |
| storage | string | Storage provider that is used |
Example
{
"name": "example_image.png",
"hash": "a1b2c3d4e5f6g7h8i9j2",
"size": 20000000,
"url": "https://example.com/images/example_image.png",
"type": "PNG",
"storage": "AWS"
}