Skip to main content

Retrieve GitOps logs. API key must have the `View GitOps logs` permission.

GET 

/api/v1/gitops-logs

Retrieve GitOps logs. API key must have the View GitOps logs permission.

Request

Query Parameters

    file string

    File name the within repository

    repository string

    Repository name as defined in your Git provider

    sha string

    Commit SHA

    errorOnly boolean

    Filter by error only

    operation string

    Possible values: [CREATED, UPDATED, ARCHIVED, NO_CHANGE]

    Filter by operation

    page int32required

    Default value: 0

    Page number to return, 0-indexed. Default 0.

    pageSize int32required

    Default value: 250

    Number of results to return per page, between 1 and 1000. Default 250.

    fileName string

Responses

Retrieve GitOps logs based on given criteria

Schema

    logs

    object[]

    required

  • Array [

  • commit stringrequired
    dateCreated date-timerequired

    files

    object[]

    required

  • Array [

  • entity

    object

    name stringrequired
    operation stringrequired

    Possible values: [CREATED, UPDATED, ARCHIVED, NO_CHANGE]

    tag stringrequired
    type stringrequired

    error

    object

    errorType stringrequired
    message stringrequired
    fileName stringrequired
    isPackageFile booleanrequired

    scorecard

    object

    name stringrequired
    operation stringrequired

    Possible values: [CREATED, UPDATED, ARCHIVED, NO_CHANGE]

    tag stringrequired
  • ]

  • repository

    object

    required

    provider stringrequired

    Possible values: [AZURE_DEVOPS, BITBUCKET, GITHUB, GITLAB]

    Name of the Git provider

    repositoryName stringrequired

    Repository name as defined in your Git provider

  • ]

  • page int32required

    Current page number, 0-indexed

    total int32required

    Total number of results

    totalPages int32required

    Total number of pages

Loading...