media
Attributes
Name | Type | Description | Readonly |
---|---|---|---|
id |
string | ||
category |
Enum<category> | General category of what the media represents. | ✔ |
created |
OffsetDateTime |
✔ | |
deleted |
boolean | ||
favorite |
boolean | ||
label |
string | Short string to describe the media. Usually set with the file name. | |
mime-type |
string | MIME type. @see MIME types | ✔ |
shared |
Enum<shared> | How the media was shared. | ✔ |
size |
long | File size in bytes. | ✔ |
Relationships
Name | Type |
---|---|
creator | users |
Links
Name | Type | Description |
---|---|---|
preview | string | Link to a preview image of the file |
source | string | Link to the source image of the file |
upload | string | Link to file upload endpoint |