Labels (legacy)
This API is deprecated and will be discontinued soon. Click here to check our new API docs.
Changelogfy provides an API to you to interact with your changelogs.
Get labels:
curl --request GET \
--url https://changelogfy.com/api/projects/{YOUR_APP_ID}/changelog-labels?page=1 \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
This method will get changelog labels from your project with pagination, 20 labels per page.
{
"current_page": 1,
"data": [
{
"id": 1,
"name": "Improvement",
"color": "#7300FF",
"order": 1,
"project_id": 1,
"created_at": "2021-11-13T01:09:26.000000Z",
"updated_at": "2021-11-13T01:09:26.000000Z",
"deleted_at": null,
"primary_color": "rgba(115,0,255,1.00)",
"secondary_color": "rgba(115,0,255,0.12)"
},
{
"id": 2,
"name": "Fix",
"color": "#FF1197",
"order": 2,
"project_id": 1,
"created_at": "2021-11-13T01:09:26.000000Z",
"updated_at": "2021-11-13T01:09:26.000000Z",
"deleted_at": null,
"primary_color": "rgba(255,17,151,1.00)",
"secondary_color": "rgba(255,17,151,0.12)"
},
{
"id": 3,
"name": "New",
"color": "#32AD03",
"order": 0,
"project_id": 1,
"created_at": "2021-11-13T01:09:26.000000Z",
"updated_at": "2021-11-13T01:09:26.000000Z",
"deleted_at": null,
"primary_color": "rgba(50,173,3,1.00)",
"secondary_color": "rgba(50,173,3,0.12)"
}
],
"first_page_url": "http://localhost:8000/api/projects/f080c7b8-8dff-438e-9dee-997449cc72ce/changelog-labels?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://localhost:8000/api/projects/f080c7b8-8dff-438e-9dee-997449cc72ce/changelog-labels?page=1",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "http://localhost:8000/api/projects/f080c7b8-8dff-438e-9dee-997449cc72ce/changelog-labels?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"next_page_url": null,
"path": "http://localhost:8000/api/projects/f080c7b8-8dff-438e-9dee-997449cc72ce/changelog-labels",
"per_page": 20,
"prev_page_url": null,
"to": 3,
"total": 3
}
If you don't know your app_id, click here.
Updated on: 03/30/2022
Thank you!