use POST api/v2/media to upload media (#2327)
This commit is contained in:
parent
8dbf255617
commit
eea81d7106
4 changed files with 16 additions and 7 deletions
|
|
@ -0,0 +1,9 @@
|
|||
package com.keylesspalace.tusky.entity
|
||||
|
||||
/**
|
||||
* The same as Attachment, except the url is null - see https://docs.joinmastodon.org/methods/statuses/media/
|
||||
* We are only interested in the id, so other attributes are omitted
|
||||
*/
|
||||
data class MediaUploadResult(
|
||||
val id: String
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue