Skip to content

Short links #542

@clbn

Description

@clbn

RFC

https://paper.dropbox.com/doc/FreeFeed--BS3EwdzJbYfLwRCH~ulcr~MuAQ-1CXK2nk6t4NXiKZAdy9b7

image

Checklist for the server

  • Add options for the short links to the config file
  • Add the table to the DB
  • Add code for generating short IDs when creating posts
  • Add shortId prop to Post objects in API responses
  • Update single-post API endpoint (GET /v2/posts/:postId) to accept post's short ID along with the long ID
  • Tests!
  • Update backlinks extraction
  • Write a script for backfilling short IDs (for old posts)

Next:

  • Search for backlinks should support short IDs (new endpoint?)

Checklist for the client

  • Task 1
  • Task 2
  • Task 3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions