Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • H hivemind
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 61
    • Issues 61
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • hive
  • hivemind
  • Issues
  • #165

Closed
Open
Created Aug 24, 2021 by Gandalf@gandalfMaintainer

[revived] Add missing field ('allow_curation_rewards' and 'allow_votes') in post/comment API response

@ABW

Those flags were never part of bridge nor condenser representation of posts (at least as far as I know, supported with .orig patterns we have from old Hivemind), they were part of database_api posts and those parts of condenser api that had dual implementation (one in old Hivemind with condenser post representation and the one that was actually used from fat node with database_api post representation - new Hivemind mimics fat node here, f.e. condenser_api.get_content).

The values of those flags seem to be available for Hivemind, however, since they are missing from bridge_api_post that is used pretty much everywhere, that enhancement requires extending most of post related queries. I assume that the impact on performance would be minuscule, but it is still a lot of changes, so I'd like to get some more opinions on the matter (=> @dan @bwrona @gandalf ).

Assignee
Assign to
Time tracking