SciCatProject / SciCatProject/backend
Add PATCH for runtime config
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.