Rename authorize to authorize-session (#531)
As pointed out by Rob, this makes it clearer what the action actually is. We were sort of torn on it before, but I've definitely come around to it.
This commit is contained in:
1 parent
0f7444a690
commit
9237d6f787
13 files changed
+52
-52
No files matched your search
@@ -87,7 +87,7 @@ service TargetService {
|
||||
// AuthorizeSession creates authorization information from a given Target.
|
||||
rpc AuthorizeSession(AuthorizeSessionRequest) returns (AuthorizeSessionResponse) {
|
||||
option (google.api.http) = {
|
||||
post: "/v1/targets/{id}:authorize"
|
||||
post: "/v1/targets/{id}:authorize-session"
|
||||
body: "*"
|
||||
response_body: "item"
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user