diff --git a/Readme.md b/Readme.md index 4f471c045f5c472cbdba42f5a69e3692027f49c9..fa504a68ca187544fa99f9bb74fe7d1457278fb5 100644 --- a/Readme.md +++ b/Readme.md @@ -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.