cURL
curl --request POST \ --url http://localhost:3001/api/v1/proposals \ --header 'Content-Type: application/json' \ --cookie nut-session= \ --data ' { "title": "<string>", "intent": "<string>", "description": "<string>", "priority": "medium", "tags": [ "<string>" ], "author": { "type": "user", "id": "<string>", "name": "<string>" } } '
{ "success": true, "data": { "proposal": { "id": "<string>", "title": "<string>", "status": "draft", "intent": "<string>", "description": "<string>", "priority": "low", "tags": [ "<string>" ], "author": { "type": "user", "id": "<string>", "name": "<string>" }, "changes": [ { "path": "<string>", "type": "create", "content": "<string>", "oldPath": "<string>" } ], "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } } }
Create a new change proposal
Session cookie authentication
Proposal title/summary
Proposal title (deprecated, use 'title' instead)
Detailed description
low
medium
high
critical
Show child attributes
Proposal created