Skip to main content

Retrieve GitOps logs

GET 

/api/v1/gitops-logs

Retrieve GitOps logs

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

    Page number to return, 0 indexed.

    pageSize int32required

    Default value: 50

    Number of results to return per page.

    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 objectrequired
    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

    totalPages int32required

    Total number of pages

Loading...