mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 04:32:25 -05:00 
			
		
		
		
	[feature] Add /api/v1/admin/custom_emojis/{id} endpoint for single emoji GET (#910)
		
	* fix error in prev swagger docs * add GET for single admin emoji
This commit is contained in:
		
					parent
					
						
							
								70d65b683f
							
						
					
				
			
			
				commit
				
					
						6a95f5fa67
					
				
			
		
					 10 changed files with 455 additions and 172 deletions
				
			
		|  | @ -42,6 +42,7 @@ type Processor interface { | |||
| 	AccountAction(ctx context.Context, account *gtsmodel.Account, form *apimodel.AdminAccountActionRequest) gtserror.WithCode | ||||
| 	EmojiCreate(ctx context.Context, account *gtsmodel.Account, user *gtsmodel.User, form *apimodel.EmojiCreateRequest) (*apimodel.Emoji, gtserror.WithCode) | ||||
| 	EmojisGet(ctx context.Context, account *gtsmodel.Account, user *gtsmodel.User, domain string, includeDisabled bool, includeEnabled bool, shortcode string, maxShortcodeDomain string, minShortcodeDomain string, limit int) (*apimodel.PageableResponse, gtserror.WithCode) | ||||
| 	EmojiGet(ctx context.Context, account *gtsmodel.Account, user *gtsmodel.User, id string) (*apimodel.AdminEmoji, gtserror.WithCode) | ||||
| 	MediaPrune(ctx context.Context, mediaRemoteCacheDays int) gtserror.WithCode | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue