unison icon indicating copy to clipboard operation
unison copied to clipboard

Codebase Server API: Include metadata in `/getDefinition`

Open hojberg opened this issue 3 years ago • 2 comments

Extend the /getDefinition codebase server API with metadata like author, license and data.

Completing this ticket will support this UI ticket: https://github.com/unisonweb/ui-core/issues/24

Suggested response

To the already existing /getDefinition API, add a metadata field with the following shape:

type Metadata {
  authors: List Author,
  copyrightHolders: List CopyrightHolder,
  licenses: List License
  createdAt: String, -- ISO 8601 formatted date time 
  updatedAt: String -- ISO 8601 formatted date time
}

❗This is dependent on https://github.com/unisonweb/unison/issues/2205

hojberg avatar Jul 02 '21 21:07 hojberg

Revisit this after finalizing a design.

pchiusano avatar Jul 12 '21 17:07 pchiusano

Moved the design and JSON serialization specifics into its own ticket since it's needed for several other tickets: https://github.com/unisonweb/unison/issues/2205

Adjusted the RICE score accordingly

hojberg avatar Jul 12 '21 19:07 hojberg

#wontfix

mitchellwrosen avatar Jan 05 '24 21:01 mitchellwrosen