Create, update, and delete changelog posts using the ChangeCrab API.
Create, update, and delete changelog posts (entries) using the ChangeCrab API. Automate your changelog updates and integrate with CI/CD pipelines.
POST /api/changelogs/{id}/posts
{
"summary": "New Feature Release",
"markdown": "# New Feature\n\nDescription here",
"public": 1,
"draft": 0,
"team": 1,
"categories": [1, 2]
}
PUT /api/changelogs/{id}/posts/{postId}
{
"summary": "Updated Title",
"markdown": "# Updated Content",
"public": 1
}
DELETE /api/changelogs/{id}/posts/{postId}
GET /api/changelogs/{id}/posts
// Create post
fetch('https://changecrab.com/api/changelogs/{id}/posts', {
method: 'POST',
headers: {
'X-API-Key': 'your-api-key',
'Content-Type': 'application/json'
},
body: JSON.stringify({
summary: 'New Feature',
markdown: '# Feature\n\nDescription',
public: 1,
team: 1
})
});