1.0.0-rc.176
Build Packages / Create release (push) Successful in 8s
Build Packages / build:rugnux:linux-aarch64:cuda (push) Successful in 10m0s
Build Packages / build:portable:macos-arm64:nocuda (push) Successful in 13m30s
Build Packages / build:portable:linux-x86_64:nocuda (push) Successful in 14m54s
Build Packages / build:portable:linux-x86_64:cuda (push) Successful in 18m31s
Build Packages / build:jfjoch:ubuntu2204:nocuda (push) Successful in 19m50s
Build Packages / build:portable:windows-x86_64:nocuda (push) Successful in 21m57s
Build Packages / build:jfjoch:rocky9:nocuda (push) Successful in 23m52s
Build Packages / build:jfjoch:rocky8:nocuda (push) Successful in 24m9s
Build Packages / build:portable:windows-x86_64:cuda (push) Successful in 26m10s
Build Packages / HDF5 consumer tests (DIALS, XDS) (push) Successful in 27m54s
Build Packages / build:jfjoch:ubuntu2404:nocuda (push) Successful in 19m38s
Build Packages / Generate python client (push) Successful in 31s
Build Packages / Build documentation (push) Successful in 1m6s
Build Packages / build:jfjoch:rocky8:cuda-sls9 (push) Successful in 21m53s
Build Packages / build:jfjoch:rocky9:cuda-sls9 (push) Successful in 23m27s
Build Packages / build:jfjoch:ubuntu2204:cuda (push) Successful in 18m37s
Build Packages / build:jfjoch:rocky8:cuda (push) Successful in 23m19s
Build Packages / build:jfjoch:rocky9:cuda (push) Successful in 22m47s
Build Packages / build:jfjoch:ubuntu2404:cuda (push) Successful in 19m38s
Build Packages / Unit tests (push) Successful in 1h27m23s
Build Packages / Validation Battery (push) Successful in 33m5s
Build Packages / Create release (push) Successful in 8s
Build Packages / build:rugnux:linux-aarch64:cuda (push) Successful in 10m0s
Build Packages / build:portable:macos-arm64:nocuda (push) Successful in 13m30s
Build Packages / build:portable:linux-x86_64:nocuda (push) Successful in 14m54s
Build Packages / build:portable:linux-x86_64:cuda (push) Successful in 18m31s
Build Packages / build:jfjoch:ubuntu2204:nocuda (push) Successful in 19m50s
Build Packages / build:portable:windows-x86_64:nocuda (push) Successful in 21m57s
Build Packages / build:jfjoch:rocky9:nocuda (push) Successful in 23m52s
Build Packages / build:jfjoch:rocky8:nocuda (push) Successful in 24m9s
Build Packages / build:portable:windows-x86_64:cuda (push) Successful in 26m10s
Build Packages / HDF5 consumer tests (DIALS, XDS) (push) Successful in 27m54s
Build Packages / build:jfjoch:ubuntu2404:nocuda (push) Successful in 19m38s
Build Packages / Generate python client (push) Successful in 31s
Build Packages / Build documentation (push) Successful in 1m6s
Build Packages / build:jfjoch:rocky8:cuda-sls9 (push) Successful in 21m53s
Build Packages / build:jfjoch:rocky9:cuda-sls9 (push) Successful in 23m27s
Build Packages / build:jfjoch:ubuntu2204:cuda (push) Successful in 18m37s
Build Packages / build:jfjoch:rocky8:cuda (push) Successful in 23m19s
Build Packages / build:jfjoch:rocky9:cuda (push) Successful in 22m47s
Build Packages / build:jfjoch:ubuntu2404:cuda (push) Successful in 19m38s
Build Packages / Unit tests (push) Successful in 1h27m23s
Build Packages / Validation Battery (push) Successful in 33m5s
VERSION and update_version.sh: the version strings, and the clients regenerated from broker/jfjoch_api.yaml - which also brings the C++ model, Python client docs, frontend client and Redoc page up to the /live/events endpoint already in the spec - plus docs/THIRD_PARTY_NOTICES.md regenerated from the root file (the timing benchmark's model entries). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PXc1zD1yxHqaR1DGdCTHL4
This commit is contained in:
1 parent
9c9b987928
commit
3e36fe9468
148 files changed
+344
-155
No files matched your search
@@ -22,8 +22,8 @@ communicate through network calls or other mechanisms.
|
||||
|
||||
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
||||
|
||||
- API version: 1.0.0-rc.175
|
||||
- Package version: 1.0.0-rc.175
|
||||
- API version: 1.0.0-rc.176
|
||||
- Package version: 1.0.0-rc.176
|
||||
- Generator version: 7.20.0
|
||||
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
||||
|
||||
@@ -149,6 +149,7 @@ Class | Method | HTTP request | Description
|
||||
*DefaultApi* | [**image_buffer_status_get**](docs/DefaultApi.md#image_buffer_status_get) | **GET** /image_buffer/status | Get status of the image buffers
|
||||
*DefaultApi* | [**image_pusher_status_get**](docs/DefaultApi.md#image_pusher_status_get) | **GET** /image_pusher/status | Get status of image pusher
|
||||
*DefaultApi* | [**initialize_post**](docs/DefaultApi.md#initialize_post) | **POST** /initialize | Initialize detector and data acquisition
|
||||
*DefaultApi* | [**live_events_get**](docs/DefaultApi.md#live_events_get) | **GET** /live/events | Event stream of the collection, for a reader following it
|
||||
*DefaultApi* | [**pedestal_post**](docs/DefaultApi.md#pedestal_post) | **POST** /pedestal | Collect dark current for the detector
|
||||
*DefaultApi* | [**preview_pedestal_tiff_get**](docs/DefaultApi.md#preview_pedestal_tiff_get) | **GET** /preview/pedestal.tiff | Get pedestal in TIFF format
|
||||
*DefaultApi* | [**preview_plot_bin_get**](docs/DefaultApi.md#preview_plot_bin_get) | **GET** /preview/plot.bin | Generate 1D plot from Jungfraujoch and send in raw binary format. Data are provided as (32-bit) float binary array. This format doesn't transmit information about X-axis, only values, so it is of limited use for azimuthal integration.
|
||||
|
||||
@@ -52,6 +52,7 @@ Method | HTTP request | Description
|
||||
[**image_buffer_status_get**](DefaultApi.md#image_buffer_status_get) | **GET** /image_buffer/status | Get status of the image buffers
|
||||
[**image_pusher_status_get**](DefaultApi.md#image_pusher_status_get) | **GET** /image_pusher/status | Get status of image pusher
|
||||
[**initialize_post**](DefaultApi.md#initialize_post) | **POST** /initialize | Initialize detector and data acquisition
|
||||
[**live_events_get**](DefaultApi.md#live_events_get) | **GET** /live/events | Event stream of the collection, for a reader following it
|
||||
[**pedestal_post**](DefaultApi.md#pedestal_post) | **POST** /pedestal | Collect dark current for the detector
|
||||
[**preview_pedestal_tiff_get**](DefaultApi.md#preview_pedestal_tiff_get) | **GET** /preview/pedestal.tiff | Get pedestal in TIFF format
|
||||
[**preview_plot_bin_get**](DefaultApi.md#preview_plot_bin_get) | **GET** /preview/plot.bin | Generate 1D plot from Jungfraujoch and send in raw binary format. Data are provided as (32-bit) float binary array. This format doesn't transmit information about X-axis, only values, so it is of limited use for azimuthal integration.
|
||||
@@ -3326,6 +3327,96 @@ No authorization required
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||
|
||||
# **live_events_get**
|
||||
> str live_events_get()
|
||||
|
||||
Event stream of the collection, for a reader following it
|
||||
|
||||
Server-sent events (text/event-stream) for the current collection, from the moment /start has
|
||||
accepted it: first its whole history, then every change, until it ends or a new collection
|
||||
begins. Only one reader at a time. Events, each with a JSON `data` line:
|
||||
- `start` {run_number, run_name, file_prefix, number_of_images, images_per_file, cbor} - first,
|
||||
once the start message is known: at once for a JUNGFRAU, when the detector sends its own for
|
||||
a DECTRIS. `cbor` is the start message the writer of the master file received, CBOR in base64;
|
||||
a reader builds the dataset from it;
|
||||
- `file` {file_number, file, first_image, image_count} - a data file closed and renamed into
|
||||
place; `file` is relative to the collection's root, as the writer named it;
|
||||
- `end` {images, error?} - every writer acknowledged the end: the data files and the master
|
||||
file are in place; `images` is the number of images collected. Also sent, with `error`, when
|
||||
the measurement ends any other way - before the start message, for one. The stream then closes;
|
||||
- `superseded` {run_number} - a new collection began. The stream then closes.
|
||||
A comment line (`: keepalive`) every 10 s when nothing happens.
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
* Bearer Authentication (bearerAuth):
|
||||
|
||||
```python
|
||||
import jfjoch_client
|
||||
from jfjoch_client.rest import ApiException
|
||||
from pprint import pprint
|
||||
|
||||
# Defining the host is optional and defaults to http://localhost:5232
|
||||
# See configuration.py for a list of all supported configuration parameters.
|
||||
configuration = jfjoch_client.Configuration(
|
||||
host = "http://localhost:5232"
|
||||
)
|
||||
|
||||
# The client must configure the authentication and authorization parameters
|
||||
# in accordance with the API server security policy.
|
||||
# Examples for each auth method are provided below, use the example that
|
||||
# satisfies your auth use case.
|
||||
|
||||
# Configure Bearer authorization: bearerAuth
|
||||
configuration = jfjoch_client.Configuration(
|
||||
access_token = os.environ["BEARER_TOKEN"]
|
||||
)
|
||||
|
||||
# Enter a context with an instance of the API client
|
||||
with jfjoch_client.ApiClient(configuration) as api_client:
|
||||
# Create an instance of the API class
|
||||
api_instance = jfjoch_client.DefaultApi(api_client)
|
||||
|
||||
try:
|
||||
# Event stream of the collection, for a reader following it
|
||||
api_response = api_instance.live_events_get()
|
||||
print("The response of DefaultApi->live_events_get:\n")
|
||||
pprint(api_response)
|
||||
except Exception as e:
|
||||
print("Exception when calling DefaultApi->live_events_get: %s\n" % e)
|
||||
```
|
||||
|
||||
|
||||
|
||||
### Parameters
|
||||
|
||||
This endpoint does not need any parameter.
|
||||
|
||||
### Return type
|
||||
|
||||
**str**
|
||||
|
||||
### Authorization
|
||||
|
||||
[bearerAuth](../README.md#bearerAuth)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: text/event-stream, text/plain
|
||||
|
||||
### HTTP response details
|
||||
|
||||
| Status code | Description | Response headers |
|
||||
|-------------|-------------|------------------|
|
||||
**200** | Event stream | - |
|
||||
**401** | The current dataset is protected and no valid bearer token was presented. | - |
|
||||
**404** | No collection has started | - |
|
||||
**409** | Another reader is following the collection, or the image pusher does not report closed data files | - |
|
||||
|
||||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
||||
|
||||
# **pedestal_post**
|
||||
> pedestal_post()
|
||||
|
||||
|
||||
Reference in new issue
Block a user