Skip to content

🩹 [Patch]: Add a webhook delivery class and form its outputs to be table #224

@MariusStorhaug

Description

@MariusStorhaug

Describe the change

Add a webhook delivery object and form its outputs to be table.

[pscustomobject]@{
        Success        = ([string]$_.status_code).StartsWith('2')
        StatusCode     = $_.status_code
        Status         = $_.status
        ID             = $_.id
        GUID           = $_.guid
        Date           = $_.delivered_at
        Duration       = $_.duration
        Redelivery     = $_.redelivery
        Event          = $_.event
        Action         = $_.action
        InstallationID = $_.installation_id
        RepositoryID   = $_.repository_id
        URL            = $_.url
        ThrottledAt    = $_.throttled_at
        Request        = $_.request
        Response       = $_.response
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions