Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

StateDraft
Discussion Thread
Voting Thread
Created

$action.dateFormatter.formatGivenString("yyyy-MM-dd", $content.getCreationDate())

Project
Authors

...

The UI REST API should be structured very similarly as just like the public REST API. It should have an OpenAPI spec from which the UI can auto-generate types and even the query functions.

We looked into having this exist inside of the existing REST API and adding a flag to UI-only endpoints to exclude from documentation. That is a bit If that proves to be too fragile as it can be easy for typos or to forget to add a tag. A separate API does the job wellthen we can have a fully separate UI. While the public REST API maintains backward compatibility, the UI REST API does not. So it would be best not to mix them up. Since both APIs will be so similar, it makes it isn't as big of a step to contribute to the public REST API. Committers should use their judgement and keep the UI-only REST API minimal.

...