Export StorageGcs

Validate export storage

POST
Validate a specific GCS export storage connection. This is useful to ensure that the storage configuration settings are correct and operational before attempting to export data.

Request

This endpoint expects an object.
id
integerOptional
Storage ID. If set, storage with specified ID will be updated
can_delete_objects
booleanOptional
Deletion from storage enabled.
title
stringOptional
Storage title
description
stringOptional
Storage description
project
integerOptional
Project ID
bucket
stringOptional
GCS bucket name
prefix
stringOptional
GCS bucket prefix
google_application_credentials
stringOptional

The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details.

google_project_id
stringOptional
Google project ID
POST
1curl -X POST http://localhost:8080/api/storages/export/gcs/validate \
2 -H "Authorization: Token <api_key>" \
3 -H "Content-Type: application/json" \
4 -d '{}'