mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-14 02:37:28 -06:00
[feature] Allow admins to expire remote public keys; refetch expired keys on demand (#2183)
This commit is contained in:
parent
2cac5a4613
commit
4b594516ec
23 changed files with 841 additions and 117 deletions
|
|
@ -178,6 +178,17 @@ type AdminActionRequest struct {
|
|||
TargetID string `form:"-" json:"-" xml:"-"`
|
||||
}
|
||||
|
||||
// AdminActionResponse models the server
|
||||
// response to an admin action.
|
||||
//
|
||||
// swagger:model adminActionResponse
|
||||
type AdminActionResponse struct {
|
||||
// Internal ID of the action.
|
||||
//
|
||||
// example: 01H9QG6TZ9W5P0402VFRVM17TH
|
||||
ActionID string `json:"action_id"`
|
||||
}
|
||||
|
||||
// MediaCleanupRequest models admin media cleanup parameters
|
||||
//
|
||||
// swagger:parameters mediaCleanup
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue