✌️
This commit is contained in:
		
							parent
							
								
									326e700ad5
								
							
						
					
					
						commit
						7a17723a0c
					
				
					 2 changed files with 15 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -87,6 +87,10 @@ section
 | 
			
		|||
 | 
			
		||||
	p アクセストークンが取得できたら、「ユーザーのアクセストークン+あなたのアプリのシークレットキーをsha256したもの」を「i」というパラメータでリクエストに含めると、APIにアクセスすることができます。
 | 
			
		||||
 | 
			
		||||
	p 「i」パラメータの生成方法を擬似コードで表すと次のようになります:
 | 
			
		||||
	pre: code
 | 
			
		||||
		| const i = sha256(accessToken + secretKey);
 | 
			
		||||
 | 
			
		||||
	p APIの詳しい使用法は「Misskey APIの利用」セクションをご覧ください。
 | 
			
		||||
 | 
			
		||||
section
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -100,3 +100,14 @@ table
 | 
			
		|||
	th, td
 | 
			
		||||
		padding 8px 16px
 | 
			
		||||
		min-width 128px
 | 
			
		||||
 | 
			
		||||
code
 | 
			
		||||
	padding 8px 10px
 | 
			
		||||
	font-family Consolas, 'Courier New', Courier, Monaco, monospace
 | 
			
		||||
	color #295c92
 | 
			
		||||
	background #f2f2f2
 | 
			
		||||
	border-radius 4px
 | 
			
		||||
 | 
			
		||||
pre
 | 
			
		||||
	> code
 | 
			
		||||
		display block
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue