instruction: Explain the GET /projects/:id/jobs Attribute Type Required Description id integer or string Yes ID or URL-encode... in gitlab_api
output: GET /projects/:id/jobs Attribute Type Required Description id integer or string Yes ID or URL-encoded path of the project. scope string, or array of strings No Scope of jobs to show. Either one of or an array of job status values . All jobs are returned if scope is not provided. order_by string No Return jobs ordered by id . sort string No Return jobs sorted in asc or desc order. Default is desc . curl --globoff \ --header &#34;PRIVATE-TOKEN: &lt;your_access_token&gt;&#34; \ --url &#34;https://gitlab.example.com/api/v4/projects/1/jobs?scope[]=pending&amp;scope[]=running&#34; Example of response: [ { &#34;commit&#34; : { &#34;author_email&#34; : &#34;admin@example.com&#34; , &#34;author_name&#34; : &#34;Administrator&#34; , &#34;created_at&#34; : &#34;2015-12-24T16:51:14.000+01:00&#34; , &#34;id&#34; : &#34;0ff3ae198f8601a285adcf5c0fff204ee6fba5fd&#34; , &#34;message&#34; : &#34;Test the CI integration.&#34; , &#34;short_id&#34; : &#34;0ff3ae19&#34; , &#34;title&#34; : &#34;Test the CI integration.&#34; }, &#34;coverage&#34; : null , &#34;archived&#34; : false , &#34;source&#34; : &#34;push&#34; , &#34;allow_failure&#34; : false , &#34;created_at&#34; : &#34;2015-12-24T15:51:21.802Z&#34; , &#34;started_at&#34; : &#34;2015-12-24T17:54:27.722Z&#34; , &#34;finished_at&#34; : &#34;2015-12-24T17:54:27.895Z&#34; , &#34;erased_at&#34; : null , &#34;duration&#34; : 0.173 , &#34;queued_duration&#34; : 0.010 , &#34;artifacts_file&#34; : { &#34;filename&#34; : &#34;artifacts.zip&#34; , &#34;size&#34; : 1000 }, &#34;artifacts&#34; : [ { &#34;file_type&#34; : &#34;archive&#34; , &#34;size&#34; : 1000 , &#34;filename&#34; : &#34;artifacts.zip&#34; , &#34;file_format&#34; : &#34;zip&#34; }, { &#34;file_type&#34; : &#34;metadata&#34; , &#34;size&#34; : 186 , &#34;filename&#34; : &#34;metadata.gz&#34; , &#34;file_format&#34; : &#34;gzip&#34; }, { &#34;file_type&#34; : &#34;trace&#34; , &#34;size&#34; : 1500 , &#34;filename&#34; : &#34;job.log&#34; , &#34;file_format&#34; : &#34;raw&#34; }, { &#34;file_type&#34; : &#34;junit&#34; , &#34;size&#34; : 750 , &#34;filename&#34; : &#34;junit.xml.gz&#34; , &#34;file_format&#34; : &#34;gzip&#34; } ], &#34;artifacts_expire_at&#34; : &#34;2016-01-23T17:54:27.895Z&#34; , &#34;tag_list&#34; : [ &#34;docker runner&#34; , &#34;ubuntu18&#34; ], &#34;id&#34; : 7 , &#34;name&#34; : &#34;teaspoon&#34; , &#34;pipeline&#34; : { &#34;id&#34; : 6 , &#34;project_id&#34; : 1 , &#34;ref&#34; : &#34;main&#34; , &#34;sha&#34; : &#34;0ff3ae198f8601a285adcf5c0fff204ee6fba5fd&#34; , &#34;status&#34; : &#34;pending&#34; }, &#34;ref&#34; : &#34;main&#34; , &#34;runner&#34; : { &#34;id&#34; : 32 , &#34;description&#34; : &#34;&#34; , &#34;ip_address&#34; : null , &#34;active&#34; : true , &#34;paused&#34; : false , &#34;is_shared&#34; : true , &#34;runner_type&#34; : &#34;instance_type&#34; , &#34;name&#34; : null , &#34;online&#34; : false , &#34;status&#34; : &#34;offline&#34; }, &#34;runner_manager&#34; : { &#34;id&#34; : 1 , &#34;system_id&#34; : &#34;s_89e5e9956577&#34; , &#34;version&#34; : &#34;16.11.1&#34; , &#34;revision&#34; : &#34;535ced5f&#34; , &#34;platform&#34; : &#34;linux&#34; , &#34;architecture&#34; : &#34;amd64&#34; , &#34;created_at&#34; : &#34;2024-05-01T10:12:02.507Z&#34; , &#34;contacted_at&#34; : &#34;2024-05-07T06:30:09.355Z&#34; , &#34;ip_address&#34; : &#34;127.0.0.1&#34; , &#34;status&#34; : &#34;offline&#34; }, &#34;stage&#34; : &#34;test&#34; , &#34;status&#34; : &#34;failed&#34; , &#34;failure_reason&#34; : &#34;script_failure&#34; , &#34;tag&#34; : false , &#34;web_url&#34; : &#34;https://example.com/foo/bar/-/jobs/7&#34; , &#34;project&#34; : { &#34;ci_job_token_scope_enabled&#34; : false }, &#34;user&#34; : { &#34;id&#34; : 1 , &#34;name&#34; : &#34;Administrator&#34; , &#34;username&#34; : &#34;root&#34; , &#34;state&#34; : &#34;active&#34; , &#34;avatar_url&#34; : &#34;http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&amp;d=identicon&#34; , &#34;web_url&#34; : &#34;http://gitlab.dev/root&#34; , &#34;created_at&#34; : &#34;2015-12-21T13:14:24.077Z&#34; , &#34;bio&#34; : null , &#34;location&#34; : null , &#34;public_email&#34; : &#34;&#34; , &#34;linkedin&#34; : &#34;&#34; , &#34;twitter&#34; : &#34;&#34; , &#34;website_url&#34; : &#34;&#34; , &#34;organization&#34; : &#34;&#34; } }, { &#34;commit&#34; : { &#34;author_email&#34; : &#34;admin@example.com&#34; , &#34;author_name&#34; : &#34;Administrator&#34; , &#34;created_at&#34; : &#34;2015-12-24T16:51:14.000+01:00&#34; , &#34;id&#34; : &#34;0ff3ae198f8601a285adcf5c0fff204ee6fba5fd&#34; , &#34;message&#34; : &#34;Test the CI integration.&#34; , &#34;short_id&#34; : &#34;0ff3ae19&#34; , &#34;title&#34; : &#34;Test the CI integration.&#34; }, &#34;coverage&#34; : null , &#34;archived&#34; : false , &#34;source&#34; : &#34;push&#34; , &#34;allow_failure&#34; : false , &#34;created_at&#34; : &#34;2015-12-24T15:51:21.727Z&#34; , &#34;started_at&#34; : &#34;2015-12-24T17:54:24.729Z&#34; , &#34;finished_at&#34; : &#34;2015-12-24T17:54:24.921Z&#34; , &#34;erased_at&#34; : null , &#34;duration&#34; : 0.192 , &#34;queued_duration&#34; : 0.023 , &#34;artifacts_expire_at&#34; : &#34;2016-01-23T17:54:24.921Z&#34; , &#34;tag_list&#34; : [ &#34;docker runner&#34; , &#34;win10-2004&#34; ], &#34;id&#34; : 6 , &#34;name&#34; : &#34;rspec:other&#34; , &#34;pipeline&#34; : { &#34;id&#34; : 6 , &#34;project_id&#34; : 1 , &#34;ref&#34; : &#34;main&#34; , &#34;sha&#34; : &#34;0ff3ae198f8601a285adcf5c0fff204ee6fba5fd&#34; , &#34;status&#34; : &#34;pending&#34; }, &#34;ref&#34; : &#34;main&#34; , &#34;artifacts&#34; : [], &#34;runner&#34; : null , &#34;runner_manager&#34; : null , &#34;stage&#34; : &#34;test&#34; , &#34;status&#34; : &#34;failed&#34; , &#34;failure_reason&#34; : &#34;stuck_or_timeout_failure&#34; , &#34;tag&#34; : false , &#34;web_url&#34; : &#34;https://example.com/foo/bar/-/jobs/6&#34; , &#34;project&#34; : { &#34;ci_job_token_scope_enabled&#34; : false }, &#34;user&#34; : { &#34;id&#34; : 1 , &#34;name&#34; : &#34;Administrator&#34; , &#34;username&#34; : &#34;root&#34; , &#34;state&#34; : &#34;active&#34; , &#34;avatar_url&#34; : &#34;http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&amp;d=identicon&#34; , &#34;web_url&#34; : &#34;http://gitlab.dev/root&#34; , &#34;created_at&#34; : &#34;2015-12-21T13:14:24.077Z&#34; , &#34;bio&#34; : null , &#34;location&#34; : null , &#34;public_email&#34; : &#34;&#34; , &#34;linkedin&#34; : &#34;&#34; , &#34;twitter&#34; : &#34;&#34; , &#34;website_url&#34; : &#34;&#34; , &#34;organization&#34; : &#34;&#34; } } ] Job status values The status field in job responses and the scope parameter for filtering jobs use the following values: canceled : Job was manually canceled or automatically aborted. canceling : Job is being canceled but after_script is running. created : Job has been created but not yet processed. failed : Job execution failed. manual : Job requires manual action to start. pending : Job is in the queue waiting for a runner. preparing : Runner is preparing the execution environment. running : Job is executing on a runner. scheduled : Job has been scheduled but execution hasn&rsquo;t started. skipped : Job was skipped due to conditions or dependencies. success : Job completed successfully. waiting_for_resource : Job is waiting for resources to become available. List pipeline jobs