QueryParameter
public enum QueryParameter
The available URL parameter names for queries; used internally by the various Contentful.Query
types.
Use these static variables to avoid making typos when constructing queries. It is recommended to take
advantage of Client
“fetch” methods that take Query
types instead of constructing query dictionaries on your own.
-
The parameter for specifying the content type of returned entries.
Declaration
Swift
public static let contentType: String
-
The parameter name for incoming links to an entry: See https://www.contentful.com/developers/docs/references/content-delivery-api/#/reference/search-parameters/links-to-entry
Declaration
Swift
public static let linksToEntry: String
-
The parameter name for incoming links to an asset: See https://www.contentful.com/developers/docs/references/content-delivery-api/#/reference/search-parameters/links-to-asset
Declaration
Swift
public static let linksToAsset: String
-
The select operator
Declaration
Swift
public static let select: String
-
The order parameter
Declaration
Swift
public static let order: String
-
Limit the number of items allowed in a response. See limit.
Declaration
Swift
public static let limit: String
-
Declaration
Swift
public static let skip: String
-
The level depth of including resources to resolve. See Links
Declaration
Swift
public static let include: String
-
The locale that you want to localize your responses to. See Localization
Declaration
Swift
public static let locale: String
-
A query parameter to filter assets by the mimetype of the referenced binary file
Declaration
Swift
public static let mimetypeGroup: String
-
Use this to pass in a query to search accross all text and symbol fields in your space. See Full-text search
Declaration
Swift
public static let fullTextSearch: String