• Русский
  • Application

    /gitops/v1/project/{project}/applications

    get List applications in a project

    Parameters

    • Authorization (in header): string

      Given Bearer token will use this as authorization for the API

    • project (in path): string required

      project name

    • name (in path): string required

      app name

    Response

    post Create applications in a project

    Parameters

    • Authorization (in header): string

      Given Bearer token will use this as authorization for the API

    • project (in path): string required

      project name

    • name (in path): string required

      app name

    Response

    ApplicationList

    Application

    Operation

    Info

    • name: string
    • value: string

    OperationInitiator

    • automated: boolean
    • username: string

    RetryStrategy

    Backoff

    • duration: string
    • factor: integer
    • maxDuration: string

    SyncOperation

    SyncOperationResource

    • group: string
    • kind: string
    • name: string
    • namespace: string

    ApplicationSource

    ApplicationSourceDirectory

    ApplicationSourceJsonnet

    JsonnetVar

    • code: boolean
    • name: string
    • value: string

    ApplicationSourceHelm

    • apiVersions: []string
    • fileParameters: []HelmFileParameter
    • ignoreMissingValueFiles: boolean
    • kubeVersion: string
    • namespace: string
    • parameters: []HelmParameter
    • passCredentials: boolean
    • releaseName: string
    • skipCrds: boolean
    • skipSchemaValidation: boolean
    • skipTests: boolean
    • valueFiles: []string
    • values: string
    • valuesObject: string
    • version: string

    HelmFileParameter

    • name: string
    • path: string

    HelmParameter

    • forceString: boolean
    • name: string
    • value: string

    ApplicationSourceKustomize

    • apiVersions: []string
    • commonAnnotations: map[string]string
    • commonAnnotationsEnvsubst: boolean
    • commonLabels: map[string]string
    • components: []string
    • forceCommonAnnotations: boolean
    • forceCommonLabels: boolean
    • images: []string
    • kubeVersion: string
    • labelWithoutSelector: boolean
    • namePrefix: string
    • nameSuffix: string
    • namespace: string
    • patches: []KustomizePatch
    • replicas: []KustomizeReplica
    • version: string

    KustomizePatch

    KustomizeSelector

    • annotationSelector: string
    • group: string
    • kind: string
    • labelSelector: string
    • name: string
    • namespace: string
    • version: string

    KustomizeReplica

    • count: string
    • name: string

    ApplicationSourcePlugin

    EnvEntry

    • name: string
    • value: string

    ApplicationSourcePluginParameter

    OptionalArray

    • array: []string

    OptionalMap

    • map: map[string]string

    SyncStrategy

    SyncStrategyApply

    • force: boolean

    SyncStrategyHook

    • force: boolean

    ApplicationSpec

    ApplicationDestination

    • name: string
    • namespace: string
    • server: string

    ResourceIgnoreDifferences

    • group: string
    • jqPathExpressions: []string
    • jsonPointers: []string
    • kind: string
    • managedFieldsManagers: []string
    • name: string
    • namespace: string

    SourceHydrator

    DrySource

    • path: string
    • repoURL: string
    • targetRevision: string

    HydrateTo

    • targetBranch: string

    SyncSource

    • path: string
    • targetBranch: string

    SyncPolicy

    SyncPolicyAutomated

    • allowEmpty: boolean
    • prune: boolean
    • selfHeal: boolean

    ManagedNamespaceMetadata

    • annotations: map[string]string
    • labels: map[string]string

    ApplicationStatus

    ApplicationCondition

    • lastTransitionTime: string
    • message: string
    • type: string

    HealthStatus

    • lastTransitionTime: string
    • message: string
    • status: string

    RevisionHistory

    OperationState

    SyncOperationResult

    ResourceResult

    • group: string
    • hookPhase: string
    • hookType: string
    • kind: string
    • message: string
    • name: string
    • namespace: string
    • status: string
    • syncPhase: string
    • version: string

    ResourceStatus

    • group: string
    • health: HealthStatus
    • hook: boolean
    • kind: string
    • name: string
    • namespace: string
    • requiresDeletionConfirmation: boolean
    • requiresPruning: boolean
    • status: string
    • syncWave: integer
    • version: string

    SourceHydratorStatus

    HydrateOperation

    • drySHA: string
    • finishedAt: string
    • hydratedSHA: string
    • message: string
    • phase: string
    • sourceHydrator: SourceHydrator
    • startedAt: string

    SuccessfulHydrateOperation

    ApplicationSummary

    • externalURLs: []string
    • images: []string

    SyncStatus

    • comparedTo: ComparedTo
    • revision: string
    • revisions: []string
    • status: string

    ComparedTo

    ListMeta

    ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.

    • continue: string

      continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.

    • remainingItemCount: integer

      remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is estimating the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.

    • resourceVersion: string

      String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency

    • selfLink: string

      Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.

    /gitops/v1/project/{project}/applications/{name}

    get Get an application in a project

    Parameters

    • Authorization (in header): string

      Given Bearer token will use this as authorization for the API

    • project (in path): string required

      project name

    • name (in path): string required

      app name

    Response

    put Update an application in a project

    Parameters

    • Authorization (in header): string

      Given Bearer token will use this as authorization for the API

    • project (in path): string required

      project name

    • name (in path): string required

      app name

    Response

    delete Delete an application in an project

    Parameters

    • Authorization (in header): string

      Given Bearer token will use this as authorization for the API

    • project (in path): string required

      project name

    • name (in path): string required

      app name

    Response

    • 204 : success

    Application

    Operation

    Info

    • name: string
    • value: string

    OperationInitiator

    • automated: boolean
    • username: string

    RetryStrategy

    Backoff

    • duration: string
    • factor: integer
    • maxDuration: string

    SyncOperation

    SyncOperationResource

    • group: string
    • kind: string
    • name: string
    • namespace: string

    ApplicationSource

    ApplicationSourceDirectory

    ApplicationSourceJsonnet

    JsonnetVar

    • code: boolean
    • name: string
    • value: string

    ApplicationSourceHelm

    • apiVersions: []string
    • fileParameters: []HelmFileParameter
    • ignoreMissingValueFiles: boolean
    • kubeVersion: string
    • namespace: string
    • parameters: []HelmParameter
    • passCredentials: boolean
    • releaseName: string
    • skipCrds: boolean
    • skipSchemaValidation: boolean
    • skipTests: boolean
    • valueFiles: []string
    • values: string
    • valuesObject: string
    • version: string

    HelmFileParameter

    • name: string
    • path: string

    HelmParameter

    • forceString: boolean
    • name: string
    • value: string

    ApplicationSourceKustomize

    • apiVersions: []string
    • commonAnnotations: map[string]string
    • commonAnnotationsEnvsubst: boolean
    • commonLabels: map[string]string
    • components: []string
    • forceCommonAnnotations: boolean
    • forceCommonLabels: boolean
    • images: []string
    • kubeVersion: string
    • labelWithoutSelector: boolean
    • namePrefix: string
    • nameSuffix: string
    • namespace: string
    • patches: []KustomizePatch
    • replicas: []KustomizeReplica
    • version: string

    KustomizePatch

    KustomizeSelector

    • annotationSelector: string
    • group: string
    • kind: string
    • labelSelector: string
    • name: string
    • namespace: string
    • version: string

    KustomizeReplica

    • count: string
    • name: string

    ApplicationSourcePlugin

    EnvEntry

    • name: string
    • value: string

    ApplicationSourcePluginParameter

    OptionalArray

    • array: []string

    OptionalMap

    • map: map[string]string

    SyncStrategy

    SyncStrategyApply

    • force: boolean

    SyncStrategyHook

    • force: boolean

    ApplicationSpec

    ApplicationDestination

    • name: string
    • namespace: string
    • server: string

    ResourceIgnoreDifferences

    • group: string
    • jqPathExpressions: []string
    • jsonPointers: []string
    • kind: string
    • managedFieldsManagers: []string
    • name: string
    • namespace: string

    SourceHydrator

    DrySource

    • path: string
    • repoURL: string
    • targetRevision: string

    HydrateTo

    • targetBranch: string

    SyncSource

    • path: string
    • targetBranch: string

    SyncPolicy

    SyncPolicyAutomated

    • allowEmpty: boolean
    • prune: boolean
    • selfHeal: boolean

    ManagedNamespaceMetadata

    • annotations: map[string]string
    • labels: map[string]string

    ApplicationStatus

    ApplicationCondition

    • lastTransitionTime: string
    • message: string
    • type: string

    HealthStatus

    • lastTransitionTime: string
    • message: string
    • status: string

    RevisionHistory

    OperationState

    SyncOperationResult

    ResourceResult

    • group: string
    • hookPhase: string
    • hookType: string
    • kind: string
    • message: string
    • name: string
    • namespace: string
    • status: string
    • syncPhase: string
    • version: string

    ResourceStatus

    • group: string
    • health: HealthStatus
    • hook: boolean
    • kind: string
    • name: string
    • namespace: string
    • requiresDeletionConfirmation: boolean
    • requiresPruning: boolean
    • status: string
    • syncWave: integer
    • version: string

    SourceHydratorStatus

    HydrateOperation

    • drySHA: string
    • finishedAt: string
    • hydratedSHA: string
    • message: string
    • phase: string
    • sourceHydrator: SourceHydrator
    • startedAt: string

    SuccessfulHydrateOperation

    ApplicationSummary

    • externalURLs: []string
    • images: []string

    SyncStatus

    • comparedTo: ComparedTo
    • revision: string
    • revisions: []string
    • status: string

    ComparedTo

    /gitops/v1/project/{project}/applications/{name}/events

    get Query events of an applications

    Parameters

    • Authorization (in header): string

      Given Bearer token will use this as authorization for the API

    • project (in path): string required

      project name

    • name (in path): string required

      app name

    • start_time (in query): string

      start time

    • end_time (in query): string

      end time

    • reason (in query): string

      reason

    • kind (in query): string

      kind

    • name (in query): string

      name

    • event_type (in query): string

      event type

    • pageno (in query): integer

      page number

    • size (in query): size

      size

    Response

    • 200 : success

    /gitops/v1/project/{project}/applications/{name}/refresh

    post Refresh application in an project

    Parameters

    • Authorization (in header): string

      Given Bearer token will use this as authorization for the API

    • project (in path): string required

      project name

    • name (in path): string required

      app name

    Response

    • 204 : success

    /gitops/v1/project/{project}/applications/{name}/sync

    post Sync resources of application in an project

    Parameters

    • Authorization (in header): string

      Given Bearer token will use this as authorization for the API

    • project (in path): string required

      project name

    • name (in path): string required

      app name

    Response

    • 204 : success