getContent Method

Overloads
getContent(requestOptions)  
getContent(requestContext, requestOptions, descriptorOrOverrides, keys) Deprecated  

getContent(requestOptions)

Retrieves the content based on the supplied content descriptor override.

getContent(requestOptions: WithClientRequestContext<Paged<ExtendedContentRequestOptions<IModelDb, Descriptor, KeySet, RulesetVariable>>>): Promise<undefined | Content>

Parameter Type Description
requestOptions WithClientRequestContext<Paged<ExtendedContentRequestOptions<IModelDb, Descriptor, KeySet, RulesetVariable>>>  

Returns - Promise<undefined | Content>



getContent(requestContext, requestOptions, descriptorOrOverrides, keys)

Deprecated  Use an overload with ExtendedContentRequestOptions

Retrieves the content based on the supplied content descriptor override.

getContent(requestContext: ClientRequestContext, requestOptions: Paged<ContentRequestOptions<IModelDb, RulesetVariable>>, descriptorOrOverrides: Descriptor | DescriptorOverrides, keys: KeySet): Promise<undefined | Content>

Parameter Type Description
requestContext ClientRequestContext  
requestOptions Paged<ContentRequestOptions<IModelDb, RulesetVariable>>  
descriptorOrOverrides Descriptor | DescriptorOverrides  
keys KeySet  

Returns - Promise<undefined | Content>


Defined in

Last Updated: 11 June, 2024