Skip to content
Snippets Groups Projects
Commit dd81dcfb authored by Jonas Schlabertz's avatar Jonas Schlabertz
Browse files

Adds documentation.

parent 230dd66e
No related branches found
No related tags found
No related merge requests found
Pipeline #176145 passed
......@@ -207,6 +207,20 @@ curl "http://localhost:8080/component/a6d43f32-2b20-4dd4-bfdf-e7eea55d7d47" \
-H 'Accept-Datetime: 2022-02-22T20:40:33+00:00'
```
#### GET `/component/<componentId>/information`
Returns the currently active `ComponentInformation` instance.
This endpoint supports the `Accept-Datetime` header.
Example:
```
curl "http://localhost:8080/component/b4df9852-dd91-448a-9d4f-2157df21f976/information" \
-H 'Accept-Datetime: 2022-06-21T11:02:11+02:00'
```
#### POST `/component/`
Creates a new component with the given initial metadata.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment