[ 
https://issues.apache.org/jira/browse/DRILL-8153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17500391#comment-17500391
 ] 

ASF GitHub Bot commented on DRILL-8153:
---------------------------------------

cgivre opened a new pull request #2479:
URL: https://github.com/apache/drill/pull/2479


   # [DRILL-8153](https://issues.apache.org/jira/browse/DRILL-8153): Convert 
OAuth REST APIs to JSON
   
   ## Description
   This PR converts the OAuth REST APIs to accept JSON.  
   
   ## Documentation
   The following API calls are now available for updating an HTTP Storage 
Plugin's OAuth tokens if OAuth is used. These three new endpoints are POST 
requests and accept the tokens as part of the form body.
   
   * `/storage/{plugin name}/update_access_token`
   * `/storage/{plugin name}/update_refresh_token`
   * `/storage/{plugin name}/update_oauth_tokens`
   
   These endpoints take as arguments: `accessToken`, `refreshToken` or both.
   
   ## Testing
   Updated unit tests. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


> Convert OAuth REST APIs to JSON
> -------------------------------
>
>                 Key: DRILL-8153
>                 URL: https://issues.apache.org/jira/browse/DRILL-8153
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Storage - Other
>    Affects Versions: 1.20.0
>            Reporter: Charles Givre
>            Assignee: Charles Givre
>            Priority: Minor
>             Fix For: Future
>
>
> This PR converts the OAuth REST endpoints to accept JSON for the sake of 
> consistency. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to