ApiPlatformResponseOptions
Defined in: src/lib/models/response-options.ts:57
Pre-configured ResponseOptions for the API Platform (Symfony) driver
Uses dot-notation paths into the Hydra/JSON-LD envelope — the Hydra
keys contain colons but no dots, so hydra:view.hydra:next traverses
response['hydra:view']['hydra:next']. The path slot points at the
view's @id, which the strategy parses for the current page and page
size; currentPage / perPage / lastPage have no body field and
default to empty paths (derived from the view URLs instead).
Extends
Constructors
Constructor
new ApiPlatformResponseOptions(
options):ApiPlatformResponseOptions
Defined in: src/lib/models/response-options.ts:58
Parameters
options
Returns
ApiPlatformResponseOptions
Overrides
Properties
currentPage
readonlycurrentPage:string
Defined in: src/lib/models/response-options.ts:18
Inherited from
data
readonlydata:string
Defined in: src/lib/models/response-options.ts:19
Inherited from
firstPageUrl
readonlyfirstPageUrl:string
Defined in: src/lib/models/response-options.ts:20
Inherited from
from
readonlyfrom:string
Defined in: src/lib/models/response-options.ts:21
Inherited from
lastPage
readonlylastPage:string
Defined in: src/lib/models/response-options.ts:22
Inherited from
lastPageUrl
readonlylastPageUrl:string
Defined in: src/lib/models/response-options.ts:23
Inherited from
nextPageUrl
readonlynextPageUrl:string
Defined in: src/lib/models/response-options.ts:24
Inherited from
path
readonlypath:string
Defined in: src/lib/models/response-options.ts:25
Inherited from
perPage
readonlyperPage:string
Defined in: src/lib/models/response-options.ts:26
Inherited from
prevPageUrl
readonlyprevPageUrl:string
Defined in: src/lib/models/response-options.ts:27
Inherited from
to
readonlyto:string
Defined in: src/lib/models/response-options.ts:28
Inherited from
total
readonlytotal:string
Defined in: src/lib/models/response-options.ts:29