getOrCreateResourceAsObservable retrieves an existing content resource by its key, or creates a new one
if the key is not provided. If a resource key is provided, it attempts to fetch the existing
resource from the server. If no key is provided, it creates a new resource with the specified
properties.
getOrCreateResourceAsObservable retrieves an existing content resource by its key, or creates a new one if the key is not provided. If a resource key is provided, it attempts to fetch the existing resource from the server. If no key is provided, it creates a new resource with the specified properties.