Skip to content

Collection Output: response=landingPage or not? #572

@jerstlouis

Description

@jerstlouis

Currently the requirement /req/collection-output/response-definition defines response as such:

name: response
in: query
required: false
schema:
  type: string
  enum: [ collection ]

and I had removed landingPage from the enum that was still there in response.yaml.

However, there is still a mention of redirecting to a landing page in rExecuteCollectionRedirect.yaml.

Can we confirm that we removed that landingPage response mode, and so we should remove those mentions of landing page redirect and response=landingPage there? The only capability we are losing is for clients that can only be pointed to a landing page rather than directly to a collection.

For returning multiple collections, that can now be done through results.yaml, either as separate one { "collection": ... } value for multiple outputs, or as multiple { "collection": ... } values for one or more outputs. We already have /req/collection-output/response-response-one and /req/collection-output/response-response-many, but now that we've added maxOccurs to outputs, I think the response-one should only apply when maxOccurs=1, so that the collection redirect is only when requesting one output and maxOccurs=1.

(also the draft seems to not be generated properly right now, maybe #571 will fix that)

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.0Next development iterationPart 1 (Core)OGC API - Processes - Part 1: Core

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions