Zededa VolumeInstanceStatus API

The VolumeInstanceStatus API from Zededa — 6 operation(s) for volumeinstancestatus.

OpenAPI Specification

zededa-volumeinstancestatus-api-openapi.yml Raw ↑
swagger: '2.0'
info:
  title: ZEDEDA App Profiles Service AppProfileService VolumeInstanceStatus API
  description: The ZEDEDA App Profiles Service is part of ZEDEDA Edge Orchestration Platform. This service enables customers to define their app profiles on ZEDEDA platform and to manage them remotely.
  termsOfService: https://www.zededa.com/terms
  version: '1.0'
  contact:
    name: ZEDEDA API Support
    url: https://www.zededa.com/support
    email: support@zededa.com
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
basePath: /api
schemes:
- https
consumes:
- application/json
produces:
- application/json
security:
- BearerToken: []
tags:
- name: VolumeInstanceStatus
paths:
  /v1/volumes/instances/id/{id}/status:
    get:
      summary: Get edge volume instance status
      description: Get the status of an edge volume instance record.
      operationId: VolumeInstanceStatus_GetVolumeInstanceStatus
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/VolInstStatusMsg'
        '401':
          description: Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        '403':
          description: Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        '404':
          description: Not Found. The API gateway did not process the request because the requested resource could not be found.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        '500':
          description: Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        '504':
          description: Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/googlerpcStatus'
      parameters:
      - name: id
        in: path
        required: true
        type: string
      - name: X-Request-Id
        in: header
        required: false
        description: User-Agent specified id to track a request
        type: string
      tags:
      - VolumeInstanceStatus
      externalDocs:
        description: ZEDEDA Product Documentation
        url: https://docs.zededa.com/-M-8m8d8KqdLpfOgY_jo/storage
  /v1/volumes/instances/id/{objid}/events:
    get:
      summary: Get edge volume instance events by id
      description: Get configuration and status events of an edge volume by id.
      operationId: VolumeInstanceStatus_GetVolumeInstanceEvents
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/EventQueryResponse'
        '401':
          description: Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        '403':
          description: Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        '404':
          description: Not Found. The API gateway did not process the request because the requested resource could not be found.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        '500':
          description: Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        '504':
          description: Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/googlerpcStatus'
      parameters:
      - name: objid
        description: Object id
        in: path
        required: true
        type: string
      - name: startTime
        description: start time in timestamp
        in: query
        required: false
        type: string
        format: date-time
      - name: endTime
        description: end time
        in: query
        required: false
        type: string
        format: date-time
      - name: severity
        description: severity
        in: query
        required: false
        type: string
      - name: resource
        description: resource
        in: query
        required: false
        type: string
      - name: next.pageToken
        description: Page Token
        in: query
        required: false
        type: string
      - name: next.orderBy
        description: OrderBy helps in sorting the list response
        in: query
        required: false
        type: array
        items:
          type: string
        collectionFormat: multi
      - name: next.pageNum
        description: Page Number
        in: query
        required: false
        type: number
        format: int64
      - name: next.pageSize
        description: Defines the page size
        in: query
        required: false
        type: number
        format: int64
      - name: next.totalPages
        description: Total number of pages to be fetched.
        in: query
        required: false
        type: number
        format: int64
      - name: X-Request-Id
        in: header
        required: false
        description: User-Agent specified id to track a request
        type: string
      tags:
      - VolumeInstanceStatus
      externalDocs:
        description: ZEDEDA Product Documentation
        url: https://docs.zededa.com/-M-8m8d8KqdLpfOgY_jo/storage
  /v1/volumes/instances/name/{name}/status:
    get:
      summary: Get edge volume instance status
      description: Get the status of an edge volume instance record.
      operationId: VolumeInstanceStatus_GetVolumeInstanceStatusByName
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/VolInstStatusMsg'
        '401':
          description: Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        '403':
          description: Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        '404':
          description: Not Found. The API gateway did not process the request because the requested resource could not be found.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        '500':
          description: Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        '504':
          description: Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/googlerpcStatus'
      parameters:
      - name: name
        in: path
        required: true
        type: string
      - name: X-Request-Id
        in: header
        required: false
        description: User-Agent specified id to track a request
        type: string
      tags:
      - VolumeInstanceStatus
      externalDocs:
        description: ZEDEDA Product Documentation
        url: https://docs.zededa.com/-M-8m8d8KqdLpfOgY_jo/storage
  /v1/volumes/instances/name/{objname}/events:
    get:
      summary: Get edge volume instance events by name
      description: Get configuration and status events of an edge volume by name.
      operationId: VolumeInstanceStatus_GetVolumeInstanceEventsByName
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/EventQueryResponse'
        '401':
          description: Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        '403':
          description: Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        '404':
          description: Not Found. The API gateway did not process the request because the requested resource could not be found.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        '500':
          description: Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        '504':
          description: Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/googlerpcStatus'
      parameters:
      - name: objname
        description: Object name
        in: path
        required: true
        type: string
      - name: startTime
        description: start time in timestamp
        in: query
        required: false
        type: string
        format: date-time
      - name: endTime
        description: end time
        in: query
        required: false
        type: string
        format: date-time
      - name: severity
        description: severity
        in: query
        required: false
        type: string
      - name: resource
        description: resource
        in: query
        required: false
        type: string
      - name: next.pageToken
        description: Page Token
        in: query
        required: false
        type: string
      - name: next.orderBy
        description: OrderBy helps in sorting the list response
        in: query
        required: false
        type: array
        items:
          type: string
        collectionFormat: multi
      - name: next.pageNum
        description: Page Number
        in: query
        required: false
        type: number
        format: int64
      - name: next.pageSize
        description: Defines the page size
        in: query
        required: false
        type: number
        format: int64
      - name: next.totalPages
        description: Total number of pages to be fetched.
        in: query
        required: false
        type: number
        format: int64
      - name: X-Request-Id
        in: header
        required: false
        description: User-Agent specified id to track a request
        type: string
      tags:
      - VolumeInstanceStatus
      externalDocs:
        description: ZEDEDA Product Documentation
        url: https://docs.zededa.com/-M-8m8d8KqdLpfOgY_jo/storage
  /v1/volumes/instances/status:
    get:
      summary: Query status of edge volume instances
      description: Query the status of edge volume instance records.
      operationId: VolumeInstanceStatus_QueryVolumeInstanceStatus
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/VolInstStatusListMsg'
        '400':
          description: Bad Request. The API gateway did not process the request because of invalid value of filter parameters.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        '401':
          description: Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        '403':
          description: Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        '500':
          description: Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        '504':
          description: Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/googlerpcStatus'
      parameters:
      - name: deviceName
        in: query
        required: false
        type: string
      - name: projectName
        in: query
        required: false
        type: string
      - name: namePattern
        in: query
        required: false
        type: string
      - name: runState
        in: query
        required: false
        type: string
        enum:
        - UNSPECIFIED
        - ONLINE
        - HALTED
        - INIT
        - REBOOTING
        - OFFLINE
        - UNKNOWN
        - UNPROVISIONED
        - PROVISIONED
        - SUSPECT
        - DOWNLOADING
        - RESTARTING
        - PURGING
        - HALTING
        - ERROR
        - VERIFYING
        - LOADING
        - CREATING_VOLUME
        - BOOTING
        - MAINTENANCE_MODE
        - START_DELAYED
        - BASEOS_UPDATING
        - PREPARING_POWEROFF
        - POWERING_OFF
        - PREPARED_POWEROFF
        default: UNSPECIFIED
      - name: type
        in: query
        required: false
        type: string
        enum:
        - UNSPECIFIED
        - EMPTYDIR
        - BLOCKSTORAGE
        - HOSTFS
        - TMPFS
        - SECRET
        - NFS
        - AWS_BLOCK_STORAGE
        - CONTENT_TREE
        default: UNSPECIFIED
      - name: imageName
        in: query
        required: false
        type: string
      - name: appInstName
        in: query
        required: false
        type: string
      - name: deviceNamePattern
        in: query
        required: false
        type: string
      - name: projectNamePattern
        in: query
        required: false
        type: string
      - name: next.pageToken
        description: Page Token
        in: query
        required: false
        type: string
      - name: next.orderBy
        description: OrderBy helps in sorting the list response
        in: query
        required: false
        type: array
        items:
          type: string
        collectionFormat: multi
      - name: next.pageNum
        description: Page Number
        in: query
        required: false
        type: number
        format: int64
      - name: next.pageSize
        description: Defines the page size
        in: query
        required: false
        type: number
        format: int64
      - name: next.totalPages
        description: Total number of pages to be fetched.
        in: query
        required: false
        type: number
        format: int64
      - name: summary
        in: query
        required: false
        type: boolean
      - name: fields
        in: query
        required: false
        type: array
        items:
          type: string
        collectionFormat: multi
      - name: X-Request-Id
        in: header
        required: false
        description: User-Agent specified id to track a request
        type: string
      tags:
      - VolumeInstanceStatus
      externalDocs:
        description: ZEDEDA Product Documentation
        url: https://docs.zededa.com/-M-8m8d8KqdLpfOgY_jo/storage
  /v1/volumes/instances/status-config:
    get:
      summary: Query status and config of edge volume instances
      description: Query the status and config of edge volume instance records.
      operationId: VolumeInstanceStatus_QueryVolumeInstanceStatusConfig
      responses:
        '200':
          description: A successful response.
          schema:
            $ref: '#/definitions/VolInstStatusListMsg'
        '400':
          description: Bad Request. The API gateway did not process the request because of invalid value of filter parameters.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        '401':
          description: Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        '403':
          description: Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        '500':
          description: Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        '504':
          description: Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
          schema:
            $ref: '#/definitions/ZsrvResponse'
        default:
          description: An unexpected error response.
          schema:
            $ref: '#/definitions/googlerpcStatus'
      parameters:
      - name: deviceName
        in: query
        required: false
        type: string
      - name: projectName
        in: query
        required: false
        type: string
      - name: namePattern
        in: query
        required: false
        type: string
      - name: runState
        in: query
        required: false
        type: string
        enum:
        - UNSPECIFIED
        - ONLINE
        - HALTED
        - INIT
        - REBOOTING
        - OFFLINE
        - UNKNOWN
        - UNPROVISIONED
        - PROVISIONED
        - SUSPECT
        - DOWNLOADING
        - RESTARTING
        - PURGING
        - HALTING
        - ERROR
        - VERIFYING
        - LOADING
        - CREATING_VOLUME
        - BOOTING
        - MAINTENANCE_MODE
        - START_DELAYED
        - BASEOS_UPDATING
        - PREPARING_POWEROFF
        - POWERING_OFF
        - PREPARED_POWEROFF
        default: UNSPECIFIED
      - name: type
        in: query
        required: false
        type: string
        enum:
        - UNSPECIFIED
        - EMPTYDIR
        - BLOCKSTORAGE
        - HOSTFS
        - TMPFS
        - SECRET
        - NFS
        - AWS_BLOCK_STORAGE
        - CONTENT_TREE
        default: UNSPECIFIED
      - name: imageName
        in: query
        required: false
        type: string
      - name: appInstName
        in: query
        required: false
        type: string
      - name: deviceNamePattern
        in: query
        required: false
        type: string
      - name: projectNamePattern
        in: query
        required: false
        type: string
      - name: next.pageToken
        description: Page Token
        in: query
        required: false
        type: string
      - name: next.orderBy
        description: OrderBy helps in sorting the list response
        in: query
        required: false
        type: array
        items:
          type: string
        collectionFormat: multi
      - name: next.pageNum
        description: Page Number
        in: query
        required: false
        type: number
        format: int64
      - name: next.pageSize
        description: Defines the page size
        in: query
        required: false
        type: number
        format: int64
      - name: next.totalPages
        description: Total number of pages to be fetched.
        in: query
        required: false
        type: number
        format: int64
      - name: summary
        in: query
        required: false
        type: boolean
      - name: fields
        in: query
        required: false
        type: array
        items:
          type: string
        collectionFormat: multi
      - name: X-Request-Id
        in: header
        required: false
        description: User-Agent specified id to track a request
        type: string
      tags:
      - VolumeInstanceStatus
      externalDocs:
        description: ZEDEDA Product Documentation
        url: https://docs.zededa.com/-M-8m8d8KqdLpfOgY_jo/storage
