Hiya David Did you look at https://api.gocd.org/19.1.0/#get-pipeline-instance ?
You need *GET /go/api/pipelines/:pipeline_name/instance/:pipeline_counter *to get an instance of a pipeline run - that should work? -Chad On Mon, Feb 12, 2024 at 8:46 PM David DOS SANTOS <david.dosan...@gmail.com> wrote: > Hello, > > I'm running an old version of GoCd Server (19.1.0), which I cannot upgrade > for the moment. > For the first time in years, I need to get specific info from pipelines, > so I'm playing with GoCD API, and i really appreciate the documentation on > this. > > So far, I tried with success the "pipeline history" endpoint : > *GET /go/api/pipelines/:pipeline_name/history * > > But when I need to get info on a specific instance : > *GET /go/api/pipelines/:pipeline_name/:pipeline_counter* > > I have the following error message: > { > "message": "The resource you requested was not found!" > } > > I tried various indexes/counters numbers, which I know are correct, but I > always get the same message. > I also tried to suffix whith the stagename and stage_counter, but the > error remains. > > I checked on web, but ressources are really low on this great DevOps tool. > > Thanks for you help. > > > > -- > You received this message because you are subscribed to the Google Groups > "go-cd" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to go-cd+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/go-cd/07072bb1-208b-4d19-b154-fe1c262a524dn%40googlegroups.com > <https://groups.google.com/d/msgid/go-cd/07072bb1-208b-4d19-b154-fe1c262a524dn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/CAA1RwH-vnkdPc9Bp%2BZYLNWcMZLszY1Y7et63vnWmitRaOyhhZA%40mail.gmail.com.