From c7cd3b87b6e4a8c2e232522819e38555bec8d080 Mon Sep 17 00:00:00 2001 From: "e.baranov" Date: Fri, 5 May 2017 19:40:56 +0300 Subject: [PATCH] add info about disabling prototype for one action --- rfcs/common-data.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/rfcs/common-data.md b/rfcs/common-data.md index a0d30b9..d4be149 100644 --- a/rfcs/common-data.md +++ b/rfcs/common-data.md @@ -238,6 +238,32 @@ Authorized + Response 200 ``` +It is possible to disable prototype for one particular action: + +```apib +## Prototype Authorized + ++ Response 401 + +After previous line all actions will have 401 response + +# Group Authorized resources + +## Posts [GET /posts] + ++ Response 200 + +# Group Authorization + +## Auth [POST /auth] + +Disable prototype Authorized only for this action + ++ Unuse Prototype Authorized + ++ Response 200 +``` + ## Backwards Compatibility If anyone use "Common Data" or "Prototype" headers in the documentation after