Skip to content

get ready for new otindex add / update / remove study methods #205

@kcranston

Description

@kcranston

In preparation for otindex vs oti, need to modify how we call methods for updating studies. Specifically this code for updating and this code for deleting have hard-coded oti functions. Two options:

  1. Modify the phylesystem-api code to call the new otindex functions, and merge / deploy at the same time as otindex
  2. Add some config setting that specifies oti or otindex, and then an if statement that calls the appropriate code depending on the index being used

The new functions are v3/studies/add_update and v3/studies/remove and they take either a list of raw github links (same as oti), or simply a list of study ids (shorter!).

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