StorageCenters

Zones and StorageCenters objects represent Storage Zones - hosted or on-premise areas that provide data repository services. Inside a Zone, Admin deploy multiple Storage Centers - the servers that perform the Zone activities.

Get Storage Center

GET https://account.sf-api.com/sf/v3/StorageCenters(id) 
idString Storage Center identifier

Returns: A single Storage Center

Patch Storage Center

PATCH https://account.sf-api.com/sf/v3/StorageCenters(id) 
            { 
              "ExternalAddress":"https://server/", 
              "Version":"4.12.20", 
              "HostName":"hostname" } 
idString Storage Center identifier
scStorageCenter Modified Storage Center parameters

Returns: Modified Storage Center

Delete Storage Center

DELETE https://account.sf-api.com/sf/v3/StorageCenters(id) 
idString Storage Center Identifier

Get List of StorageCenters from Zone

GET https://account.sf-api.com/sf/v3/Zones(id)/StorageCenters 

Lists Storage Centers of a given Zone

idString The zone identifier

Returns: A list of Storage Centers associated with the provided zone

Create StorageCenter

POST https://account.sf-api.com/sf/v3/Zones(id)/StorageCenters 
            { 
              "ExternalAddress":"https://server/", 
              "Version":"4.12.20", 
              "HostName":"hostname" 
            } 

Creates a new Storage Center associated with a specific zone

idString The zone identifier
storageCenterStorageCenter

Returns: The new storage center

Update StorageCenter

PATCH https://account.sf-api.com/sf/v3/Zones(zid)/StorageCenters(scid) 
            { 
              "ExternalAddress":"https://server/", 
              "Version":"4.12.20", 
              "HostName":"hostname" 
            } 

Updates an existing Storage Center

zidString The zone containing this Storage Center
scidString The storage center id
storageCenterStorageCenter

Returns: the modified storage center

Delete StorageCenter

DELETE https://account.sf-api.com/sf/v3/Zones(zid)/StorageCenter(scid) 

Removes an existing storage center

zidString The Zone Identifier
scidString The Storage Center identifier

Get StorageCenter Metadata

GET https://account.sf-api.com/sf/v3/Zones(zid)/StorageCenter(scid)/Metadata 

Gets metadata associated with the specified storage center

zidString The Zone identifier
scidString The Storage Center identifier

Returns: the storage center metadata feed

Create or update StorageCenter Metadata

POST https://account.sf-api.com/sf/v3/Zones(zid)/StorageCenter(scid)/Metadata 
            [ 
            {"Name":"metadataName1", "Value":"metadataValue1", "IsPublic":"true"}, 
            {"Name":"metadataName2", "Value":"metadataValue2", "IsPublic":"false"} 
            ] 

Creates or updates Metadata entries associated with the specified storage center

zidString The Zone Identifier
scidString The Storage Center identifier
metadataMetadata[] A list of metadata entries. Only zone admins can retrieve, set or modify entries that have IsPublic set to false.

Returns: the storage center metadata feed

Delete StorageCenter Metadata

DELETE https://account.sf-api.com/sf/v3/Zones(zid)/StorageCenter(scid)/Metadata?name=metadataname 

Delete the Metadata entry associated with the specified storage center

zidString The Zone Identifier
scidString The Storage Center identifier
nameString The metadata name

Returns: no data on success