definitions:
  BlobInfo:
    type: object
    properties:
      sha256:
        type: string
      resource:
        $ref: '#/definitions/VolInstResource'
      usage:
        $ref: '#/definitions/DeviceObjectUsageInfo'
      State:
        $ref: '#/definitions/SWState'
      progressPercentage:
        type: integer
        format: int64
      errInfo:
        $ref: '#/definitions/DeviceError'
  ZcOpsType:
    type: string
    enum:
    - OPS_TYPE_UNSPECIFIED
    - OPS_TYPE_READ
    - OPS_TYPE_DELETE
    - OPS_TYPE_CREATE
    - OPS_TYPE_UPDATE
    - OPS_TYPE_LIST
    default: OPS_TYPE_UNSPECIFIED
    title: ZedCloud internal operation type
  VolInstResource:
    type: object
    properties:
      curSizeBytes:
        type: string
        format: uint64
      maxSizeBytes:
        type: string
        format: uint64
  Severity:
    type: string
    enum:
    - SEVERITY_UNSPECIFIED
    - SEVERITY_NOTICE
    - SEVERITY_WARNING
    - SEVERITY_ERROR
    default: SEVERITY_UNSPECIFIED
    title: Severity tells the severity type
  ObjectType:
    type: string
    enum:
    - OBJECT_TYPE_UNSPECIFIED
    - OBJECT_TYPE_USER
    - OBJECT_TYPE_EDGE_NODE
    - OBJECT_TYPE_EDGE_APP
    - OBJECT_TYPE_IMAGE
    - OBJECT_TYPE_EDGE_APP_INSTANCE
    - OBJECT_TYPE_PROJECT
    - OBJECT_TYPE_NETWORK
    - OBJECT_TYPE_DATASTORE
    - OBJECT_TYPE_SERVICE
    - OBJECT_TYPE_SERVICE_INSTANCE
    - OBJECT_TYPE_ENTERPRISE
    - OBJECT_TYPE_ROLE
    - OBJECT_TYPE_CREDENTIAL
    - OBJECT_TYPE_NETWORK_INSTANCE
    - OBJECT_TYPE_VOLUME_INSTANCE
    - OBJECT_TYPE_REALM
    - OBJECT_TYPE_AUTHPROFILE
    - OBJECT_TYPE_POLICY
    - OBJECT_TYPE_APP_POLICY
    - OBJECT_TYPE_CLUSTER_INSTANCE
    - OBJECT_TYPE_PLUGIN
    - OBJECT_TYPE_DOC_POLICY
    - OBJECT_TYPE_ORCHESTRATOR_CLUSTER
    - OBJECT_TYPE_TAGS
    - OBJECT_TYPE_EDGE_NODE_INTERFACE
    - OBJECT_TYPE_DEPLOYMENT
    - OBJECT_TYPE_ENTITLEMENTS
    - OBJECT_TYPE_DATA_STREAM
    - OBJECT_TYPE_API_USAGE
    - OBJECT_TYPE_APP_INSTANCE_SNAPSHOT
    - OBJECT_TYPE_PATCH_ENVELOPE
    - OBJECT_TYPE_RESOURCE_USAGE_TRACK
    - OBJECT_TYPE_PATCH_ENVELOPE_REFERENCE
    - OBJECT_TYPE_DEV_PASSTHROUGH
    - OBJECT_TYPE_EDGE_NODE_CLUSTER
    - OBJECT_TYPE_ASSET_GROUP
    - OBJECT_TYPE_APP_PROFILE
    - OBJECT_TYPE_PROFILE_DEPLOYMENT
    - OBJECT_TYPE_ZKS_INSTANCE
    - OBJECT_TYPE_CLUSTER_GROUP
    default: OBJECT_TYPE_UNSPECIFIED
  Summary:
    type: object
    properties:
      description:
        type: string
        description: Summary description
      total:
        type: number
        format: int64
        description: Total
      values:
        type: object
        additionalProperties:
          type: integer
          format: int64
        description: 'Values: Map for storing <string, uint32>'
    description: Summary is used to store the Summary details
    title: Summary is used to store the Summary details
  EventQueryResponseItem:
    type: object
    properties:
      user:
        type: string
        description: User name
      project:
        type: string
        description: project name
      device:
        type: string
        description: device name
      instance:
        type: string
        description: instance name
      severity:
        type: string
        description: 'severity: FIXME: should be ENUM'
      description:
        type: string
        description: Event description
      timestamp:
        type: object
        format: date-time
        description: event timestamp
      source:
        type: object
        $ref: '#/definitions/EventSource'
        description: source
      resource:
        type: string
        description: Event resources
      eventType:
        type: string
        description: Event type
      tags:
        type: array
        items:
          type: string
        description: Event tags
      resourceName:
        type: string
        description: Event resources
      jsonData:
        type: object
        description: Event resources
      clusterInstance:
        type: string
        description: clusterInstance name
    description: Event query response item payload
    title: Event query response item payload detail
  infoStorageVolumeState:
    type: string
    enum:
    - STORAGE_VOLUME_STATE_UNSPECIFIED
    - STORAGE_VOLUME_STATE_CREATING
    - STORAGE_VOLUME_STATE_ATTACHED
    - STORAGE_VOLUME_STATE_DETACHED
    - STORAGE_VOLUME_STATE_ATTACHING
    - STORAGE_VOLUME_STATE_DETACHING
    - STORAGE_VOLUME_STATE_DELETING
    default: STORAGE_VOLUME_STATE_UNSPECIFIED
    title: "StorageVolumeState is the kubernetes 'state' field of a replicated csi-driver volume.\n Refer to: https://github.com/longhorn/longhorn-manager/blob/v1.6.2/k8s/pkg/apis/longhorn/v1beta1/volume.go#L14"
  Entity:
    type: string
    enum:
    - ENTITY_UNSPECIFIED
    - ENTITY_BASE_OS
    - ENTITY_SYSTEM_ADAPTER
    - ENTITY_VAULT
    - ENTITY_ATTESTATION
    - ENTITY_APP_INSTANCE
    - ENTITY_PORT
    - ENTITY_NETWORK
    - ENTITY_NETWORK_INSTANCE
    - ENTITY_CONTENT_TREE
    - ENTITY_CONTENT_BLOB
    - ENTITY_VOLUME
    default: ENTITY_UNSPECIFIED
    description: "- ENTITY_UNSPECIFIED: Invalid Device Entity\n - ENTITY_BASE_OS: Base OS entity\n - ENTITY_SYSTEM_ADAPTER: System Adapter Entity\n - ENTITY_VAULT: Vault Entity\n - ENTITY_ATTESTATION: Attestation Entity\n - ENTITY_APP_INSTANCE: App Instance Entity\n - ENTITY_PORT: Port Entity\n - ENTITY_NETWORK: Network Entity\n - ENTITY_NETWORK_INSTANCE: Network Instance Entity\n - ENTITY_CONTENT_TREE: ContentTree Entity\n - ENTITY_CONTENT_BLOB: Blob Entity\n - ENTITY_VOLUME: VOLUME Entity"
    title: Edge node components
  VolumeInstanceReplicaStatus:
    type: object
    properties:
      nodeName:
        type: string
      rebuildProgressPercentage:
        type: integer
        format: int64
      status:
        $ref: '#/definitions/infoStorageVolumeReplicaStatus'
  DeviceError:
    type: object
    properties:
      description:
        type: string
        description: Description of the error
      severity:
        type: string
        $ref: '#/definitions/Severity'
        description: Severity of the error
      timestamp:
        type: object
        format: date-time
        description: Timestamp at which error had occurred
      entities:
        type: array
        items:
          $ref: '#/definitions/DeviceEntity'
        description: objects referenced by the description or retry_condition
      retryCondition:
        type: string
        description: condition for retry
    description: DeviceError store the error occurred at the device side
    title: DeviceError is used to store the error details of the hardware.
    required:
    - description
    - severity
    - timestamp
    - entities
  infoStorageVolumePVCStatus:
    type: string
    enum:
    - STORAGE_VOLUME_PVC_STATUS_UNSPECIFIED
    - STORAGE_VOLUME_PVC_STATUS_BOUND
    - STORAGE_VOLUME_PVC_STATUS_PENDING
    - STORAGE_VOLUME_PVC_STATUS_AVAILABLE
    - STORAGE_VOLUME_PVC_STATUS_RELEASED
    - STORAGE_VOLUME_PVC_STATUS_FAILED
    default: STORAGE_VOLUME_PVC_STATUS_UNSPECIFIED
    title: "StorageVolumePVCStatus is the kubernetes 'phase' of a PVC. Listed as status in cli.\n Refer to: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase"
  protobufAny:
    type: object
    properties:
      typeUrl:
        type: string
      value:
        type: string
        format: byte
  Cursor:
    type: object
    properties:
      pageToken:
        type: string
        description: Page Token
      orderBy:
        type: array
        items:
          type: string
        description: OrderBy helps in sorting the list response
      pageNum:
        type: number
        format: int64
        description: Page Number
      pageSize:
        type: number
        format: int64
        description: Defines the page size
      totalPages:
        type: number
        format: int64
        description: Total number of pages to be fetched.
    description: 'Cursor helps in filtering the various list response like edge-app bundle list, model list, bundle list etc. '
    title: Cursor is used as filter in list operation.
  VolumeInstanceType:
    type: string
    enum:
    - VOLUME_INSTANCE_TYPE_UNSPECIFIED
    - VOLUME_INSTANCE_TYPE_EMPTYDIR
    - VOLUME_INSTANCE_TYPE_BLOCKSTORAGE
    - VOLUME_INSTANCE_TYPE_HOSTFS
    - VOLUME_INSTANCE_TYPE_TMPFS
    - VOLUME_INSTANCE_TYPE_SECRET
    - VOLUME_INSTANCE_TYPE_NFS
    - VOLUME_INSTANCE_TYPE_AWS_BLOCK_STORAGE
    - VOLUME_INSTANCE_TYPE_CONTENT_TREE
    default: VOLUME_INSTANCE_TYPE_UNSPECIFIED
    title: VolumeInstanceType - On update, please update VolumeInstanceType_HttpRequest as well
  EventQueryResponse:
    type: object
    properties:
      list:
        type: array
        items:
          $ref: '#/definitions/EventQueryResponseItem'
        description: Event Query response list
      next:
        type: object
        $ref: '#/definitions/Cursor'
        description: Cursor filter
      summary:
        $ref: '#/definitions/Summary'
        description: Summary of filtered events.
    description: Event query response request payload
    title: Event query Response payload detail
    required:
    - list
    - next
  DeviceEntity:
    type: object
    properties:
      entity:
        $ref: '#/definitions/Entity'
      entityId:
        type: string
      entityName:
        type: string
  ZcOpsStatus:
    type: string
    enum:
    - OPS_STATUS_UNSPECIFIED
    - OPS_STATUS_PENDING
    - OPS_STATUS_ONGOING
    - OPS_STATUS_COMPLETE
    default: OPS_STATUS_UNSPECIFIED
    description: "- OPS_STATUS_PENDING: In rare cases, system may not start operation when it was requested. Client will be notified that operation is PENDING\n - OPS_STATUS_ONGOING: system will start the operation, but at the time response was generated, operation is still ONGOING.\n - OPS_STATUS_COMPLETE: Even if the result of the operations may result in failure, but the OpsStatus will marked COMPLETE for almost all cases."
    title: ZedCloud internal operation status
  DeviceObjectUsageInfo:
    type: object
    properties:
      createTime:
        type: object
        format: date-time
        description: Timestamp at which object was created
      refCount:
        type: number
        format: int64
        description: Object refcount
      lastRefCountChangeTime

# --- truncated at 32 KB (43 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/zededa/refs/heads/main/openapi/zededa-volumeinstancestatus-api-openapi.yml