-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Processing Parameters Extension #276 #545 #471
base: draft
Are you sure you want to change the base?
Conversation
… define the parameters that can be submitted suring creation #276
Indeed, I also find it strange to add this to the endpoints were we currently list actual jobs/services. "endpoints": [
...
{
"methods": [ "GET", "POST"],
"path": "/jobs"
},
{
"methods": ["GET", "DELETE"],
"path": "/jobs/{job_id}"
},
... |
I'm hesistant to add it there to keep it simple/small and not delay the request too much, because it's the first one and should not block additional requests because it needs to wait for some options to be retrieved. We also have /service_types externally for this reason. |
maybe I'm misunderstanding, but I don't think a reasonable implementation of the API will be delayed by adding a couple of fields the the capabilities document. |
I get that it feels normal from the web editor point of view, because you probably list a user's jobs before they are able to create a new one. But in case of less interactive or lazy client environments like python client usage: it's a bit weird that the client first has to request |
No, I think you understood correctly, but I also assumed that with other endpoints and it did turnout that this was a false assumption. So maybe we just add a new endpoint that returns these options (then likely called |
I've updated the PR to have a dedicated (optional) endpoint. |
This PR only specifies what happens for POST requests (reflected in descriptions and field names |
Moved this from 1.2.0 to 1.3.0. Implementors are free to implement this proposal and give feedback, but it didn't feel fully fleshed out yet for a release in 1.2.0. |
As per #545 (comment), this PR should be reworked to be an extension. |
e948c5f
to
514b35b
Compare
9bbaff5
to
830f9c2
Compare
Adds the Processing Parameters Extension.
This extension adds a new endpoint (
GET /processing_options
)to discover the additional processing options that a back-end offers.
Additionally, this extension allows to provide specific default values for user-defined processes (UDPs, see below).
Implements #276 and #545