Parodia
  • Communities
  • Multi-communities
  • Support Lemmy
  • Search
  • Login
  • Sign Up
PieFed API & mobile app dev@piefed.socialbyRimu@piefed.social
9 months

Search endpoint now has a 'Relevance' sort

English

GET /api/alpha/search now uses the same full-text search engine as the web UI so you can sort results by relevance. e.g.

https://piefed.crust.social/api/alpha/search?q=test&type_=Posts&sort=Relevance

Also if the q parameter has a value then read posts are included in the results regardless of what the user’s setting is for hiding read posts. That is to avoid this problem: https://piefed.social/c/lemmyconnect/p/1502152/is-there-any-way-to-include-read-posts-in-search-results

0
    You must log in or register to comment.

    PieFed API & mobile app dev@piefed.social

    piefed_api@piefed.social

    Subscribe from remote instance

    Create post

    Report community

    Modlog
    You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !piefed_api@piefed.social

    Announcements and discussions about the PieFed API - changes, improvements and general co-ordination between the frontend developers and the core of PieFed.

    • stable docs (currently 1.2.x branch)
      • stable swagger
    • development docs
      • crust swagger
      • wjs018 swagger
    Visibility: Public

    This community is visible to everyone.

    • 0 users / Day
    • 0 users / Week
    • 2 users / Month
    • 2 users / 6 months
    • 10 posts
    • 0 comments
    • 0 local subscribers
    • 194 subscribers
    • Mods:
    • Rimu@piefed.social
    • BE: 1.0.0-beta.1
    • Modlog
    • Legal
    • Instances
    • Docs
    • Code
    • join-lemmy.org