Storage Integrations

Discover cloud storage locations

Changed on

Lists accessible buckets or containers using the supplied provider credentials.

post/api/integrations/buckets/discover

Request

  • Base URL
    https://platform.ultralytics.com
  • Auth
    HTTP bearer

Request body

OR
OR

Example request

{
  "credentials": {
    "client_email": "service-account@my-gcp-project.iam.gserviceaccount.com",
    "private_key": "-----BEGIN PRIVATE KEY-----\nYOUR_GCP_PRIVATE_KEY\n-----END PRIVATE KEY-----",
    "project_id": "my-gcp-project"
  }
}

Response

Readable buckets or containers

targetsstring[] required

Changes

    • warning

      changed the pattern of the request property // from ^(?:\s*(?:(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,})\s*|\s*"\s*(?:(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,})\s*"\s*|\s*'\s*(?:(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,})\s*'\s*)$ to ^(?:\s*(?:(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,})\s*|\s*"\s*(?:(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,})\s*"\s*|\s*'\s*(?:(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,})\s*'\s*)$