Returns file metadata together with a signed URL. For binary content use the /content route.
| Name | Type | Reference |
|---|---|---|
| card_uidrequired | string (uuid) | Card UID |
| comment_uidrequired | string (uuid) | Comment UID |
| idrequired | string (uuid) | File UID |
| Name | Value | Description |
|---|---|---|
| Authorizationrequired | Bearer <token> | API token is required |
| Description | Response type | Example |
|---|---|---|
| Success | Object |
| Name | Type | Description |
|---|---|---|
| id | string (uuid) | File UID |
| name | string | File name |
| size | string (bigint) | File size in bytes |
| mime_type | string (mime-type) | MIME type |
| entity_type | string | File entity type, always comment |
| created | string (date-time) | Creation date and time |
| updated | string (date-time) | Last update date and time |
| card_uid | string (uuid) | Card UID |
| comment_uid | string (uuid) | Comment UID |
| author_uid | string (uuid) | Author UID |
| card_cover | boolean | Flag indicating that image is used as card cover |
| url | string (uri) | Temporary signed URL to the file content (Content-Disposition: inline). The URL expires shortly, request the file again instead of caching it |
| Description | Response type | Example |
|---|---|---|
| Invalid token | String |
| Description | Response type | Example |
|---|---|---|
| Forbidden | Response body does not exist |
| Description | Response type | Example |
|---|---|---|
| Not found | Response body does not exist |
| Description | Response type | Example |
|---|---|---|
| The file is malicious | Object | Response body does not exist |
| Name | Type | Description |
|---|---|---|
| message | string | Error message |
Path Parameters
1 curl --request GET \
2 --url 'https://example.flowfast.io/api/latest/cards/{card_uid}/comments/{comment_uid}/files/{id}' \
3 --header 'Accept: application/json' \
4 --header 'Content-Type: application/json'
5 Response
ClickTry It!to start a request and see the response here!