View raw JSON
{
"type": "object",
"required": [
"queryParams"
],
"properties": {
"queryParams": {
"type": "object",
"required": [
"post_id"
],
"properties": {
"after": {
"type": "string",
"title": "After",
"maxLength": 4096,
"description": "Pagination parameter for the next page."
},
"post_id": {
"type": "string",
"title": "Post Id",
"pattern": "^t3_[a-z0-9]{1,17}$",
"examples": [
"t3_1ojnvca"
],
"maxLength": 20,
"minLength": 4,
"description": "Post ID."
},
"language": {
"type": "string",
"title": "Language",
"default": "en-US",
"pattern": "^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$",
"maxLength": 16,
"minLength": 2,
"description": "Preferred response language as an IETF language tag; defaults to en-US."
},
"sort_type": {
"enum": [
"CONFIDENCE",
"NEW",
"TOP",
"HOT",
"CONTROVERSIAL",
"OLD",
"RANDOM"
],
"type": "string",
"title": "Sort Type",
"default": "CONFIDENCE",
"examples": [
"CONFIDENCE"
],
"description": "Sort method: CONFIDENCE, NEW, TOP, HOT, CONTROVERSIAL, OLD or RANDOM."
},
"need_format": {
"type": "boolean",
"title": "Need Format",
"default": false,
"description": "Whether to clean and format the data."
}
},
"additionalProperties": true
}
},
"additionalProperties": false
}