stackexchange-api
Version:
A Node.js wrapper for the StackExchange API
206 lines (205 loc) • 5.32 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const fieldList = [
'answer.accepted',
'answer.answer_id',
'answer.awarded_bounty_amount',
'answer.awarded_bounty_users',
'answer.body',
'answer.body_markdown',
'answer.can_flag',
'answer.comment_count',
'answer.comments',
'answer.community_owned_date',
'answer.creation_date',
'answer.down_vote_count',
'answer.downvoted',
'answer.is_accepted',
'answer.last_activity_date',
'answer.last_edit_date',
'answer.last_editor',
'answer.link',
'answer.locked_date',
'answer.owner',
'answer.question_id',
'answer.score',
'answer.share_link',
'answer.tags',
'answer.title',
'answer.up_vote_count',
'answer.upvoted',
'badge.award_count',
'badge.badge_id',
'badge.badge_type',
'badge.description',
'badge.link',
'badge.name',
'badge.rank',
'badge.user',
'badge_count.bronze',
'badge_count.gold',
'badge_count.silver',
'closed_details.by_users',
'closed_details.description',
'closed_details.on_hold',
'closed_details.original_questions',
'closed_details.reason',
'comment.body',
'comment.body_markdown',
'comment.can_flag',
'comment.comment_id',
'comment.creation_date',
'comment.edited',
'comment.link',
'comment.owner',
'comment.post_id',
'comment.post_type',
'comment.reply_to_user',
'comment.score',
'comment.upvoted',
'filter.filter',
'filter.filter_type',
'filter.included_fields',
'info.answers_per_minute',
'info.api_revision',
'info.badges_per_minute',
'info.new_active_users',
'info.questions_per_minute',
'info.site',
'info.total_accepted',
'info.total_answers',
'info.total_badges',
'info.total_comments',
'info.total_questions',
'info.total_unanswered',
'info.total_users',
'info.total_votes',
'migration_info.on_date',
'migration_info.other_site',
'migration_info.question_id',
'notice.body',
'notice.creation_date',
'notice.owner_user_id',
'original_question.accepted_answer_id',
'original_question.answer_count',
'original_question.question_id',
'original_question.title',
'post.body',
'post.body_markdown',
'post.comment_count',
'post.comments',
'post.creation_date',
'post.down_vote_count',
'post.downvoted',
'post.last_activity_date',
'post.last_edit_date',
'post.last_editor',
'post.link',
'post.owner',
'post.post_id',
'post.post_type',
'post.score',
'post.share_link',
'post.title',
'post.up_vote_count',
'post.upvoted',
'privilege.description',
'privilege.reputation',
'privilege.short_description',
'question.accepted_answer_id',
'question.answer_count',
'question.answers',
'question.body',
'question.body_markdown',
'question.bounty_amount',
'question.bounty_closes_date',
'question.bounty_user',
'question.can_close',
'question.can_flag',
'question.close_vote_count',
'question.closed_date',
'question.closed_details',
'question.closed_reason',
'question.comment_count',
'question.comments',
'question.community_owned_date',
'question.creation_date',
'question.delete_vote_count',
'question.down_vote_count',
'question.downvoted',
'question.favorite_count',
'question.favorited',
'question.is_answered',
'question.last_activity_date',
'question.last_edit_date',
'question.last_editor',
'question.link',
'question.locked_date',
'question.migrated_from',
'question.migrated_to',
'question.notice',
'question.owner',
'question.protected_date',
'question.question_id',
'question.reopen_vote_count',
'question.score',
'question.share_link',
'question.tags',
'question.title',
'question.up_vote_count',
'question.upvoted',
'question.view_count',
'related_site.api_site_parameter',
'related_site.name',
'related_site.relation',
'related_site.site_url',
'shallow_user.accept_rate',
'shallow_user.badge_counts',
'shallow_user.display_name',
'shallow_user.link',
'shallow_user.profile_image',
'shallow_user.reputation',
'shallow_user.user_id',
'shallow_user.user_type',
'site.aliases',
'site.api_site_parameter',
'site.audience',
'site.closed_beta_date',
'site.favicon_url',
'site.high_resolution_icon_url',
'site.icon_url',
'site.launch_date',
'site.logo_url',
'site.markdown_extensions',
'site.name',
'site.open_beta_date',
'site.related_sites',
'site.site_state',
'site.site_type',
'site.site_url',
'site.styling',
'site.twitter_account',
'styling.link_color',
'styling.tag_background_color',
'styling.tag_foreground_color',
'tag.count',
'tag.has_synonyms',
'tag.is_moderator_only',
'tag.is_required',
'tag.last_activity_date',
'tag.name',
'tag.synonyms',
'tag.user_id',
'.backoff',
'.error_id',
'.error_message',
'.error_name',
'.has_more',
'.items',
'.page',
'.page_size',
'.quota_max',
'.quota_remaining',
'.total',
'.type',
];