Skip to main content
Version: v2

IParsedUrl Interface

Interface to represent the parsed parts of IResolvedUrl.url to help in getting info about different parts of the url. May not be compatible or relevant for any Url Resolver

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

To use, import via @fluidframework/container-loader/legacy.

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

Signature​

export interface IParsedUrl

Properties​

PropertyAlertsTypeDescription
idBetastringIt is combination of tenantid/docId part of the url.
pathBetastringIt is the deep link path in the url.
queryBetastringQuery string part of the url.
versionBetastring | undefinedUndefined means load latest snapshot, otherwise it's version ID passed to IDocumentStorageService.getVersions() to figure out what snapshot to use.

Property Details​

id​

It is combination of tenantid/docId part of the 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​

id: string;

Type: string

path​

It is the deep link path in the 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​

path: string;

Type: string

query​

Query string part of the 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​

query: string;

Type: string

version​

Undefined means load latest snapshot, otherwise it's version ID passed to IDocumentStorageService.getVersions() to figure out what snapshot to use.

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​

version: string | undefined;

Type: string | undefined