You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Access the OpenAPI Swagger page in your browser at http://localhost:5000/openapi
15
-
16
-
### asynchronous requests
17
-
invest model execution should run asynchronously because it can take a long time. To use asynchronous mode, include the `'Prefer: respond-async'` header in the request, as required by `pygeoapi` and the OGC Processes specification ([source](https://docs.pygeoapi.io/en/latest/data-publishing/ogcapi-processes.html#asynchronous-support)).
18
-
19
-
it seems that the async execution request is supposed to return a JSON object containing info about the job including its ID, which you can then use to query the job status and results. however the request actually returns null, and the only job info is available in the `location` response header. I asked about this here: https://github.com/geopython/pygeoapi/issues/2105
20
-
21
-
for now, given a `location` header value like `http://localhost:5000/jobs/XXXXXX`, you can check its status at that url, and retrieve results at `http://localhost:5000/jobs/XXXXXX/results`.
Access the OpenAPI Swagger page in your browser at http://localhost:5000/openapi
12
+
13
+
### asynchronous requests
14
+
invest model execution should run asynchronously because it can take a long time. To use asynchronous mode, include the `'Prefer: respond-async'` header in the request, as required by `pygeoapi` and the OGC Processes specification ([source](https://docs.pygeoapi.io/en/latest/data-publishing/ogcapi-processes.html#asynchronous-support)).
15
+
16
+
it seems that the async execution request is supposed to return a JSON object containing info about the job including its ID, which you can then use to query the job status and results. however the request actually returns null, and the only job info is available in the `location` response header. I asked about this here: https://github.com/geopython/pygeoapi/issues/2105
17
+
18
+
for now, given a `location` header value like `http://localhost:5000/jobs/XXXXXX`, you can check its status at that url, and retrieve results at `http://localhost:5000/jobs/XXXXXX/results`.
0 commit comments