Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Commit

Permalink
add info about disabling prototype for one action
Browse files Browse the repository at this point in the history
  • Loading branch information
goganchic committed May 5, 2017
1 parent 6816f8a commit c7cd3b8
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions rfcs/common-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c7cd3b8

Please sign in to comment.