ResourceQueryable
public protocol ResourceQueryable
The base Queryable protocol to fetch instance for ContentType
, Asset
, and Entry
.
-
This call fetches the latest version of a specific
ContentType
,Asset
, andEntry
of a particular stack.Declaration
Swift
func fetch<ResourceType>(_ completion: @escaping ResultsHandler<ResourceType>) where ResourceType: Decodable & EndpointAccessible
Parameters
completion
A handler which will be called on completion of the operation.