{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/signup":{"get":{"summary":"Signup","operationId":"signup_signup_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/guide":{"get":{"summary":"Guide","operationId":"guide_guide_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/search/reddit/users":{"get":{"summary":"Search Reddit Users","description":"Search Reddit Users","operationId":"search_reddit_users_search_reddit_users_get","parameters":[{"description":"Search Reddit Users by their name","required":false,"schema":{"type":"string","title":"Q","description":"Search Reddit Users by their name"},"name":"q","in":"query"},{"description":"Search Reddit Users using edge ngrams","required":false,"schema":{"type":"string","title":"Edge","description":"Search Reddit Users using edge ngrams"},"name":"edge","in":"query"},{"description":"Search Reddut Users using standard ngrams","required":false,"schema":{"type":"string","title":"Ngram","description":"Search Reddut Users using standard ngrams"},"name":"ngram","in":"query"},{"description":"Number of results to return","required":false,"schema":{"type":"integer","maximum":1000.0,"minimum":0.0,"title":"Size","description":"Number of results to return","default":10},"name":"size","in":"query"},{"description":"Choose a specific field to sort returned authors","required":false,"schema":{"type":"string","enum":["id","created_utc","comment_karma","link_karma","author"],"title":"Sort","description":"Choose a specific field to sort returned authors","default":"id"},"name":"sort","in":"query"},{"description":"Choose sort order when choosing a sort option","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/SortOrder"}],"description":"Choose sort order when choosing a sort option","default":"asc"},"name":"order","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"JWTBearer":[]}]}},"/reddit/search/subreddit":{"get":{"summary":"Search Reddit Subreddits","description":"Search Reddit Subreddits","operationId":"search_reddit_subreddits_reddit_search_subreddit_get","parameters":[{"description":"Search Reddit Subreddits by name","required":false,"schema":{"type":"string","title":"Q","description":"Search Reddit Subreddits by name"},"name":"q","in":"query"},{"description":"Search Reddit Subreddits using edge ngrams","required":false,"schema":{"type":"string","title":"Edge","description":"Search Reddit Subreddits using edge ngrams"},"name":"edge","in":"query"},{"description":"Search Reddit Subreddits using suffic edge ngrams","required":false,"schema":{"type":"string","title":"Edge Reverse","description":"Search Reddit Subreddits using suffic edge ngrams"},"name":"edge_reverse","in":"query"},{"description":"Search Reddut Subreddits using standard ngrams","required":false,"schema":{"type":"string","title":"Ngram","description":"Search Reddut Subreddits using standard ngrams"},"name":"ngram","in":"query"},{"description":"Search Reddit Subreddit description field","required":false,"schema":{"type":"string","title":"Description","description":"Search Reddit Subreddit description field"},"name":"description","in":"query"},{"description":"Number of results to return","required":false,"schema":{"type":"integer","maximum":1000.0,"minimum":0.0,"title":"Size","description":"Number of results to return","default":10},"name":"size","in":"query"},{"description":"Choose a specific field to sort returned authors","required":false,"schema":{"type":"string","enum":["id","created_utc","subreddit","subscribers"],"title":"Sort","description":"Choose a specific field to sort returned authors","default":"id"},"name":"sort","in":"query"},{"description":"Choose sort order when choosing a sort option","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/SortOrder"}],"description":"Choose sort order when choosing a sort option","default":"asc"},"name":"order","in":"query"},{"description":"Return only specific fields","required":false,"schema":{"type":"string","title":"Filter","description":"Return only specific fields"},"name":"filter","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"JWTBearer":[]}]}},"/":{"get":{"summary":"Home","operationId":"home__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/reddit/search/comment":{"get":{"summary":"Search Reddit Comments","description":"Search Reddit Comments","operationId":"search_reddit_comments_reddit_search_comment_get","parameters":[{"description":"Search comments by title and selftext","required":false,"schema":{"type":"string","title":"Q","description":"Search comments by title and selftext"},"name":"q","in":"query"},{"description":"Search comments by id (comma delimited list for multiple ids","required":false,"schema":{"type":"string","title":"Ids","description":"Search comments by id (comma delimited list for multiple ids"},"name":"ids","in":"query"},{"description":"Restrict to comments with this score or greater","required":false,"schema":{"type":"integer","title":"Min Score","description":"Restrict to comments with this score or greater"},"name":"min_score","in":"query"},{"description":"Restrict to comments with this score or lesser","required":false,"schema":{"type":"integer","title":"Max Score","description":"Restrict to comments with this score or lesser"},"name":"max_score","in":"query"},{"description":"Restrict to comments with this id or greater","required":false,"schema":{"type":"integer","title":"Min Id","description":"Restrict to comments with this id or greater"},"name":"min_id","in":"query"},{"description":"Restrict to comments with this id or less","required":false,"schema":{"type":"integer","title":"Max Id","description":"Restrict to comments with this id or less"},"name":"max_id","in":"query"},{"description":"Restrict results to this number of awards or greater","required":false,"schema":{"type":"integer","title":"Min Awards Received","description":"Restrict results to this number of awards or greater"},"name":"min_awards_received","in":"query"},{"description":"Restrict results less than or equal to this number of rewards","required":false,"schema":{"type":"integer","title":"Max Awards Received","description":"Restrict results less than or equal to this number of rewards"},"name":"max_awards_received","in":"query"},{"description":"Filter comments by specific subreddits","required":false,"schema":{"type":"string","title":"Subreddit","description":"Filter comments by specific subreddits"},"name":"subreddit","in":"query"},{"description":"Search comments posted by specific authors (comma delimited list accepted)","required":false,"schema":{"type":"string","title":"Author","description":"Search comments posted by specific authors (comma delimited list accepted)"},"name":"author","in":"query"},{"description":"Search for exact authors names.","required":false,"schema":{"type":"boolean","title":"Exact Author","description":"Search for exact authors names."},"name":"exact_author","in":"query"},{"description":"Search since an epoch time (inclusive)","required":false,"schema":{"type":"string","title":"Since","description":"Search since an epoch time (inclusive)"},"name":"since","in":"query"},{"description":"Search until this epoch time (exclusive)","required":false,"schema":{"type":"string","title":"Until","description":"Search until this epoch time (exclusive)"},"name":"until","in":"query"},{"description":"Search after this epoch time (inclusive) -- deprecated (use since)","required":false,"schema":{"type":"string","title":"After","description":"Search after this epoch time (inclusive) -- deprecated (use since)"},"name":"after","in":"query"},{"description":"Search before this epoch time (exclusive) -- deprecated (use until)","required":false,"schema":{"type":"string","title":"Before","description":"Search before this epoch time (exclusive) -- deprecated (use until)"},"name":"before","in":"query"},{"description":"Get all comments for a particular submission","required":false,"schema":{"type":"string","title":"Link Id","description":"Get all comments for a particular submission"},"name":"link_id","in":"query"},{"description":"Search from a specific time using special flags (s=seconds, m=minutes, h=hours, d=days)","required":false,"schema":{"type":"string","title":"Smartsince","description":"Search from a specific time using special flags (s=seconds, m=minutes, h=hours, d=days)"},"name":"smartsince","in":"query"},{"description":"Search up to a specific time using special flags (s=seconds, m=minutes, h=hours, d=days)","required":false,"schema":{"type":"string","title":"Smartuntil","description":"Search up to a specific time using special flags (s=seconds, m=minutes, h=hours, d=days)"},"name":"smartuntil","in":"query"},{"description":"Choose a specific field to sort returned submissions","required":false,"schema":{"type":"string","enum":["id","created_utc","score"],"title":"Sort","description":"Choose a specific field to sort returned submissions","default":"created_utc"},"name":"sort","in":"query"},{"description":"Choose the order of the sorted field","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/SortOrder"}],"description":"Choose the order of the sorted field","default":"desc"},"name":"order","in":"query"},{"description":"Perform a terms aggregation on this term","required":false,"schema":{"type":"string","title":"Agg Term","description":"Perform a terms aggregation on this term"},"name":"agg_term","in":"query"},{"description":"The number of results to return when performing a terms aggregation","required":false,"schema":{"type":"integer","maximum":1000.0,"title":"Agg Size","description":"The number of results to return when performing a terms aggregation","default":25,"gte":1},"name":"agg_size","in":"query"},{"description":"The amount of precision to use for terms aggregations. This\n                                affects Elasticsearch's doc_count_error_upper_bound","required":false,"schema":{"type":"number","maximum":25000.0,"title":"Shard Size","description":"The amount of precision to use for terms aggregations. This\n                                affects Elasticsearch's doc_count_error_upper_bound","default":1.5,"gte":1},"name":"shard_size","in":"query"},{"description":"Get aggregated data for comments over time","required":false,"schema":{"type":"string","title":"Time Histogram","description":"Get aggregated data for comments over time"},"name":"time_histogram","in":"query"},{"description":"Get ggregated data for comments over time using calendar intervals","required":false,"schema":{"type":"string","title":"Calendar Histogram","description":"Get ggregated data for comments over time using calendar intervals"},"name":"calendar_histogram","in":"query"},{"description":"Query a specific monthly index directly (usually faster responses)","required":false,"schema":{"type":"string","title":"Es Index","description":"Query a specific monthly index directly (usually faster responses)"},"name":"es_index","in":"query"},{"description":"Limit number of results returned.","required":false,"schema":{"type":"integer","maximum":1000.0,"title":"Limit","description":"Limit number of results returned.","default":10,"gte":0},"name":"limit","in":"query"},{"description":"Alias for limit parameter.","required":false,"schema":{"type":"integer","maximum":1000.0,"title":"Size","description":"Alias for limit parameter.","gte":0},"name":"size","in":"query"},{"description":"Get the exact document count for the query (this is slightly more expensive\n                                than an estimated count and therefore the default is set to false)","required":false,"schema":{"type":"boolean","title":"Track Total Hits","description":"Get the exact document count for the query (this is slightly more expensive\n                                than an estimated count and therefore the default is set to false)","default":false},"name":"track_total_hits","in":"query"},{"description":"Return only specific fields","required":false,"schema":{"type":"string","title":"Filter","description":"Return only specific fields"},"name":"filter","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"JWTBearer":[]}]}},"/reddit/comment/search":{"get":{"summary":"Search Reddit Comments","description":"Search Reddit Comments","operationId":"search_reddit_comments_reddit_comment_search_get","parameters":[{"description":"Search comments by title and selftext","required":false,"schema":{"type":"string","title":"Q","description":"Search comments by title and selftext"},"name":"q","in":"query"},{"description":"Search comments by id (comma delimited list for multiple ids","required":false,"schema":{"type":"string","title":"Ids","description":"Search comments by id (comma delimited list for multiple ids"},"name":"ids","in":"query"},{"description":"Restrict to comments with this score or greater","required":false,"schema":{"type":"integer","title":"Min Score","description":"Restrict to comments with this score or greater"},"name":"min_score","in":"query"},{"description":"Restrict to comments with this score or lesser","required":false,"schema":{"type":"integer","title":"Max Score","description":"Restrict to comments with this score or lesser"},"name":"max_score","in":"query"},{"description":"Restrict to comments with this id or greater","required":false,"schema":{"type":"integer","title":"Min Id","description":"Restrict to comments with this id or greater"},"name":"min_id","in":"query"},{"description":"Restrict to comments with this id or less","required":false,"schema":{"type":"integer","title":"Max Id","description":"Restrict to comments with this id or less"},"name":"max_id","in":"query"},{"description":"Restrict results to this number of awards or greater","required":false,"schema":{"type":"integer","title":"Min Awards Received","description":"Restrict results to this number of awards or greater"},"name":"min_awards_received","in":"query"},{"description":"Restrict results less than or equal to this number of rewards","required":false,"schema":{"type":"integer","title":"Max Awards Received","description":"Restrict results less than or equal to this number of rewards"},"name":"max_awards_received","in":"query"},{"description":"Filter comments by specific subreddits","required":false,"schema":{"type":"string","title":"Subreddit","description":"Filter comments by specific subreddits"},"name":"subreddit","in":"query"},{"description":"Search comments posted by specific authors (comma delimited list accepted)","required":false,"schema":{"type":"string","title":"Author","description":"Search comments posted by specific authors (comma delimited list accepted)"},"name":"author","in":"query"},{"description":"Search for exact authors names.","required":false,"schema":{"type":"boolean","title":"Exact Author","description":"Search for exact authors names."},"name":"exact_author","in":"query"},{"description":"Search since an epoch time (inclusive)","required":false,"schema":{"type":"string","title":"Since","description":"Search since an epoch time (inclusive)"},"name":"since","in":"query"},{"description":"Search until this epoch time (exclusive)","required":false,"schema":{"type":"string","title":"Until","description":"Search until this epoch time (exclusive)"},"name":"until","in":"query"},{"description":"Search after this epoch time (inclusive) -- deprecated (use since)","required":false,"schema":{"type":"string","title":"After","description":"Search after this epoch time (inclusive) -- deprecated (use since)"},"name":"after","in":"query"},{"description":"Search before this epoch time (exclusive) -- deprecated (use until)","required":false,"schema":{"type":"string","title":"Before","description":"Search before this epoch time (exclusive) -- deprecated (use until)"},"name":"before","in":"query"},{"description":"Get all comments for a particular submission","required":false,"schema":{"type":"string","title":"Link Id","description":"Get all comments for a particular submission"},"name":"link_id","in":"query"},{"description":"Search from a specific time using special flags (s=seconds, m=minutes, h=hours, d=days)","required":false,"schema":{"type":"string","title":"Smartsince","description":"Search from a specific time using special flags (s=seconds, m=minutes, h=hours, d=days)"},"name":"smartsince","in":"query"},{"description":"Search up to a specific time using special flags (s=seconds, m=minutes, h=hours, d=days)","required":false,"schema":{"type":"string","title":"Smartuntil","description":"Search up to a specific time using special flags (s=seconds, m=minutes, h=hours, d=days)"},"name":"smartuntil","in":"query"},{"description":"Choose a specific field to sort returned submissions","required":false,"schema":{"type":"string","enum":["id","created_utc","score"],"title":"Sort","description":"Choose a specific field to sort returned submissions","default":"created_utc"},"name":"sort","in":"query"},{"description":"Choose the order of the sorted field","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/SortOrder"}],"description":"Choose the order of the sorted field","default":"desc"},"name":"order","in":"query"},{"description":"Perform a terms aggregation on this term","required":false,"schema":{"type":"string","title":"Agg Term","description":"Perform a terms aggregation on this term"},"name":"agg_term","in":"query"},{"description":"The number of results to return when performing a terms aggregation","required":false,"schema":{"type":"integer","maximum":1000.0,"title":"Agg Size","description":"The number of results to return when performing a terms aggregation","default":25,"gte":1},"name":"agg_size","in":"query"},{"description":"The amount of precision to use for terms aggregations. This\n                                affects Elasticsearch's doc_count_error_upper_bound","required":false,"schema":{"type":"number","maximum":25000.0,"title":"Shard Size","description":"The amount of precision to use for terms aggregations. This\n                                affects Elasticsearch's doc_count_error_upper_bound","default":1.5,"gte":1},"name":"shard_size","in":"query"},{"description":"Get aggregated data for comments over time","required":false,"schema":{"type":"string","title":"Time Histogram","description":"Get aggregated data for comments over time"},"name":"time_histogram","in":"query"},{"description":"Get ggregated data for comments over time using calendar intervals","required":false,"schema":{"type":"string","title":"Calendar Histogram","description":"Get ggregated data for comments over time using calendar intervals"},"name":"calendar_histogram","in":"query"},{"description":"Query a specific monthly index directly (usually faster responses)","required":false,"schema":{"type":"string","title":"Es Index","description":"Query a specific monthly index directly (usually faster responses)"},"name":"es_index","in":"query"},{"description":"Limit number of results returned.","required":false,"schema":{"type":"integer","maximum":1000.0,"title":"Limit","description":"Limit number of results returned.","default":10,"gte":0},"name":"limit","in":"query"},{"description":"Alias for limit parameter.","required":false,"schema":{"type":"integer","maximum":1000.0,"title":"Size","description":"Alias for limit parameter.","gte":0},"name":"size","in":"query"},{"description":"Get the exact document count for the query (this is slightly more expensive\n                                than an estimated count and therefore the default is set to false)","required":false,"schema":{"type":"boolean","title":"Track Total Hits","description":"Get the exact document count for the query (this is slightly more expensive\n                                than an estimated count and therefore the default is set to false)","default":false},"name":"track_total_hits","in":"query"},{"description":"Return only specific fields","required":false,"schema":{"type":"string","title":"Filter","description":"Return only specific fields"},"name":"filter","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"JWTBearer":[]}]}},"/reddit/search/submission":{"get":{"summary":"Search Reddit Posts","description":"Search Reddit Submissions","operationId":"search_reddit_posts_reddit_search_submission_get","parameters":[{"description":"Search submissions by title and selftext","required":false,"schema":{"type":"string","title":"Q","description":"Search submissions by title and selftext"},"name":"q","in":"query"},{"description":"Search comments by id (comma delimited list for multiple ids","required":false,"schema":{"type":"string","title":"Ids","description":"Search comments by id (comma delimited list for multiple ids"},"name":"ids","in":"query"},{"description":"Restrict to submissions with this score or greater","required":false,"schema":{"type":"integer","title":"Min Score","description":"Restrict to submissions with this score or greater"},"name":"min_score","in":"query"},{"description":"Restrict to submissions with this score or lesser","required":false,"schema":{"type":"integer","title":"Max Score","description":"Restrict to submissions with this score or lesser"},"name":"max_score","in":"query"},{"description":"Restrict to submissions with this id or greater","required":false,"schema":{"type":"integer","title":"Min Id","description":"Restrict to submissions with this id or greater"},"name":"min_id","in":"query"},{"description":"Restrict to submissions with this id or less","required":false,"schema":{"type":"integer","title":"Max Id","description":"Restrict to submissions with this id or less"},"name":"max_id","in":"query"},{"description":"Restrict to submissions with this many comments or greater","required":false,"schema":{"type":"integer","title":"Min Comments","description":"Restrict to submissions with this many comments or greater"},"name":"min_comments","in":"query"},{"description":"Restrict to submissions with this many comments or lesser","required":false,"schema":{"type":"integer","title":"Max Comments","description":"Restrict to submissions with this many comments or lesser"},"name":"max_comments","in":"query"},{"description":"Restrict results to this number of awards or greater","required":false,"schema":{"type":"integer","title":"Min Awards Received","description":"Restrict results to this number of awards or greater"},"name":"min_awards_received","in":"query"},{"description":"Restrict results less than or equal to this number of rewards","required":false,"schema":{"type":"integer","title":"Max Awards Received","description":"Restrict results less than or equal to this number of rewards"},"name":"max_awards_received","in":"query"},{"description":"Filter submission titles by keyword or phrase","required":false,"schema":{"type":"string","title":"Title","description":"Filter submission titles by keyword or phrase"},"name":"title","in":"query"},{"description":"Filter submission selftext by keyword or phrase","required":false,"schema":{"type":"string","title":"Selftext","description":"Filter submission selftext by keyword or phrase"},"name":"selftext","in":"query"},{"description":"Filter submission by specific subreddits","required":false,"schema":{"type":"string","title":"Subreddit","description":"Filter submission by specific subreddits"},"name":"subreddit","in":"query"},{"description":"Search submissions posted by specific authors (comma delimited list accepted)","required":false,"schema":{"type":"string","title":"Author","description":"Search submissions posted by specific authors (comma delimited list accepted)"},"name":"author","in":"query"},{"description":"Search for exact authors names.","required":false,"schema":{"type":"boolean","title":"Exact Author","description":"Search for exact authors names."},"name":"exact_author","in":"query"},{"description":"Search since an epoch time (inclusive)","required":false,"schema":{"type":"string","title":"Since","description":"Search since an epoch time (inclusive)"},"name":"since","in":"query"},{"description":"Search until this epoch time (exclusive)","required":false,"schema":{"type":"string","title":"Until","description":"Search until this epoch time (exclusive)"},"name":"until","in":"query"},{"description":"Search after this epoch time (inclusive) -- deprecated (use since)","required":false,"schema":{"type":"string","title":"After","description":"Search after this epoch time (inclusive) -- deprecated (use since)"},"name":"after","in":"query"},{"description":"Search before this epoch time (exclusive) -- deprecated (use until)","required":false,"schema":{"type":"string","title":"Before","description":"Search before this epoch time (exclusive) -- deprecated (use until)"},"name":"before","in":"query"},{"description":"Search from a specific time using special flags (s=seconds, m=minutes, h=hours, d=days)","required":false,"schema":{"type":"string","title":"Smartsince","description":"Search from a specific time using special flags (s=seconds, m=minutes, h=hours, d=days)"},"name":"smartsince","in":"query"},{"description":"Search up to a specific time using special flags (s=seconds, m=minutes, h=hours, d=days)","required":false,"schema":{"type":"string","title":"Smartuntil","description":"Search up to a specific time using special flags (s=seconds, m=minutes, h=hours, d=days)"},"name":"smartuntil","in":"query"},{"description":"Choose a specific field to sort returned submissions","required":false,"schema":{"type":"string","enum":["id","created_utc","score"],"title":"Sort","description":"Choose a specific field to sort returned submissions","default":"created_utc"},"name":"sort","in":"query"},{"description":"Choose the order of the sorted field","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/SortOrder"}],"description":"Choose the order of the sorted field","default":"desc"},"name":"order","in":"query"},{"description":"Perform a terms aggregation on this term","required":false,"schema":{"type":"string","title":"Agg Term","description":"Perform a terms aggregation on this term"},"name":"agg_term","in":"query"},{"description":"The number of results to return when performing a terms aggregation","required":false,"schema":{"type":"integer","maximum":1000.0,"title":"Agg Size","description":"The number of results to return when performing a terms aggregation","default":25,"gte":1},"name":"agg_size","in":"query"},{"description":"The amount of precision to use for terms aggregations. This\n                            affects Elasticsearch's doc_count_error_upper_bound","required":false,"schema":{"type":"number","maximum":25000.0,"title":"Shard Size","description":"The amount of precision to use for terms aggregations. This\n                            affects Elasticsearch's doc_count_error_upper_bound","default":1.5,"gte":1},"name":"shard_size","in":"query"},{"description":"Get ggregated data for submissions over time","required":false,"schema":{"type":"string","title":"Time Histogram","description":"Get ggregated data for submissions over time"},"name":"time_histogram","in":"query"},{"description":"Get ggregated data for submissions over time using calendar intervals","required":false,"schema":{"type":"string","title":"Calendar Histogram","description":"Get ggregated data for submissions over time using calendar intervals"},"name":"calendar_histogram","in":"query"},{"description":"Get the exact document count for the query (this is slightly more expensive\n                            than an estimated count and therefore the default is set to false)","required":false,"schema":{"type":"boolean","title":"Track Total Hits","description":"Get the exact document count for the query (this is slightly more expensive\n                            than an estimated count and therefore the default is set to false)","default":false},"name":"track_total_hits","in":"query"},{"description":"Limit number of results returned.","required":false,"schema":{"type":"integer","maximum":1000.0,"title":"Limit","description":"Limit number of results returned.","default":10,"gte":0},"name":"limit","in":"query"},{"description":"Alias for limit parameter.","required":false,"schema":{"type":"integer","maximum":1000.0,"title":"Size","description":"Alias for limit parameter.","gte":0},"name":"size","in":"query"},{"description":"Return only specific fields","required":false,"schema":{"type":"string","title":"Filter","description":"Return only specific fields"},"name":"filter","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"JWTBearer":[]}]}},"/reddit/submission/search":{"get":{"summary":"Search Reddit Posts","description":"Search Reddit Submissions","operationId":"search_reddit_posts_reddit_submission_search_get","parameters":[{"description":"Search submissions by title and selftext","required":false,"schema":{"type":"string","title":"Q","description":"Search submissions by title and selftext"},"name":"q","in":"query"},{"description":"Search comments by id (comma delimited list for multiple ids","required":false,"schema":{"type":"string","title":"Ids","description":"Search comments by id (comma delimited list for multiple ids"},"name":"ids","in":"query"},{"description":"Restrict to submissions with this score or greater","required":false,"schema":{"type":"integer","title":"Min Score","description":"Restrict to submissions with this score or greater"},"name":"min_score","in":"query"},{"description":"Restrict to submissions with this score or lesser","required":false,"schema":{"type":"integer","title":"Max Score","description":"Restrict to submissions with this score or lesser"},"name":"max_score","in":"query"},{"description":"Restrict to submissions with this id or greater","required":false,"schema":{"type":"integer","title":"Min Id","description":"Restrict to submissions with this id or greater"},"name":"min_id","in":"query"},{"description":"Restrict to submissions with this id or less","required":false,"schema":{"type":"integer","title":"Max Id","description":"Restrict to submissions with this id or less"},"name":"max_id","in":"query"},{"description":"Restrict to submissions with this many comments or greater","required":false,"schema":{"type":"integer","title":"Min Comments","description":"Restrict to submissions with this many comments or greater"},"name":"min_comments","in":"query"},{"description":"Restrict to submissions with this many comments or lesser","required":false,"schema":{"type":"integer","title":"Max Comments","description":"Restrict to submissions with this many comments or lesser"},"name":"max_comments","in":"query"},{"description":"Restrict results to this number of awards or greater","required":false,"schema":{"type":"integer","title":"Min Awards Received","description":"Restrict results to this number of awards or greater"},"name":"min_awards_received","in":"query"},{"description":"Restrict results less than or equal to this number of rewards","required":false,"schema":{"type":"integer","title":"Max Awards Received","description":"Restrict results less than or equal to this number of rewards"},"name":"max_awards_received","in":"query"},{"description":"Filter submission titles by keyword or phrase","required":false,"schema":{"type":"string","title":"Title","description":"Filter submission titles by keyword or phrase"},"name":"title","in":"query"},{"description":"Filter submission selftext by keyword or phrase","required":false,"schema":{"type":"string","title":"Selftext","description":"Filter submission selftext by keyword or phrase"},"name":"selftext","in":"query"},{"description":"Filter submission by specific subreddits","required":false,"schema":{"type":"string","title":"Subreddit","description":"Filter submission by specific subreddits"},"name":"subreddit","in":"query"},{"description":"Search submissions posted by specific authors (comma delimited list accepted)","required":false,"schema":{"type":"string","title":"Author","description":"Search submissions posted by specific authors (comma delimited list accepted)"},"name":"author","in":"query"},{"description":"Search for exact authors names.","required":false,"schema":{"type":"boolean","title":"Exact Author","description":"Search for exact authors names."},"name":"exact_author","in":"query"},{"description":"Search since an epoch time (inclusive)","required":false,"schema":{"type":"string","title":"Since","description":"Search since an epoch time (inclusive)"},"name":"since","in":"query"},{"description":"Search until this epoch time (exclusive)","required":false,"schema":{"type":"string","title":"Until","description":"Search until this epoch time (exclusive)"},"name":"until","in":"query"},{"description":"Search after this epoch time (inclusive) -- deprecated (use since)","required":false,"schema":{"type":"string","title":"After","description":"Search after this epoch time (inclusive) -- deprecated (use since)"},"name":"after","in":"query"},{"description":"Search before this epoch time (exclusive) -- deprecated (use until)","required":false,"schema":{"type":"string","title":"Before","description":"Search before this epoch time (exclusive) -- deprecated (use until)"},"name":"before","in":"query"},{"description":"Search from a specific time using special flags (s=seconds, m=minutes, h=hours, d=days)","required":false,"schema":{"type":"string","title":"Smartsince","description":"Search from a specific time using special flags (s=seconds, m=minutes, h=hours, d=days)"},"name":"smartsince","in":"query"},{"description":"Search up to a specific time using special flags (s=seconds, m=minutes, h=hours, d=days)","required":false,"schema":{"type":"string","title":"Smartuntil","description":"Search up to a specific time using special flags (s=seconds, m=minutes, h=hours, d=days)"},"name":"smartuntil","in":"query"},{"description":"Choose a specific field to sort returned submissions","required":false,"schema":{"type":"string","enum":["id","created_utc","score"],"title":"Sort","description":"Choose a specific field to sort returned submissions","default":"created_utc"},"name":"sort","in":"query"},{"description":"Choose the order of the sorted field","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/SortOrder"}],"description":"Choose the order of the sorted field","default":"desc"},"name":"order","in":"query"},{"description":"Perform a terms aggregation on this term","required":false,"schema":{"type":"string","title":"Agg Term","description":"Perform a terms aggregation on this term"},"name":"agg_term","in":"query"},{"description":"The number of results to return when performing a terms aggregation","required":false,"schema":{"type":"integer","maximum":1000.0,"title":"Agg Size","description":"The number of results to return when performing a terms aggregation","default":25,"gte":1},"name":"agg_size","in":"query"},{"description":"The amount of precision to use for terms aggregations. This\n                            affects Elasticsearch's doc_count_error_upper_bound","required":false,"schema":{"type":"number","maximum":25000.0,"title":"Shard Size","description":"The amount of precision to use for terms aggregations. This\n                            affects Elasticsearch's doc_count_error_upper_bound","default":1.5,"gte":1},"name":"shard_size","in":"query"},{"description":"Get ggregated data for submissions over time","required":false,"schema":{"type":"string","title":"Time Histogram","description":"Get ggregated data for submissions over time"},"name":"time_histogram","in":"query"},{"description":"Get ggregated data for submissions over time using calendar intervals","required":false,"schema":{"type":"string","title":"Calendar Histogram","description":"Get ggregated data for submissions over time using calendar intervals"},"name":"calendar_histogram","in":"query"},{"description":"Get the exact document count for the query (this is slightly more expensive\n                            than an estimated count and therefore the default is set to false)","required":false,"schema":{"type":"boolean","title":"Track Total Hits","description":"Get the exact document count for the query (this is slightly more expensive\n                            than an estimated count and therefore the default is set to false)","default":false},"name":"track_total_hits","in":"query"},{"description":"Limit number of results returned.","required":false,"schema":{"type":"integer","maximum":1000.0,"title":"Limit","description":"Limit number of results returned.","default":10,"gte":0},"name":"limit","in":"query"},{"description":"Alias for limit parameter.","required":false,"schema":{"type":"integer","maximum":1000.0,"title":"Size","description":"Alias for limit parameter.","gte":0},"name":"size","in":"query"},{"description":"Return only specific fields","required":false,"schema":{"type":"string","title":"Filter","description":"Return only specific fields"},"name":"filter","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"JWTBearer":[]}]}}},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"SortOrder":{"type":"string","enum":["asc","desc"],"title":"SortOrder","description":"An enumeration."},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}},"securitySchemes":{"JWTBearer":{"type":"http","scheme":"bearer"}}}}