From b80f3e4e067745dbf7faef324c6f904a268aceea Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Mon, 27 Apr 2015 12:30:46 -0700 Subject: [PATCH] website: API consistency --- .../source/docs/secrets/transit/index.html.md | 29 +++++++++---------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/website/source/docs/secrets/transit/index.html.md b/website/source/docs/secrets/transit/index.html.md index c5d9a4a715..9a56a82713 100644 --- a/website/source/docs/secrets/transit/index.html.md +++ b/website/source/docs/secrets/transit/index.html.md @@ -90,11 +90,10 @@ only encrypt or decrypt using the named keys they need access to. ## API -
-## /transit/policy/ -### POST +### /transit/policy/ +#### POST -
+
Description
Creates a new named encryption key. This is a root protected endpoint. @@ -127,9 +126,9 @@ only encrypt or decrypt using the named keys they need access to.
-### GET +#### GET -
+
Description
Returns information about a named encryption key. @@ -163,9 +162,9 @@ only encrypt or decrypt using the named keys they need access to.
-### DELETE +#### DELETE -
+
Description
Deletes a named encryption key. This is a root protected endpoint. @@ -189,10 +188,10 @@ only encrypt or decrypt using the named keys they need access to.
-## /transit/encrypt/ -### POST +### /transit/encrypt/ +#### POST -
+
Description
Encrypts the provided plaintext using the named key. @@ -229,10 +228,10 @@ only encrypt or decrypt using the named keys they need access to.
-## /transit/decrypt/ -### POST +### /transit/decrypt/ +#### POST -
+
Description
Dencrypts the provided ciphertext using the named key. @@ -268,5 +267,3 @@ only encrypt or decrypt using the named keys they need access to.
- -