Skip to content

Cloudstorage status api output values do not match endpoint description #9380

@zhiltsov-max

Description

@zhiltsov-max

Actions before raising this issue

  • I searched the existing issues and did not find anything similar.
  • I read/searched the docs

Steps to Reproduce

Image

  1. Go to /api/cloudstorages/{id}/status in Swagger
  2. Call this api for a cloud storage (in my case it was an S3 storage)
  3. If the storage is not available, the result will be status 400 "Could not connect to the endpoint URL" instead of the "NOT_FOUND" string

Expected Behavior

The endpoint call returns values as specified in the schema.

Possible Solution

The schema itself should probably be improved to declare a enum for the resulting values.

Context

No response

Environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions