{
	"id": "2ch",
	"domain": "2ch.hk",
	"engine": "makaba",
	"tripcode": {
		"!!%adm%!!": "administrator",
		"!!%mod%!!": "moderator"
	},
	"boardUrl": "/{boardId}",
	"threadUrl": "/{boardId}/res/{threadId}.html",
	"commentUrl": "/{boardId}/res/{threadId}.html#{commentId}",
	"authResetUrl": "/makaba/makaba.fcgi?task=restore",
	"captchaRules": [
		"anonymous:create-comment:required",
		"anonymous:create-thread:required"
	],
	"captchaExpiresIn": 300,
	"captchaImageUrl": "/api/captcha/2chcaptcha/show?id={id}",
	"captchaImageType": "image/png",
	"captchaImageWidth": 270,
	"captchaImageHeight": 120,
	"rulesUrl": "/static/rules.html",
	"boardRulesUrl": "/static/rules.html#{boardId}",
	"accessTokenCookieName": "passcode_auth",
	"explicitContentBoardCategories": [
		"Взрослым"
	],
	"explicitContentBoards": [
		"b",
		"nf"
	],
	"api": {
		"getThread": {
			"method": "GET",
			"url": "/{boardId}/res/{threadId}.json",
			"urlParameters": [{
				"name": "boardId"
			}, {
				"name": "threadId"
			}]
		},
		"getThreadIncremental": {
			"method": "GET",
			"url": "/api/mobile/v2/after/{boardId}/{threadId}/{commentId}",
			"urlParameters": [{
				"name": "boardId"
			}, {
				"name": "threadId"
			}, {
				"name": "commentId"
			}]
		},
		"getArchivedThread": {
			"method": "GET",
			"url": "/{boardId}/arch/res/{threadId}.json",
			"urlParameters": [{
				"name": "boardId"
			}, {
				"name": "threadId"
			}]
		},
		"getThreads": {
			"method": "GET",
			"url": "/{boardId}/catalog.json",
			"urlParameters": [{
				"name": "boardId"
			}]
		},
		"getThreadsStats": {
			"method": "GET",
			"url": "/{boardId}/threads.json",
			"urlParameters": [{
				"name": "boardId"
			}],
			"features": {
				"rating": true,
				"views": true
			}
		},
		"getThreadsWithLatestCommentsFirstPage": {
			"method": "GET",
			"url": "/{boardId}/index.json",
			"urlParameters": [{
				"name": "boardId"
			}]
		},
		"getThreadsWithLatestCommentsPage": {
			"method": "GET",
			"url": "/{boardId}/{pageIndex}.json",
			"urlParameters": [{
				"name": "boardId"
			}, {
				"name": "pageIndex"
			}]
		},
		"getBoards": {
			"method": "GET",
			"url": "/api/mobile/v2/boards"
		},
		"rate": {
			"method": "GET",
			"url": "/api/{action}",
			"urlParameters": [{
				"name": "action",
				"input": {
					"name": "up",
					"map": {
						"true": "like",
						"false": "dislike"
					}
				}
			}],
			"parameters": [{
				"name": "board",
				"input": {
					"name": "boardId"
				}
			}, {
				"name": "num",
				"input": {
					"name": "commentId"
				}
			}]
		},
		"post": {
			"method": "POST",
			"requestType": "multipart/form-data",
			"url": "/user/posting?nc=1",
			"cookies": [{
				"name": "passcode_auth",
				"input": {
					"name": "accessToken"
				}
			}],
			"parameters": [{
				"name": "task",
				"defaultValue": "post"
			}, {
				"name": "board",
				"input": {
					"name": "boardId"
				}
			}, {
				"name": "thread",
				"defaultValue": 0,
				"input": {
					"name": "threadId"
				}
			}, {
				"name": "op_mark",
				"input": {
					"name": "authorIsThreadAuthor",
					"transform": "zero-or-one"
				}
			}, {
				"name": "usercode",
				"input": {
					"name": "accessToken"
				}
			}, {
				"name": "captcha_type",
				"input": {
					"name": "captchaType"
				}
			}, {
				"name": "email",
				"input": {
					"name": "authorEmail"
				}
			}, {
				"name": "name",
				"input": {
					"name": "authorName"
				}
			}, {
				"name": "subject",
				"input": {
					"name": "title"
				}
			}, {
				"name": "icon",
				"defaultValue": -1,
				"input": {
					"name": "authorIconId"
				}
			}, {
				"name": "comment",
				"input": {
					"name": "content"
				}
			}, {
				"name": "tags",
				"input": {
					"name": "tags"
				}
			}, {
				"name": "file",
				"input": {
					"name": "attachments"
				}
			}, {
				"name": "g-recaptcha-response",
				"when": {
					"input": {
						"captchaType": [
							"recaptcha",
							"invisible_recaptcha",
							"recaptcha3"
						]
					}
				},
				"input": {
					"name": "captchaSolution"
				}
			}, {
				"name": "2chcaptcha_id",
				"when": {
					"input": {
						"captchaType": "2chcaptcha"
					}
				},
				"input": {
					"name": "captchaId"
				}
			}, {
				"name": "2chcaptcha_value",
				"when": {
					"input": {
						"captchaType": "2chcaptcha"
					}
				},
				"input": {
					"name": "captchaSolution"
				}
			}]
		},
		"getCaptcha": {
			"method": "GET",
			"url": "/api/captcha/2chcaptcha/id",
			"parameters": [{
				"name": "board",
				"input": {
					"name": "boardId"
				},
				"defaultValue": ""
			}, {
				"name": "thread",
				"input": {
					"name": "threadId"
				},
				"defaultValue": 0
			}]
		},
		"report": {
			"method": "POST",
			"url": "/user/report",
			"requestType": "multipart/form-data",
			"cookies": [{
				"name": "passcode_auth",
				"input": {
					"name": "accessToken"
				}
			}],
			"parameters": [{
				"name": "board",
				"input": {
					"name": "boardId"
				}
			}, {
				"name": "thread",
				"input": {
					"name": "threadId"
				}
			}, {
				"name": "post",
				"input": {
					"name": "commentId"
				}
			}, {
				"name": "comment",
				"input": {
					"name": "content"
				}
			}]
		},
		"logIn": {
			"method": "POST",
			"url": "/user/passlogin",
			"requestType": "multipart/form-data",
			"responseType": "text/html",
			"parameters": [{
				"name": "passcode",
				"input": {
					"name": "token"
				}
			}]
		},
		"logOut": {
			"method": "POST",
			"url": "/user/passlogout",
			"requestType": "multipart/form-data",
			"responseType": "text/html"
		}
	}
}