All URIs are relative to http://demo-v1.gilfoyle.dreamvo.com
Method | HTTP request | Description |
---|---|---|
AddMediaAttachment | Post /medias/{media_id}/attachments/{key} | Add attachment to a media |
DeleteMediaAttachment | Delete /medias/{media_id}/attachments/{key} | Delete attachment of a media |
GetMediaAttachments | Get /medias/{media_id}/attachments | Get attachments of a media |
UtilDataResponse AddMediaAttachment(ctx, mediaId, key, file) Add attachment to a media
Add attachment to a media
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
mediaId | string | Media identifier | |
key | string | Attachment unique identifier | |
file | *os.File | Attachment file |
No authorization required
- Content-Type: multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UtilDataResponse DeleteMediaAttachment(ctx, mediaId, key) Delete attachment of a media
Delete attachment of a media
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
mediaId | string | Media identifier | |
key | string | Attachment unique identifier |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UtilDataResponse GetMediaAttachments(ctx, mediaId) Get attachments of a media
Get attachments of a media
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
mediaId | string | Media identifier |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]