List all changelogs
client.changelogs.list(ChangelogListParams { id, categories, cursor, 9 more } params?, RequestOptionsoptions?): CursorPage<Changelog { id, allowedSegmentIds, availableLocales, 21 more } >
GET/v2/changelogs
Returns all changelogs for the authenticated organization.
Changelogs are release notes and updates that keep users informed about new features, improvements, and bug fixes. Each changelog can have:
- Multiple translations (locales)
- Categories for organization
- Featured images
- Scheduled publishing
Pagination
This endpoint uses cursor-based pagination:
limit- Number of changelogs to return (1-100, default 10)cursor- Opaque cursor from a previous response’snextCursorfield
Example: To paginate through results:
- First request:
GET /v2/changelogs?limit=10 - If
nextCursoris not null, use it for the next page - Next request:
GET /v2/changelogs?limit=10&cursor={nextCursor}
Response Format
Returns a list object with:
object- Always “list”data- Array of changelog objectsnextCursor- Cursor for the next page (null if no more results)
Filtering
Filter changelogs using query parameters:
id- Find a specific changelog by ID or slugq- Search query for title/contentcategories- Filter by category nameslocale- Get changelogs in a specific locale (defaults to org default)state- Filter by state:live,draft, orallstartDate- Include changelogs dated on or after this dateendDate- Include changelogs dated on or before this date
Sorting
Results are sorted by date (descending by default):
sortBy- Field to sort by (currently onlydate)sortOrder- Sort direction:ascordesc(default:desc)
List all changelogs
import Featurebase from 'featurebase-node';
const client = new Featurebase({
apiKey: process.env['FEATUREBASE_API_KEY'], // This is the default and can be omitted
});
// Automatically fetches more pages as needed.
for await (const changelog of client.changelogs.list()) {
console.log(changelog.id);
}{
"data": [
{
"id": "6457e3ff70afca5d8c27dccc",
"allowedSegmentIds": [
"string"
],
"availableLocales": [
"en",
"de",
"fr"
],
"categories": [
{
"id": "6438a1efda3640f8feb72121",
"name": "New Features",
"roles": [
"string"
]
}
],
"commentCount": 2,
"content": "<p>Your changelog content in HTML format.</p>",
"createdAt": "2023-12-12T00:00:00.000Z",
"date": "2023-05-07T12:59:59.000Z",
"emailSentToSubscribers": true,
"featuredImage": "https://cdn.example.com/images/feature.png",
"isDraftDiffersFromLive": false,
"isPublished": true,
"locale": "en",
"markdownContent": "Your changelog content in markdown format.",
"notifications": {
"foo": {
"scheduledDate": "2024-01-15T12:00:00.000Z",
"emailSent": true,
"hideFromBoardAndWidgets": false,
"sendEmailNotification": true
}
},
"object": "changelog",
"organization": "myorg",
"publishedLocales": [
"en",
"de"
],
"slug": "your-awesome-changelog",
"slugs": {
"en": "your-awesome-changelog",
"de": "dein-tolles-changelog"
},
"state": "live",
"title": "Your awesome changelog!",
"updatedAt": "2023-12-13T00:00:00.000Z",
"url": "https://myorg.featurebase.app/en/changelog/your-awesome-changelog"
}
],
"nextCursor": "eyJpZCI6IjUwN2YxZjc3YmNmODZjZDc5OTQzOTAxMSJ9",
"object": "list",
"pagination": {
"limit": 10,
"page": 1,
"total": 42,
"totalPages": 5
}
}Returns Examples
{
"data": [
{
"id": "6457e3ff70afca5d8c27dccc",
"allowedSegmentIds": [
"string"
],
"availableLocales": [
"en",
"de",
"fr"
],
"categories": [
{
"id": "6438a1efda3640f8feb72121",
"name": "New Features",
"roles": [
"string"
]
}
],
"commentCount": 2,
"content": "<p>Your changelog content in HTML format.</p>",
"createdAt": "2023-12-12T00:00:00.000Z",
"date": "2023-05-07T12:59:59.000Z",
"emailSentToSubscribers": true,
"featuredImage": "https://cdn.example.com/images/feature.png",
"isDraftDiffersFromLive": false,
"isPublished": true,
"locale": "en",
"markdownContent": "Your changelog content in markdown format.",
"notifications": {
"foo": {
"scheduledDate": "2024-01-15T12:00:00.000Z",
"emailSent": true,
"hideFromBoardAndWidgets": false,
"sendEmailNotification": true
}
},
"object": "changelog",
"organization": "myorg",
"publishedLocales": [
"en",
"de"
],
"slug": "your-awesome-changelog",
"slugs": {
"en": "your-awesome-changelog",
"de": "dein-tolles-changelog"
},
"state": "live",
"title": "Your awesome changelog!",
"updatedAt": "2023-12-13T00:00:00.000Z",
"url": "https://myorg.featurebase.app/en/changelog/your-awesome-changelog"
}
],
"nextCursor": "eyJpZCI6IjUwN2YxZjc3YmNmODZjZDc5OTQzOTAxMSJ9",
"object": "list",
"pagination": {
"limit": 10,
"page": 1,
"total": 42,
"totalPages": 5
}
}