Skip to content

Exportfiles currently returns an array object OR a boolean #53

@chambbj

Description

@chambbj

Not sure the history behind why exportfiles may return a boolean instead of an array of objects. This isn't valid in OAS 3.0. I'm guessing the boolean result is returned with some set of parameters meant to return a slimmed down, faster response.

Options include:

  • always returning the exportfiles information (no boolean), perhaps with performance enhancement to speed up the response
  • returning the boolean separately, e.g., has_exportfiles or number_of_exportfiles (# > 0 indicates true)
  • always return array of exportfile pks which can be queried separately through a new endpoint (this is big shift back towards the original API design in which we made many RESTful requests)

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