mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 02:12:24 -05:00 
			
		
		
		
	Inbox post (#22)
Inbox POST from federated servers now working for statuses and follow requests.
    Follow request client API added.
    Start work on federating outgoing messages.
    Other fixes and changes/tidying up.
	
	
This commit is contained in:
		
					parent
					
						
							
								742f985d5b
							
						
					
				
			
			
				commit
				
					
						cc48294c31
					
				
			
		
					 58 changed files with 2248 additions and 366 deletions
				
			
		|  | @ -43,13 +43,13 @@ type Application struct { | |||
| // And here: https://docs.joinmastodon.org/client/token/ | ||||
| type ApplicationCreateRequest struct { | ||||
| 	// A name for your application | ||||
| 	ClientName string `form:"client_name" binding:"required"` | ||||
| 	ClientName string `form:"client_name" json:"client_name" xml:"client_name" binding:"required"` | ||||
| 	// Where the user should be redirected after authorization. | ||||
| 	// To display the authorization code to the user instead of redirecting | ||||
| 	// to a web page, use urn:ietf:wg:oauth:2.0:oob in this parameter. | ||||
| 	RedirectURIs string `form:"redirect_uris" binding:"required"` | ||||
| 	RedirectURIs string `form:"redirect_uris" json:"redirect_uris" xml:"redirect_uris" binding:"required"` | ||||
| 	// Space separated list of scopes. If none is provided, defaults to read. | ||||
| 	Scopes string `form:"scopes"` | ||||
| 	Scopes string `form:"scopes" json:"scopes" xml:"scopes"` | ||||
| 	// A URL to the homepage of your app | ||||
| 	Website string `form:"website"` | ||||
| 	Website string `form:"website" json:"website" xml:"website"` | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue