Create new storage

POST

Create a new target storage connection to Google Cloud Storage.

For information about the required fields and prerequisites, see Google Cloud Storage in the Label Studio documentation.

After you add the storage, you should validate the connection before attempting to sync your data. Your data will not be exported until you sync your connection.

Request

This endpoint expects an object.
can_delete_objectsbooleanOptional

Deletion from storage enabled.

titlestringOptional

Storage title

descriptionstringOptional

Storage description

projectintegerOptional

Project ID

bucketstringOptional

GCS bucket name

prefixstringOptional

GCS bucket prefix

google_application_credentialsstringOptional

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

google_project_idstringOptional

Google project ID

Response

can_delete_objectsbooleanOptional

Deletion from storage enabled.

titlestringOptional

Storage title

descriptionstringOptional

Storage description

projectintegerOptional

Project ID

bucketstringOptional

GCS bucket name

prefixstringOptional

GCS bucket prefix

google_application_credentialsstringOptional

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

google_project_idstringOptional

Google project ID

Built with