Only include required project fields when pulling state.json via the provisioner
Open
@josephjclark is already working on this.
Since Apr 29, 2025.
bug
- Dominant language
- Elixir
- Stars
- 296
- Forks
- 86
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 50
Description
Describe the bug
At the moment, when you pull a state.json file via GET /api/provision/:id, the server will include all fields in the Project schema including concurrency, scheduled_deletion, retention_policy.
This contradicts the api for POST /api/provision/:id because it only allows the name and description only to be updated.
We should only return the fields that the user can modify in the state.json (including the id)
Contributor guide
No contributing guide indexed for this repository
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.