2016-01-27 17:52:54 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								## Minio Browser
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Minio Browser uses Json Web Tokens to authenticate JSON RPC requests.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Initial request generates a token for 'AccessKey' and 'SecretKey'
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								provided by the user.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< blockquote > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Currently these tokens expire after 10hrs, this is not configurable yet.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								< / blockquote > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### Start minio server
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								minio server < testdir > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								### JSON RPC APIs.
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								JSON RPC namespace is `Web` .
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2016-05-14 17:47:16 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								#### Server operations.
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								*  ServerInfo - fetches current server information, includes memory statistics, minio binary
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								  version, golang runtime version and more.
							 
						 
					
						
							
								
									
										
										
										
											2016-11-03 16:58:55 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								*  StorageInfo - fetches disc space availability(Total/Free), Type, Online/Offline status of disc with counts along with ReadQuorum and WriteQuorum counts.   
							 
						 
					
						
							
								
									
										
										
										
											2016-05-14 17:47:16 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								#### Auth operations
 
							 
						 
					
						
							
								
									
										
										
										
											2016-01-27 17:52:54 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								*  Login - waits for 'username, password' and on success replies a new Json Web Token (JWT).
							 
						 
					
						
							
								
									
										
										
										
											2016-05-14 17:47:16 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								*  SetAuth - change access credentials with new 'username, password'.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								*  GetAuth - fetch the current auth from the server.
							 
						 
					
						
							
								
									
										
										
										
											2016-01-27 17:52:54 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2016-05-14 17:47:16 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								#### Bucket/Object operations.
 
							 
						 
					
						
							
								
									
										
										
										
											2016-01-27 17:52:54 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								*  ListBuckets - lists buckets, requires a valid token.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								*  ListObjects - lists objects, requires a valid token.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								*  MakeBucket - make a new bucket, requires a valid token.
							 
						 
					
						
							
								
									
										
										
										
											2016-05-14 17:47:16 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								*  RemoveObject - removes an object from a bucket, requires a valid token.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								*  Upload - uploads a new object from the browser, requires a valid token.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								*  Download - downloads an object from a bucket, requires a valid token.