From dd81dcfbce01aed0635f82528fce8317fbe83bb3 Mon Sep 17 00:00:00 2001
From: Jonas Schlabertz <jonas@schlabertz.de>
Date: Tue, 21 Jun 2022 11:45:58 +0200
Subject: [PATCH] Adds documentation.

---
 Readme.md | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/Readme.md b/Readme.md
index 4f471c0..fa504a6 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.
-- 
GitLab