Fix doc
This commit is contained in:
		
							parent
							
								
									4b145da046
								
							
						
					
					
						commit
						b480ef669c
					
				
					 2 changed files with 8 additions and 2 deletions
				
			
		| 
						 | 
					@ -8,7 +8,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
以下のURLに、`i`というパラメータ名で認証情報を含めて、websocket接続してください。例:
 | 
					以下のURLに、`i`というパラメータ名で認証情報を含めて、websocket接続してください。例:
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
%URL%/streaming?i=xxxxxxxxxxxxxxx
 | 
					%WS_URL%/streaming?i=xxxxxxxxxxxxxxx
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
認証情報は、自分のAPIキーや、アプリケーションからストリームに接続する際はユーザーのアクセストークンのことを指します。
 | 
					認証情報は、自分のAPIキーや、アプリケーションからストリームに接続する際はユーザーのアクセストークンのことを指します。
 | 
				
			||||||
| 
						 | 
					@ -22,7 +22,7 @@
 | 
				
			||||||
認証情報は省略することもできますが、その場合非ログインでの利用ということになり、受信できる情報や可能な操作は限られます。例:
 | 
					認証情報は省略することもできますが、その場合非ログインでの利用ということになり、受信できる情報や可能な操作は限られます。例:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
%URL%/streaming
 | 
					%WS_URL%/streaming
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -216,6 +216,12 @@ router.get('/*/*', async ctx => {
 | 
				
			||||||
		replace: config.url
 | 
							replace: config.url
 | 
				
			||||||
	}));
 | 
						}));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						showdown.extension('wsUrlExtension', () => ({
 | 
				
			||||||
 | 
							type: 'output',
 | 
				
			||||||
 | 
							regex: /%WS_URL%/g,
 | 
				
			||||||
 | 
							replace: config.ws_url
 | 
				
			||||||
 | 
						}));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	showdown.extension('apiUrlExtension', () => ({
 | 
						showdown.extension('apiUrlExtension', () => ({
 | 
				
			||||||
		type: 'output',
 | 
							type: 'output',
 | 
				
			||||||
		regex: /%API_URL%/g,
 | 
							regex: /%API_URL%/g,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue