From Bitty Bushbaby, 5 Years ago, written in Plain Text.
This paste is a reply to Untitled from Red Hedgehog - view diff
Embed
  1.   '/v1/configuration/access_token':
  2.     post:
  3.       tags:
  4.         - Access Token
  5.       summary: 'Generate access token by invoking platform\'s access token url'
  6.       description: 'Generate access token by invoking platform\'s access token url'
  7.       operationId: generateAccessTokenPOST
  8.       produces:
  9.         - application/json
  10.       parameters:
  11.         - name: Authorization
  12.           in: header
  13.           description: Authorization Header
  14.           required: true
  15.           type: string
  16.         - name: Request Body
  17.           in: body
  18.           description: Request Body
  19.           required: true
  20.           schema:
  21.             type: object
  22.             properties:
  23.               platformIssuerId:
  24.                 type: string
  25.               selectedContent:
  26.                 type: scope
  27.                 items:
  28.                   type: string
  29.                  
  30.       responses:
  31.         '200':
  32.           description: Okay
  33.           schema:
  34.             type: string
  35. '       400':
  36.           description: Bad Request
  37.         '401':
  38.           description: Authentication failed
  39.         '403':
  40.           description: Access is Denied
  41.         '500':
  42.           description: Internal Server Error