github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/schemas/authorization.yaml (about)

     1  ---
     2  authorization:
     3    type: object
     4    title: authorization
     5    properties:
     6      id:
     7        type: string
     8      note:
     9        type: string
    10      token_last_eight:
    11        type: string
    12      hashed_token:
    13        type: string
    14      scopes:
    15        type: array
    16        items:
    17          type: string
    18      expires_at:
    19        type: string
    20        format: date-time
    21      created_at:
    22        type: string
    23        format: date-time
    24      updated_at:
    25        type: string
    26        format: date-time
    27    example:
    28      id: abcd1234cdef1234abcd1234cdef1234
    29      note: My Deploy Script
    30      token_last_eight: 1234abcd
    31      hashed_token: abcd1234cdef1234abcd1234cdef1234abcd1234cdef1234abcd1234cdef1234
    32      scopes:
    33      - read
    34      expires_at: '2015-03-30T09:52:53Z'
    35      created_at: '2015-01-28T09:52:53Z'
    36      updated_at: '2015-01-28T09:52:53Z'