Export StorageGcs

Get export storage

GET

Path parameters

idintegerRequired
A unique integer value identifying this gcs export storage.

Response

This endpoint returns an object
project
integer
A unique integer value identifying this project.
id
integerOptional
type
stringOptionalDefaults to gcs
synchronizable
booleanOptional
bucket
stringOptional
GCS bucket name
prefix
stringOptional
GCS bucket prefix
regex_filter
stringOptional
Cloud storage regex for filtering objects
use_blob_urls
booleanOptional
Interpret objects as BLOBs and generate URLs
google_application_credentials
stringOptional

The content of GOOGLE_APPLICATION_CREDENTIALS json file

google_project_id
stringOptional
Google project ID
last_sync
datetimeOptional
Last sync finished time
last_sync_count
integerOptional
Count of tasks synced last time
last_sync_job
stringOptional
Last sync job ID
status
enumOptional
Allowed values: initializedqueuedin_progressfailedcompleted
traceback
stringOptional
Traceback report for the last failed sync
meta
map from strings to anyOptional
Meta and debug information about storage processes
title
stringOptional
Cloud storage title
description
stringOptional
Cloud storage description
created_at
datetimeOptional
Creation time
can_delete_objects
booleanOptional
Deletion from storage enabled
GET
1curl http://localhost:8080/api/storages/export/gcs/1 \
2 -H "Authorization: Token <api_key>"
200Retrieved
1{
2 "project": 1,
3 "id": 1,
4 "type": "type",
5 "synchronizable": true,
6 "bucket": "bucket",
7 "prefix": "prefix",
8 "regex_filter": "regex_filter",
9 "use_blob_urls": true,
10 "google_application_credentials": "google_application_credentials",
11 "google_project_id": "google_project_id",
12 "last_sync": "2024-01-15T09:30:00Z",
13 "last_sync_count": 1,
14 "last_sync_job": "last_sync_job",
15 "status": "initialized",
16 "traceback": "traceback",
17 "meta": {
18 "meta": {
19 "key": "value"
20 }
21 },
22 "title": "title",
23 "description": "description",
24 "created_at": "2024-01-15T09:30:00Z",
25 "can_delete_objects": true
26}