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

     1  ---
     2  branch:
     3    type: object
     4    title: branch
     5    properties:
     6      base_project_id:
     7        type: string
     8      branch_project_id:
     9        type: string
    10      name:
    11        type: string
    12      created_at:
    13        type: string
    14        format: date-time
    15      updated_at:
    16        type: string
    17        format: date-time
    18      merged_at:
    19        type: string
    20        format: date-time
    21      merged_by:
    22        "$ref": "./user_preview.yaml#/user_preview"
    23      created_by:
    24        "$ref": "./user_preview.yaml#/user_preview"
    25      state:
    26        type: string
    27    example:
    28      name: new-branch
    29      created_at: '2015-01-28T09:52:53Z'
    30      updated_at: '2015-01-28T09:52:53Z'
    31      merged_at: '2015-01-28T09:52:53Z'
    32      merged_by:
    33        id: abcd1234cdef1234abcd1234cdef1234
    34        username: joe.doe
    35        name: Joe Doe
    36      created_by:
    37        id: abcd1234cdef1234abcd1234cdef1234
    38        username: joe.doe
    39        name: Joe Doe
    40      state: success