Skip to main content

ISocketStorageDiscovery Interface

Socket storage discovery api response

This API is provided for existing users, but is not recommended for new users.

To use, import via @fluidframework/odsp-driver-definitions/legacy.

For more information about our API support guarantees, see here.

Signature​

export interface ISocketStorageDiscovery

Properties​

PropertyAlertsModifiersTypeDescription
deltaStorageUrlBetastring
deltaStreamSocketUrlBetastringPUSH URL
idBetastring
refreshSessionDurationSecondsBetaoptionalnumberThis is the time within which client has to refresh the session on (ODSP) relay service.
runtimeTenantIdBetaoptionalstring
sensitivityLabelsInfoBetaoptionalISensitivityLabelsInfoRepresent the sensitivity labels info for the file. Keeping it optional for back-compat. The response will contain empty labels when the file has no labels, so this field will be there even if file has no labels when the service will implement this contract.
snapshotStorageUrlBetastring
socketTokenBetaoptionalstringThe access token for PushChannel. Optionally returned, depending on implementation. OneDrive for Consumer implementation returns it and OneDrive for Business implementation does not return it and instead expects token to be returned via getWebsocketToken callback passed as a parameter to OdspDocumentService.create() factory.
tenantIdBetastring

Property Details​

deltaStorageUrl​

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature​

deltaStorageUrl: string;

Type: string

deltaStreamSocketUrl​

PUSH URL

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature​

deltaStreamSocketUrl: string;

Type: string

id​

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature​

id: string;

Type: string

refreshSessionDurationSeconds​

This is the time within which client has to refresh the session on (ODSP) relay service.

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature​

refreshSessionDurationSeconds?: number;

Type: number

runtimeTenantId​

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature​

runtimeTenantId?: string;

Type: string

sensitivityLabelsInfo​

Represent the sensitivity labels info for the file. Keeping it optional for back-compat. The response will contain empty labels when the file has no labels, so this field will be there even if file has no labels when the service will implement this contract.

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature​

sensitivityLabelsInfo?: ISensitivityLabelsInfo;

Type: ISensitivityLabelsInfo

snapshotStorageUrl​

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature​

snapshotStorageUrl: string;

Type: string

socketToken​

The access token for PushChannel. Optionally returned, depending on implementation. OneDrive for Consumer implementation returns it and OneDrive for Business implementation does not return it and instead expects token to be returned via getWebsocketToken callback passed as a parameter to OdspDocumentService.create() factory.

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature​

socketToken?: string;

Type: string

tenantId​

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature​

tenantId: string;

Type: string