SciCatProject / SciCatProject/backend

Add PATCH for runtime config

Open
#2,634 0 comments 1 reaction 2 assignees View on GitHub

@Junjiequan is already working on this.

Since Mar 25, 2026.

enhancement
Dominant language
TypeScript
Stars
27
Forks
37
Avg merge
17h 32m
Merged PRs (30d)
38

Description

Summary

Implement PATCH on the /runtime-config endpoint. It should accept application/merge-patch+json.

Current Behaviour

Currently only PUT is implemented, making it hard to change a single variable.

Expected Behaviour

One useful example would be setting a banner automatically with a request like

curl -X 'PATCH' \
  'http://backend.localhost/api/v3/runtime-config/frontendConfig' \
  -H "Authorization: Bearer $SCICAT_TOKEN" \
  -H 'Content-Type: application/merge-patch+json' \
  -d '{
  "statusBannerMessage": "There will be a downtime",
  "statusBannerCode": "INFO"
}'

Details

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.