CDRH / api

Codenamed "Apium": An API to access all public Center for Digital Research in the Humanities resources
https://cdrhdev1.unl.edu/api_frontend
MIT License
3 stars 1 forks source link

Test using nested fields to store project specific info #105

Open karindalziel opened 4 years ago

karindalziel commented 4 years ago

If dynamic subfields could be added, we could have a single "miscellaneous" field (probably need a better name) and then use that to store extra info.

For instance, for African poetics citations, we need fields like "Source Access Date, Source Archive, Source Citation"

-misc

This is perhaps not the best example but the first step is to make sure we can create dynamic subfields at all.

jduss4 commented 4 years ago

dynamic subfields can be added. i would still prefer not to get too wild with these, and to consider how other projects might be able to use the same ones (like petitioner_against_k type fields. Also, our API querying structure does not currently support nested-nested fields, for example:

miscellaneous:
  {
    citation_n:
      {
        citation_source_access_date_k: ""
      }
  }