ArrayResponse

public struct ArrayResponse<ItemType>: Array, ImmutableMappable where ItemType: Resource

A list of resources in Contentful

This is the result type for any request of a collection of resources. See: https://www.contentful.com/developers/docs/references/content-delivery-api/#/introduction/collection-resources-and-pagination

  • The resources which are part of the given array

    Declaration

    Swift

    public let items: [ItemType]
  • The maximum number of resources originally requested

    Declaration

    Swift

    public let limit: UInt
  • The number of elements skipped when performing the request

    Declaration

    Swift

    public let skip: UInt
  • The total number of resources which matched the original request

    Declaration

    Swift

    public let total: UInt