LogoLogo
  • What Is Junkipedia?
    • Introduction
    • What You Can Do
    • What You Can't Do
    • Tip-Issue-Narrative Pipeline
  • Getting Started
    • Managing Your Team
      • Inviting New Users
      • Managing Your Organization
    • Setting Up Tiplines
      • Creating A New Tipline
      • Configuring Tipline Properties
        • Hosting A Web Tipline
        • Hosting An Email Tipline
        • Hosting An SMS Tipline
        • Hosting A Whatsapp Tipline
        • Hosting A Slack Tipline
        • Hosting An API Tipline
      • Embedding A Tipline Form
      • Sharing A Tipline Via QR Code
      • Enabling Inbound Tip Review
      • Disabling A Tipline
      • Adding Default Topics & Tags (wip)
      • Reviewing Tips
    • Reporting And Documenting Misinformation
      • Submitting Tips Within Junkipedia
      • Using Tiplines Outside Of Junkipedia
        • Submit A Tip via SMS
        • Submit A Tip via Email
        • Submit A Tip Via WhatsApp
        • Submit A Tip via Slack
        • Submit A Tip via Web Form
        • Submit Tips Via API
      • Editing An Issue
        • The "Edit Issue" Form
        • What To Include
        • Adding More Tips To An Issue
        • Editing Within The Issues List
          • Issue Title & Description
          • Adding Tags To An Issue
          • Linking Issues To Narratives
    • Reviewing Tracked Content
      • Searching For Issues
      • Filtering Issues
      • Creating Saved Search Alerts
    • Managing Narratives
      • Adding Issues To A Narrative
      • Describing A Narrative
      • Preparing A Response
      • Making A Narrative Public
    • Social Media Monitoring
      • Introducing The Junkipedia Monitoring System
      • Searching The Database
      • Following Public Lists
      • Building Your Own Lists
      • Edit an Existing List
      • Sharing your lists
      • Using Actor Sets
  • Reference Material
    • Glossary
    • API
      • Using Your API Key
      • Query String Parameters
        • Text Search Parameters
        • Engagement Filters
        • Pagination
        • Post Type And Platform
        • Time Filters
        • Language Code
        • Channel Properties
        • Exclude
        • Lists
    • Best Practices
      • Fact Checking
        • Verification Resources
        • How to Verify Online Information
      • How to Find Misinformation Online
      • social media post
      • Instagram via CrowdTangle
      • Protect Your Mental Well Being
    • User Account Admin
      • Update Your User Profile Details
      • Update Your Security Settings
Powered by GitBook
On this page
  1. Reference Material
  2. API
  3. Query String Parameters

Post Type And Platform

The following API entry points provide the ability to search for records based on the type of post and the platform on which it it was published:

  • GET /posts

  • GET /posts/stats

With each of these endpoints, the following parameters allow filtering based on the types of posts and platforms:

  • post_type – a list of types from among the following options

    • video

    • photo

    • link

    • status

    • document

    • audio

    • podcast

  • platform_names – a list of platforms from among the following options

    • Bitchute

    • Facebook

    • GETTR

    • Gab

    • Instagram

    • OK

    • Parler

    • Podcast

    • Rumble

    • Telegram

    • TikTok

    • TruthSocial

    • Twitter

    • VK

    • YouTube

Each of these is considered an array parameter which allows multiple options to be added to a list in the same request.

The syntax for using these parameters involves appending empty square braces to the parameter before assigning it to one of the desired options. This can be repeated for multiple options. In the following example, only posts containing videos or photos are included in the list.

  • GET /posts?post_type[]=video&post_type[]=photo

Note that when either of these parameters is completely omitted, it is implied that all possible options are included. For example, the following two requests have the same effect:

  • GET /posts?post_type[]=video&post_type[]=photo&post_type[]=link&post_type[]=status

  • GET /posts

PreviousPaginationNextTime Filters

Last updated 1 year ago