mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-03 12:53:17 -06:00
update status edit form swagger comments
This commit is contained in:
parent
aa125fb6ae
commit
a270e0df10
3 changed files with 108 additions and 2 deletions
|
|
@ -54,7 +54,7 @@ type AttachmentUpdateRequest struct {
|
|||
Focus *string `form:"focus" json:"focus" xml:"focus"`
|
||||
}
|
||||
|
||||
// AttachmentAttributesRequest models an edit request for a attachment attributes.
|
||||
// AttachmentAttributesRequest models an edit request for attachment attributes.
|
||||
//
|
||||
// swagger:ignore
|
||||
type AttachmentAttributesRequest struct {
|
||||
|
|
|
|||
|
|
@ -378,7 +378,7 @@ type StatusEditRequest struct {
|
|||
// If provided, status becomes optional, and poll cannot be used.
|
||||
MediaIDs []string `form:"media_ids[]" json:"media_ids"`
|
||||
|
||||
// ...
|
||||
// Array of Attachment attributes to be updated in attached media.
|
||||
MediaAttributes []AttachmentAttributesRequest `form:"media_attributes[]" json:"media_attributes"`
|
||||
|
||||
// Poll to include with this status.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue