aboutsummaryrefslogtreecommitdiffstats
path: root/proposals/20211012_v04_schema_tweaks.md
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-10-12 16:42:06 -0700
committerBryan Newbold <bnewbold@robocracy.org>2021-10-13 16:21:30 -0700
commit249c6131621b9cdd83e98421cbd4f885c30abadb (patch)
treef45eaa767db8f3b2b8c1a381ef2c09a9d06e073f /proposals/20211012_v04_schema_tweaks.md
parentdb5db1a70e75b860c7e29058c1a2ad1e35ce51b0 (diff)
downloadfatcat-249c6131621b9cdd83e98421cbd4f885c30abadb.tar.gz
fatcat-249c6131621b9cdd83e98421cbd4f885c30abadb.zip
update proposals for v0.4 and (hypothetical) v0.5
Diffstat (limited to 'proposals/20211012_v04_schema_tweaks.md')
-rw-r--r--proposals/20211012_v04_schema_tweaks.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/proposals/20211012_v04_schema_tweaks.md b/proposals/20211012_v04_schema_tweaks.md
new file mode 100644
index 00000000..15ca489e
--- /dev/null
+++ b/proposals/20211012_v04_schema_tweaks.md
@@ -0,0 +1,30 @@
+
+Status: implemented
+
+## Schema Changes for v0.4
+
+Small SQL and API changes. Calling these a minor-level API version increment.
+
+API Schema Changes:
+
+- release `ext_ids`: `hdl` (handle) identifier
+- fileset: `mimetype` for manifest files as a field. This is a SQL schema change as well.
+- container: `issne` and `issnp` as top-level fields, indexed for lookup. SQL
+ schema change.
+- container: `publication_status` as a top-level field, to indicate "active",
+ "discontinued", etc. SQL schema change.
+
+API Endpoints:
+
+- `GET /editor/lookup`: editor lookup by username
+
+Elasticsearch Schemas:
+
+- release: 'hdl' identifier
+- release: `container_publication_status` and `container_issns`
+- release: add missing `version` field (not related to any API change)
+- release: add `tags` for future extensibility
+- release: `is_work_alias` boolean flag for unversioned releases which point
+ to the overall work, or the latest published version of the work. Included
+ from field with the same name in release `extra`.
+- container: `publication_status`