Application

List applications

ListApps retrieves a list of applications.

Securityx-api-key
Request
Request Body schema: application/json
required
accountIdentifier
string

Account Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

searchTerm
string
pageSize
integer <int32>
pageIndex
integer <int32>
filter
object

Filters for Application. Eg. "app.status.sync.status": "Synced" or "app.status.sync.status": { "$in": ["Synced", "NotSynced"]

sortBy
string (ApplicationQueryApplicationSortByOptions)
Default: "SORT_BY_NOT_SET"
Enum: "SORT_BY_NOT_SET" "NAME" "GITOPS_AGENT" "SOURCE" "DESTINATION"
sortOrder
string (v1SortOrderOptions)
Default: "SORT_ORDER_NOT_SET"
Enum: "SORT_ORDER_NOT_SET" "ASC" "DESC"
metadataOnly
boolean
fields
Array of strings
Responses
200

A successful response.

default

An unexpected error response.

post/gitops/api/v1/applications
Request samples
application/json
{
  • "accountIdentifier": "string",
  • "projectIdentifier": "string",
  • "orgIdentifier": "string",
  • "searchTerm": "string",
  • "pageSize": 0,
  • "pageIndex": 0,
  • "filter": { },
  • "sortBy": "SORT_BY_NOT_SET",
  • "sortOrder": "SORT_ORDER_NOT_SET",
  • "metadataOnly": true,
  • "fields": [
    ]
}
Response samples
application/json
{
  • "content": [
    ],
  • "totalPages": 0,
  • "totalItems": 0,
  • "pageItemCount": 0,
  • "pageSize": 0,
  • "pageIndex": 0,
  • "empty": true
}