No name property in the project/:id/pipelines API call

When I use the Rest Api call /api/v4/projects/*/pipelines/ I do not get the pipeline property: name. The results I get are the following:

{
“id”: *,
“iid”: ,
“project_id”: ,
“sha”: "
",
“ref”: “master”,
“status”: “success”,
“source”: “schedule”,
“created_at”: “2023-09-06T09:43:09.584+02:00”,
“updated_at”: “2023-09-06T09:55:18.935+02:00”,
“web_url”: "
"
},

I would expected receiving the following results:

{
“id”: 47,
“iid”: 12,
“project_id”: 1,
“status”: “pending”,
“source”: “push”,
“ref”: “new-pipeline”,
“sha”: “a91957a858320c0e17f3a0eca7cfacbff50ea29a”,
“name”: “Build pipeline”,
“web_url”: “https://example.com/foo/bar/pipelines/47”,
“created_at”: “2016-08-11T11:28:34.085Z”,
“updated_at”: “2016-08-11T11:32:35.169Z”
},

I expect a name property as described in the Rest API documentation.
I am using Gitlab self-managed on version GitLab Enterprise Edition v16.2.5-ee

Is there any option to activate?
Thanks for your support.

Hi,

property name in response is available since 16.3. If you want to use it in older versions (since 15.11) you need to enable a feature flag. It’s described in docs

Hi @balonik ,
thanks for the information. Seems like did not read the instructions properly :slight_smile: