get__bucket_{bucketId}_status
TypeScript Client Library
public getStorageBucketStatus = async (bucketId: string): Promise<StorageBucketStatusResponse> => {
return this.makeRequest<StorageBucketStatusResponse>(`bucket/${bucketId}/status`, 'GET', null);
};Code Samples
# You can also use wget
curl -X GET https://backend.flashback.tech/bucket/{bucketId}/status \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'GET https://backend.flashback.tech/bucket/{bucketId}/status HTTP/1.1
Host: localhost:3000
Accept: application/jsonconst headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('https://backend.flashback.tech/bucket/{bucketId}/status',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});Parameters
Name
In
Type
Required
Description
{
"bucketId": "550e8400-e29b-41d4-a716-446655440000",
"nodeStatus": [
{
"ip": "192.168.1.100",
"region": "us-east-1",
"version": "1.2.3",
"status": "ONLINE",
"latency_ms": 45,
"lastUpdated": "2024-01-15T10:30:00Z"
}
]
}Responses
Status
Meaning
Description
Schema
Response Schema
Name
Type
Required
Restrictions
Description
Name
Type
Required
Restrictions
Description
Name
Type
Required
Restrictions
Description
Last updated
Was this helpful?