Send pipeline event
POST {{baseUrl}}/api/v2/ci/pipeline
Send your pipeline event to your Datadog platform over HTTP. For details about how pipeline executions are modeled and what execution types we support, see Pipeline Data Model And Execution Types.
Pipeline events can be submitted with a timestamp that is up to 18 hours in the past.
Request Body
{"data"=>{"attributes"=>{"resource"=>{"level"=>"pipeline", "unique_id"=>"<string>", "name"=>"<string>", "url"=>"<string>", "start"=>"<dateTime>", "end"=>"<dateTime>", "status"=>"blocked", "partial_retry"=>"<boolean>", "error"=>{"domain"=>"user", "message"=>"<string>", "stack"=>"<string>", "type"=>"<string>"}, "git"=>{"repository_url"=>"<string>", "sha"=>"F1eAF6F4FACb026fBa99237Ef6802597dCf0B3b1", "author_email"=>"<email>", "author_name"=>"<string>", "author_time"=>"<string>", "branch"=>"<string>", "commit_time"=>"<string>", "committer_email"=>"<email>", "committer_name"=>"<string>", "default_branch"=>"<string>", "message"=>"<string>", "tag"=>"<string>"}, "is_manual"=>"<boolean>", "is_resumed"=>"<boolean>", "metrics"=>["<string>", "<string>"], "node"=>{"hostname"=>"<string>", "labels"=>["<string>", "<string>"], "name"=>"<string>", "workspace"=>"<string>"}, "parameters"=>{"veniam_3"=>"<string>", "enim_3c4"=>"<string>"}, "parent_pipeline"=>{"id"=>"<string>", "url"=>"<string>"}, "pipeline_id"=>"<string>", "previous_attempt"=>{"id"=>"<string>", "url"=>"<string>"}, "queue_time"=>"<long>", "tags"=>["<string>", "<string>"]}, "env"=>"<string>", "service"=>"<string>"}, "type"=>"cipipeline_resource_request"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |