aboutsummaryrefslogtreecommitdiffstats
path: root/proposals/20211012_v04_schema_tweaks.md
blob: 15ca489ebce0df610689b87daa57a485c078b701 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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`