basicAuth:
type: http
scheme: basic
+ description: |
+ Basic authentication. This should be avoided and may be removed in a future API release.
apiKeyAuth:
type: http
scheme: token
requestBodies:
Bundle:
required: true
+ description: |
+ A patch bundle.
content:
application/json:
schema:
$ref: '#/components/schemas/BundleCreateUpdate'
Check:
required: true
+ description: |
+ A patch check.
content:
application/json:
schema:
$ref: '#/components/schemas/CheckCreate'
Comment:
required: true
+ description: |
+ A patch or cover letter comment.
content:
application/json:
schema:
$ref: '#/components/schemas/CommentUpdate'
Patch:
required: true
+ description: |
+ A patch.
content:
application/json:
schema:
$ref: '#/components/schemas/PatchUpdate'
Project:
required: true
+ description: |
+ A project.
content:
application/json:
schema:
$ref: '#/components/schemas/Project'
User:
required: true
+ description: |
+ A user.
content:
application/json:
schema:
schemas:
Index:
type: object
+ name: Index
+ description: |
+ Paths to resource APIs
properties:
bundles:
title: Bundles URL
required:
- name
type: object
+ title: Bundle
+ description: |
+ A patch bundle
properties:
id:
title: ID
readOnly: true
BundleCreateUpdate:
type: object
+ title: Bundle create or update
+ description: |
+ The fields to set on a new or existing bundle.
required:
- name
properties:
type: boolean
Check:
type: object
+ title: Check
+ description: |
+ A patch check
properties:
id:
title: ID
- 'string'
CheckCreate:
type: object
+ title: Check
+ description: |
+ A patch check
required:
- state
properties:
- 'string'
Comment:
type: object
+ title: Comment
+ description: |
+ A comment
properties:
id:
title: ID
- 'boolean'
CommentUpdate:
type: object
+ title: Comment update
+ description: |
+ The fields to set on an existing comment.
properties:
addressed:
title: Addressed
- 'boolean'
CoverList:
type: object
+ title: Cover letters
+ description: |
+ A list of cover letters
properties:
id:
title: ID
format: uri
readOnly: true
CoverDetail:
+ type: object
+ title: Cover letters
+ description: |
+ A list of cover letters
allOf:
- $ref: '#/components/schemas/CoverList'
- type: object
minLength: 1
EventBase:
type: object
+ title: Event base
+ description: |
+ Base event. Not directly used.
properties:
id:
title: ID
payload:
type: object
EventCoverCreated:
+ title: Cover created event
+ description: |
+ A cover created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
cover:
$ref: '#/components/schemas/CoverEmbedded'
EventPatchCreated:
+ title: Patch created event
+ description: |
+ A patch created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
patch:
$ref: '#/components/schemas/PatchEmbedded'
EventPatchCompleted:
+ title: Patch completed event
+ description: |
+ A patch completed event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
series:
$ref: '#/components/schemas/SeriesEmbedded'
EventPatchStateChanged:
+ title: Patch state change event
+ description: |
+ A patch state changed event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
title: Current state
type: string
EventPatchRelationChanged:
+ title: Patch relation change event
+ description: |
+ A patch relation changed event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
- 'null'
- 'string'
EventPatchDelegated:
+ title: Patch delegated event
+ description: |
+ A patch delegated event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
current_delegate:
$ref: '#/components/schemas/UserEmbedded'
EventCheckCreated:
+ title: Check create event
+ description: |
+ A check created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
check:
$ref: '#/components/schemas/CheckEmbedded'
EventSeriesCreated:
+ title: Series create event
+ description: |
+ A series created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
series:
$ref: '#/components/schemas/SeriesEmbedded'
EventSeriesCompleted:
+ title: Series completed event
+ description: |
+ A series completed event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
series:
$ref: '#/components/schemas/SeriesEmbedded'
EventCoverCommentCreated:
+ title: Cover letter comment create event
+ description: |
+ A comment letter comment created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
comment:
$ref: '#/components/schemas/CommentEmbedded'
EventPatchCommentCreated:
+ title: Patch comment create event
+ description: |
+ A patch comment created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
- state
- delegate
type: object
+ title: Patches
+ description: |
+ A list of patches.
properties:
id:
title: ID
items:
$ref: '#/components/schemas/PatchEmbedded'
PatchDetail:
+ type: object
+ title: Patches
+ description: |
+ A list of patches.
allOf:
- $ref: '#/components/schemas/PatchList'
- type: object
readOnly: true
PatchUpdate:
type: object
+ title: Patch update
+ description: |
+ The fields to set on an existing patch.
properties:
commit_ref:
title: Commit ref
type: integer
Person:
type: object
+ title: Person
+ description: |
+ A person
properties:
id:
title: ID
- $ref: '#/components/schemas/UserEmbedded'
Project:
type: object
+ title: Project
+ description: |
+ A project.
properties:
id:
title: ID
type: string
Series:
type: object
+ title: Series
+ description: |
+ A series
properties:
id:
title: ID
uniqueItems: true
User:
type: object
+ title: User
+ description: |
+ A user
properties:
id:
title: ID
minLength: 1
UserDetail:
type: object
+ title: User
+ description: |
+ A user
allOf:
- $ref: '#/components/schemas/User'
- type: object
type: boolean
CheckEmbedded:
type: object
+ title: Check
+ description: |
+ A patch check
properties:
id:
title: ID
readOnly: true
CommentEmbedded:
type: object
+ title: Comment
+ description: |
+ A comment
properties:
id:
title: ID
minLength: 1
CoverEmbedded:
type: object
+ title: Cover letter
+ description: |
+ A cover letter
properties:
id:
title: ID
readOnly: true
PatchEmbedded:
type: object
+ title: Patch
+ description: |
+ A patch
properties:
id:
title: ID
readOnly: true
PersonEmbedded:
type: object
+ title: Person
+ description: |
+ A person
properties:
id:
title: ID
minLength: 1
ProjectEmbedded:
type: object
+ title: Project
+ description: |
+ A project
properties:
id:
title: ID
readOnly: true
SeriesEmbedded:
type: object
+ title: Series
+ description: |
+ A series
properties:
id:
title: ID
readOnly: true
UserEmbedded:
type: object
+ title: User
+ description: |
+ A user
properties:
id:
title: ID
minLength: 1
Error:
type: object
+ title: A generic error.
+ description: |
+ A generic error.
properties:
detail:
title: Detail
readOnly: true
ErrorBundleCreateUpdate:
type: object
+ title: A bundle creation or update error.
+ description: |
+ A mapping of field names to validation failures.
properties:
name:
title: Name
type: string
ErrorCheckCreate:
type: object
+ title: A check creation error.
+ description: |
+ A mapping of field names to validation failures.
properties:
state:
title: State
readOnly: true
ErrorCommentUpdate:
type: object
+ title: A comment update error.
+ description: |
+ A mapping of field names to validation failures.
properties:
addressed:
title: Addressed
type: string
ErrorPatchUpdate:
type: object
+ title: A patch update error.
+ description: |
+ A mapping of field names to validation failures.
properties:
state:
title: State
readOnly: true
ErrorProjectUpdate:
type: object
+ title: A project update error.
+ description: |
+ A mapping of field names to validation failures.
properties:
web_url:
title: Web URL
readOnly: true
ErrorUserUpdate:
type: object
+ title: A user update error.
+ description: |
+ A mapping of field names to validation failures.
properties:
first_name:
title: First name
basicAuth:
type: http
scheme: basic
+ description: |
+ Basic authentication. This should be avoided and may be removed in a future API release.
apiKeyAuth:
type: http
scheme: token
{% if version >= (1, 2) %}
Bundle:
required: true
+ description: |
+ A patch bundle.
content:
application/json:
schema:
{% endif %}
Check:
required: true
+ description: |
+ A patch check.
content:
application/json:
schema:
{% if version >= (1, 3) %}
Comment:
required: true
+ description: |
+ A patch or cover letter comment.
content:
application/json:
schema:
{% endif %}
Patch:
required: true
+ description: |
+ A patch.
content:
application/json:
schema:
$ref: '#/components/schemas/PatchUpdate'
Project:
required: true
+ description: |
+ A project.
content:
application/json:
schema:
$ref: '#/components/schemas/Project'
User:
required: true
+ description: |
+ A user.
content:
application/json:
schema:
schemas:
Index:
type: object
+ name: Index
+ description: |
+ Paths to resource APIs
properties:
bundles:
title: Bundles URL
required:
- name
type: object
+ title: Bundle
+ description: |
+ A patch bundle
properties:
id:
title: ID
{% if version >= (1, 2) %}
BundleCreateUpdate:
type: object
+ title: Bundle create or update
+ description: |
+ The fields to set on a new or existing bundle.
required:
- name
properties:
{% endif %}
Check:
type: object
+ title: Check
+ description: |
+ A patch check
properties:
id:
title: ID
- 'string'
CheckCreate:
type: object
+ title: Check
+ description: |
+ A patch check
required:
- state
properties:
- 'string'
Comment:
type: object
+ title: Comment
+ description: |
+ A comment
properties:
id:
title: ID
- 'boolean'
CommentUpdate:
type: object
+ title: Comment update
+ description: |
+ The fields to set on an existing comment.
properties:
addressed:
title: Addressed
{% endif %}
CoverList:
type: object
+ title: Cover letters
+ description: |
+ A list of cover letters
properties:
id:
title: ID
readOnly: true
{% endif %}
CoverDetail:
+ type: object
+ title: Cover letters
+ description: |
+ A list of cover letters
allOf:
- $ref: '#/components/schemas/CoverList'
- type: object
minLength: 1
EventBase:
type: object
+ title: Event base
+ description: |
+ Base event. Not directly used.
properties:
id:
title: ID
payload:
type: object
EventCoverCreated:
+ title: Cover created event
+ description: |
+ A cover created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
cover:
$ref: '#/components/schemas/CoverEmbedded'
EventPatchCreated:
+ title: Patch created event
+ description: |
+ A patch created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
patch:
$ref: '#/components/schemas/PatchEmbedded'
EventPatchCompleted:
+ title: Patch completed event
+ description: |
+ A patch completed event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
series:
$ref: '#/components/schemas/SeriesEmbedded'
EventPatchStateChanged:
+ title: Patch state change event
+ description: |
+ A patch state changed event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
title: Current state
type: string
EventPatchRelationChanged:
+ title: Patch relation change event
+ description: |
+ A patch relation changed event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
- 'null'
- 'string'
EventPatchDelegated:
+ title: Patch delegated event
+ description: |
+ A patch delegated event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
current_delegate:
$ref: '#/components/schemas/UserEmbedded'
EventCheckCreated:
+ title: Check create event
+ description: |
+ A check created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
check:
$ref: '#/components/schemas/CheckEmbedded'
EventSeriesCreated:
+ title: Series create event
+ description: |
+ A series created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
series:
$ref: '#/components/schemas/SeriesEmbedded'
EventSeriesCompleted:
+ title: Series completed event
+ description: |
+ A series completed event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
series:
$ref: '#/components/schemas/SeriesEmbedded'
EventCoverCommentCreated:
+ title: Cover letter comment create event
+ description: |
+ A comment letter comment created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
comment:
$ref: '#/components/schemas/CommentEmbedded'
EventPatchCommentCreated:
+ title: Patch comment create event
+ description: |
+ A patch comment created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
- state
- delegate
type: object
+ title: Patches
+ description: |
+ A list of patches.
properties:
id:
title: ID
$ref: '#/components/schemas/PatchEmbedded'
{% endif %}
PatchDetail:
+ type: object
+ title: Patches
+ description: |
+ A list of patches.
allOf:
- $ref: '#/components/schemas/PatchList'
- type: object
readOnly: true
PatchUpdate:
type: object
+ title: Patch update
+ description: |
+ The fields to set on an existing patch.
properties:
commit_ref:
title: Commit ref
{% endif %}
Person:
type: object
+ title: Person
+ description: |
+ A person
properties:
id:
title: ID
- $ref: '#/components/schemas/UserEmbedded'
Project:
type: object
+ title: Project
+ description: |
+ A project.
properties:
id:
title: ID
{% endif %}
Series:
type: object
+ title: Series
+ description: |
+ A series
properties:
id:
title: ID
uniqueItems: true
User:
type: object
+ title: User
+ description: |
+ A user
properties:
id:
title: ID
{% if version >= (1, 2) %}
UserDetail:
type: object
+ title: User
+ description: |
+ A user
allOf:
- $ref: '#/components/schemas/User'
- type: object
{% endif %}
CheckEmbedded:
type: object
+ title: Check
+ description: |
+ A patch check
properties:
id:
title: ID
readOnly: true
CommentEmbedded:
type: object
+ title: Comment
+ description: |
+ A comment
properties:
id:
title: ID
minLength: 1
CoverEmbedded:
type: object
+ title: Cover letter
+ description: |
+ A cover letter
properties:
id:
title: ID
readOnly: true
PatchEmbedded:
type: object
+ title: Patch
+ description: |
+ A patch
properties:
id:
title: ID
readOnly: true
PersonEmbedded:
type: object
+ title: Person
+ description: |
+ A person
properties:
id:
title: ID
minLength: 1
ProjectEmbedded:
type: object
+ title: Project
+ description: |
+ A project
properties:
id:
title: ID
{% endif %}
SeriesEmbedded:
type: object
+ title: Series
+ description: |
+ A series
properties:
id:
title: ID
readOnly: true
UserEmbedded:
type: object
+ title: User
+ description: |
+ A user
properties:
id:
title: ID
minLength: 1
Error:
type: object
+ title: A generic error.
+ description: |
+ A generic error.
properties:
detail:
title: Detail
{% if version >= (1, 2) %}
ErrorBundleCreateUpdate:
type: object
+ title: A bundle creation or update error.
+ description: |
+ A mapping of field names to validation failures.
properties:
name:
title: Name
{% endif %}
ErrorCheckCreate:
type: object
+ title: A check creation error.
+ description: |
+ A mapping of field names to validation failures.
properties:
state:
title: State
{% if version >= (1, 3) %}
ErrorCommentUpdate:
type: object
+ title: A comment update error.
+ description: |
+ A mapping of field names to validation failures.
properties:
addressed:
title: Addressed
{% endif %}
ErrorPatchUpdate:
type: object
+ title: A patch update error.
+ description: |
+ A mapping of field names to validation failures.
properties:
state:
title: State
readOnly: true
ErrorProjectUpdate:
type: object
+ title: A project update error.
+ description: |
+ A mapping of field names to validation failures.
properties:
web_url:
title: Web URL
readOnly: true
ErrorUserUpdate:
type: object
+ title: A user update error.
+ description: |
+ A mapping of field names to validation failures.
properties:
first_name:
title: First name
basicAuth:
type: http
scheme: basic
+ description: |
+ Basic authentication. This should be avoided and may be removed in a future API release.
apiKeyAuth:
type: http
scheme: token
requestBodies:
Check:
required: true
+ description: |
+ A patch check.
content:
application/json:
schema:
$ref: '#/components/schemas/CheckCreate'
Patch:
required: true
+ description: |
+ A patch.
content:
application/json:
schema:
$ref: '#/components/schemas/PatchUpdate'
Project:
required: true
+ description: |
+ A project.
content:
application/json:
schema:
$ref: '#/components/schemas/Project'
User:
required: true
+ description: |
+ A user.
content:
application/json:
schema:
schemas:
Index:
type: object
+ name: Index
+ description: |
+ Paths to resource APIs
properties:
bundles:
title: Bundles URL
required:
- name
type: object
+ title: Bundle
+ description: |
+ A patch bundle
properties:
id:
title: ID
readOnly: true
Check:
type: object
+ title: Check
+ description: |
+ A patch check
properties:
id:
title: ID
- 'string'
CheckCreate:
type: object
+ title: Check
+ description: |
+ A patch check
required:
- state
properties:
- 'string'
Comment:
type: object
+ title: Comment
+ description: |
+ A comment
properties:
id:
title: ID
readOnly: true
CoverList:
type: object
+ title: Cover letters
+ description: |
+ A list of cover letters
properties:
id:
title: ID
$ref: '#/components/schemas/SeriesEmbedded'
readOnly: true
CoverDetail:
+ type: object
+ title: Cover letters
+ description: |
+ A list of cover letters
allOf:
- $ref: '#/components/schemas/CoverList'
- type: object
minLength: 1
EventBase:
type: object
+ title: Event base
+ description: |
+ Base event. Not directly used.
properties:
id:
title: ID
payload:
type: object
EventCoverCreated:
+ title: Cover created event
+ description: |
+ A cover created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
cover:
$ref: '#/components/schemas/CoverEmbedded'
EventPatchCreated:
+ title: Patch created event
+ description: |
+ A patch created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
patch:
$ref: '#/components/schemas/PatchEmbedded'
EventPatchCompleted:
+ title: Patch completed event
+ description: |
+ A patch completed event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
series:
$ref: '#/components/schemas/SeriesEmbedded'
EventPatchStateChanged:
+ title: Patch state change event
+ description: |
+ A patch state changed event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
title: Current state
type: string
EventPatchRelationChanged:
+ title: Patch relation change event
+ description: |
+ A patch relation changed event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
- 'null'
- 'string'
EventPatchDelegated:
+ title: Patch delegated event
+ description: |
+ A patch delegated event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
current_delegate:
$ref: '#/components/schemas/UserEmbedded'
EventCheckCreated:
+ title: Check create event
+ description: |
+ A check created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
check:
$ref: '#/components/schemas/CheckEmbedded'
EventSeriesCreated:
+ title: Series create event
+ description: |
+ A series created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
series:
$ref: '#/components/schemas/SeriesEmbedded'
EventSeriesCompleted:
+ title: Series completed event
+ description: |
+ A series completed event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
series:
$ref: '#/components/schemas/SeriesEmbedded'
EventCoverCommentCreated:
+ title: Cover letter comment create event
+ description: |
+ A comment letter comment created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
comment:
$ref: '#/components/schemas/CommentEmbedded'
EventPatchCommentCreated:
+ title: Patch comment create event
+ description: |
+ A patch comment created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
- state
- delegate
type: object
+ title: Patches
+ description: |
+ A list of patches.
properties:
id:
title: ID
type: string
readOnly: true
PatchDetail:
+ type: object
+ title: Patches
+ description: |
+ A list of patches.
allOf:
- $ref: '#/components/schemas/PatchList'
- type: object
readOnly: true
PatchUpdate:
type: object
+ title: Patch update
+ description: |
+ The fields to set on an existing patch.
properties:
commit_ref:
title: Commit ref
- 'integer'
Person:
type: object
+ title: Person
+ description: |
+ A person
properties:
id:
title: ID
- $ref: '#/components/schemas/UserEmbedded'
Project:
type: object
+ title: Project
+ description: |
+ A project.
properties:
id:
title: ID
uniqueItems: true
Series:
type: object
+ title: Series
+ description: |
+ A series
properties:
id:
title: ID
uniqueItems: true
User:
type: object
+ title: User
+ description: |
+ A user
properties:
id:
title: ID
minLength: 1
CheckEmbedded:
type: object
+ title: Check
+ description: |
+ A patch check
properties:
id:
title: ID
readOnly: true
CommentEmbedded:
type: object
+ title: Comment
+ description: |
+ A comment
properties:
id:
title: ID
minLength: 1
CoverEmbedded:
type: object
+ title: Cover letter
+ description: |
+ A cover letter
properties:
id:
title: ID
readOnly: true
PatchEmbedded:
type: object
+ title: Patch
+ description: |
+ A patch
properties:
id:
title: ID
readOnly: true
PersonEmbedded:
type: object
+ title: Person
+ description: |
+ A person
properties:
id:
title: ID
minLength: 1
ProjectEmbedded:
type: object
+ title: Project
+ description: |
+ A project
properties:
id:
title: ID
maxLength: 2000
SeriesEmbedded:
type: object
+ title: Series
+ description: |
+ A series
properties:
id:
title: ID
readOnly: true
UserEmbedded:
type: object
+ title: User
+ description: |
+ A user
properties:
id:
title: ID
minLength: 1
Error:
type: object
+ title: A generic error.
+ description: |
+ A generic error.
properties:
detail:
title: Detail
readOnly: true
ErrorCheckCreate:
type: object
+ title: A check creation error.
+ description: |
+ A mapping of field names to validation failures.
properties:
state:
title: State
readOnly: true
ErrorPatchUpdate:
type: object
+ title: A patch update error.
+ description: |
+ A mapping of field names to validation failures.
properties:
state:
title: State
readOnly: true
ErrorProjectUpdate:
type: object
+ title: A project update error.
+ description: |
+ A mapping of field names to validation failures.
properties:
web_url:
title: Web URL
readOnly: true
ErrorUserUpdate:
type: object
+ title: A user update error.
+ description: |
+ A mapping of field names to validation failures.
properties:
first_name:
title: First name
basicAuth:
type: http
scheme: basic
+ description: |
+ Basic authentication. This should be avoided and may be removed in a future API release.
apiKeyAuth:
type: http
scheme: token
requestBodies:
Check:
required: true
+ description: |
+ A patch check.
content:
application/json:
schema:
$ref: '#/components/schemas/CheckCreate'
Patch:
required: true
+ description: |
+ A patch.
content:
application/json:
schema:
$ref: '#/components/schemas/PatchUpdate'
Project:
required: true
+ description: |
+ A project.
content:
application/json:
schema:
$ref: '#/components/schemas/Project'
User:
required: true
+ description: |
+ A user.
content:
application/json:
schema:
schemas:
Index:
type: object
+ name: Index
+ description: |
+ Paths to resource APIs
properties:
bundles:
title: Bundles URL
required:
- name
type: object
+ title: Bundle
+ description: |
+ A patch bundle
properties:
id:
title: ID
readOnly: true
Check:
type: object
+ title: Check
+ description: |
+ A patch check
properties:
id:
title: ID
- 'string'
CheckCreate:
type: object
+ title: Check
+ description: |
+ A patch check
required:
- state
properties:
- 'string'
Comment:
type: object
+ title: Comment
+ description: |
+ A comment
properties:
id:
title: ID
readOnly: true
CoverList:
type: object
+ title: Cover letters
+ description: |
+ A list of cover letters
properties:
id:
title: ID
format: uri
readOnly: true
CoverDetail:
+ type: object
+ title: Cover letters
+ description: |
+ A list of cover letters
allOf:
- $ref: '#/components/schemas/CoverList'
- type: object
minLength: 1
EventBase:
type: object
+ title: Event base
+ description: |
+ Base event. Not directly used.
properties:
id:
title: ID
payload:
type: object
EventCoverCreated:
+ title: Cover created event
+ description: |
+ A cover created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
cover:
$ref: '#/components/schemas/CoverEmbedded'
EventPatchCreated:
+ title: Patch created event
+ description: |
+ A patch created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
patch:
$ref: '#/components/schemas/PatchEmbedded'
EventPatchCompleted:
+ title: Patch completed event
+ description: |
+ A patch completed event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
series:
$ref: '#/components/schemas/SeriesEmbedded'
EventPatchStateChanged:
+ title: Patch state change event
+ description: |
+ A patch state changed event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
title: Current state
type: string
EventPatchRelationChanged:
+ title: Patch relation change event
+ description: |
+ A patch relation changed event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
- 'null'
- 'string'
EventPatchDelegated:
+ title: Patch delegated event
+ description: |
+ A patch delegated event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
current_delegate:
$ref: '#/components/schemas/UserEmbedded'
EventCheckCreated:
+ title: Check create event
+ description: |
+ A check created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
check:
$ref: '#/components/schemas/CheckEmbedded'
EventSeriesCreated:
+ title: Series create event
+ description: |
+ A series created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
series:
$ref: '#/components/schemas/SeriesEmbedded'
EventSeriesCompleted:
+ title: Series completed event
+ description: |
+ A series completed event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
series:
$ref: '#/components/schemas/SeriesEmbedded'
EventCoverCommentCreated:
+ title: Cover letter comment create event
+ description: |
+ A comment letter comment created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
comment:
$ref: '#/components/schemas/CommentEmbedded'
EventPatchCommentCreated:
+ title: Patch comment create event
+ description: |
+ A patch comment created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
- state
- delegate
type: object
+ title: Patches
+ description: |
+ A list of patches.
properties:
id:
title: ID
type: string
readOnly: true
PatchDetail:
+ type: object
+ title: Patches
+ description: |
+ A list of patches.
allOf:
- $ref: '#/components/schemas/PatchList'
- type: object
readOnly: true
PatchUpdate:
type: object
+ title: Patch update
+ description: |
+ The fields to set on an existing patch.
properties:
commit_ref:
title: Commit ref
- 'integer'
Person:
type: object
+ title: Person
+ description: |
+ A person
properties:
id:
title: ID
- $ref: '#/components/schemas/UserEmbedded'
Project:
type: object
+ title: Project
+ description: |
+ A project.
properties:
id:
title: ID
maxLength: 64
Series:
type: object
+ title: Series
+ description: |
+ A series
properties:
id:
title: ID
uniqueItems: true
User:
type: object
+ title: User
+ description: |
+ A user
properties:
id:
title: ID
minLength: 1
CheckEmbedded:
type: object
+ title: Check
+ description: |
+ A patch check
properties:
id:
title: ID
readOnly: true
CommentEmbedded:
type: object
+ title: Comment
+ description: |
+ A comment
properties:
id:
title: ID
minLength: 1
CoverEmbedded:
type: object
+ title: Cover letter
+ description: |
+ A cover letter
properties:
id:
title: ID
readOnly: true
PatchEmbedded:
type: object
+ title: Patch
+ description: |
+ A patch
properties:
id:
title: ID
readOnly: true
PersonEmbedded:
type: object
+ title: Person
+ description: |
+ A person
properties:
id:
title: ID
minLength: 1
ProjectEmbedded:
type: object
+ title: Project
+ description: |
+ A project
properties:
id:
title: ID
maxLength: 2000
SeriesEmbedded:
type: object
+ title: Series
+ description: |
+ A series
properties:
id:
title: ID
readOnly: true
UserEmbedded:
type: object
+ title: User
+ description: |
+ A user
properties:
id:
title: ID
minLength: 1
Error:
type: object
+ title: A generic error.
+ description: |
+ A generic error.
properties:
detail:
title: Detail
readOnly: true
ErrorCheckCreate:
type: object
+ title: A check creation error.
+ description: |
+ A mapping of field names to validation failures.
properties:
state:
title: State
readOnly: true
ErrorPatchUpdate:
type: object
+ title: A patch update error.
+ description: |
+ A mapping of field names to validation failures.
properties:
state:
title: State
readOnly: true
ErrorProjectUpdate:
type: object
+ title: A project update error.
+ description: |
+ A mapping of field names to validation failures.
properties:
web_url:
title: Web URL
readOnly: true
ErrorUserUpdate:
type: object
+ title: A user update error.
+ description: |
+ A mapping of field names to validation failures.
properties:
first_name:
title: First name
basicAuth:
type: http
scheme: basic
+ description: |
+ Basic authentication. This should be avoided and may be removed in a future API release.
apiKeyAuth:
type: http
scheme: token
requestBodies:
Bundle:
required: true
+ description: |
+ A patch bundle.
content:
application/json:
schema:
$ref: '#/components/schemas/BundleCreateUpdate'
Check:
required: true
+ description: |
+ A patch check.
content:
application/json:
schema:
$ref: '#/components/schemas/CheckCreate'
Patch:
required: true
+ description: |
+ A patch.
content:
application/json:
schema:
$ref: '#/components/schemas/PatchUpdate'
Project:
required: true
+ description: |
+ A project.
content:
application/json:
schema:
$ref: '#/components/schemas/Project'
User:
required: true
+ description: |
+ A user.
content:
application/json:
schema:
schemas:
Index:
type: object
+ name: Index
+ description: |
+ Paths to resource APIs
properties:
bundles:
title: Bundles URL
required:
- name
type: object
+ title: Bundle
+ description: |
+ A patch bundle
properties:
id:
title: ID
readOnly: true
BundleCreateUpdate:
type: object
+ title: Bundle create or update
+ description: |
+ The fields to set on a new or existing bundle.
required:
- name
properties:
type: boolean
Check:
type: object
+ title: Check
+ description: |
+ A patch check
properties:
id:
title: ID
- 'string'
CheckCreate:
type: object
+ title: Check
+ description: |
+ A patch check
required:
- state
properties:
- 'string'
Comment:
type: object
+ title: Comment
+ description: |
+ A comment
properties:
id:
title: ID
readOnly: true
CoverList:
type: object
+ title: Cover letters
+ description: |
+ A list of cover letters
properties:
id:
title: ID
format: uri
readOnly: true
CoverDetail:
+ type: object
+ title: Cover letters
+ description: |
+ A list of cover letters
allOf:
- $ref: '#/components/schemas/CoverList'
- type: object
minLength: 1
EventBase:
type: object
+ title: Event base
+ description: |
+ Base event. Not directly used.
properties:
id:
title: ID
payload:
type: object
EventCoverCreated:
+ title: Cover created event
+ description: |
+ A cover created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
cover:
$ref: '#/components/schemas/CoverEmbedded'
EventPatchCreated:
+ title: Patch created event
+ description: |
+ A patch created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
patch:
$ref: '#/components/schemas/PatchEmbedded'
EventPatchCompleted:
+ title: Patch completed event
+ description: |
+ A patch completed event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
series:
$ref: '#/components/schemas/SeriesEmbedded'
EventPatchStateChanged:
+ title: Patch state change event
+ description: |
+ A patch state changed event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
title: Current state
type: string
EventPatchRelationChanged:
+ title: Patch relation change event
+ description: |
+ A patch relation changed event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
- 'null'
- 'string'
EventPatchDelegated:
+ title: Patch delegated event
+ description: |
+ A patch delegated event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
current_delegate:
$ref: '#/components/schemas/UserEmbedded'
EventCheckCreated:
+ title: Check create event
+ description: |
+ A check created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
check:
$ref: '#/components/schemas/CheckEmbedded'
EventSeriesCreated:
+ title: Series create event
+ description: |
+ A series created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
series:
$ref: '#/components/schemas/SeriesEmbedded'
EventSeriesCompleted:
+ title: Series completed event
+ description: |
+ A series completed event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
series:
$ref: '#/components/schemas/SeriesEmbedded'
EventCoverCommentCreated:
+ title: Cover letter comment create event
+ description: |
+ A comment letter comment created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
comment:
$ref: '#/components/schemas/CommentEmbedded'
EventPatchCommentCreated:
+ title: Patch comment create event
+ description: |
+ A patch comment created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
- state
- delegate
type: object
+ title: Patches
+ description: |
+ A list of patches.
properties:
id:
title: ID
items:
$ref: '#/components/schemas/PatchEmbedded'
PatchDetail:
+ type: object
+ title: Patches
+ description: |
+ A list of patches.
allOf:
- $ref: '#/components/schemas/PatchList'
- type: object
readOnly: true
PatchUpdate:
type: object
+ title: Patch update
+ description: |
+ The fields to set on an existing patch.
properties:
commit_ref:
title: Commit ref
type: integer
Person:
type: object
+ title: Person
+ description: |
+ A person
properties:
id:
title: ID
- $ref: '#/components/schemas/UserEmbedded'
Project:
type: object
+ title: Project
+ description: |
+ A project.
properties:
id:
title: ID
type: string
Series:
type: object
+ title: Series
+ description: |
+ A series
properties:
id:
title: ID
uniqueItems: true
User:
type: object
+ title: User
+ description: |
+ A user
properties:
id:
title: ID
minLength: 1
UserDetail:
type: object
+ title: User
+ description: |
+ A user
allOf:
- $ref: '#/components/schemas/User'
- type: object
type: boolean
CheckEmbedded:
type: object
+ title: Check
+ description: |
+ A patch check
properties:
id:
title: ID
readOnly: true
CommentEmbedded:
type: object
+ title: Comment
+ description: |
+ A comment
properties:
id:
title: ID
minLength: 1
CoverEmbedded:
type: object
+ title: Cover letter
+ description: |
+ A cover letter
properties:
id:
title: ID
readOnly: true
PatchEmbedded:
type: object
+ title: Patch
+ description: |
+ A patch
properties:
id:
title: ID
readOnly: true
PersonEmbedded:
type: object
+ title: Person
+ description: |
+ A person
properties:
id:
title: ID
minLength: 1
ProjectEmbedded:
type: object
+ title: Project
+ description: |
+ A project
properties:
id:
title: ID
readOnly: true
SeriesEmbedded:
type: object
+ title: Series
+ description: |
+ A series
properties:
id:
title: ID
readOnly: true
UserEmbedded:
type: object
+ title: User
+ description: |
+ A user
properties:
id:
title: ID
minLength: 1
Error:
type: object
+ title: A generic error.
+ description: |
+ A generic error.
properties:
detail:
title: Detail
readOnly: true
ErrorBundleCreateUpdate:
type: object
+ title: A bundle creation or update error.
+ description: |
+ A mapping of field names to validation failures.
properties:
name:
title: Name
type: string
ErrorCheckCreate:
type: object
+ title: A check creation error.
+ description: |
+ A mapping of field names to validation failures.
properties:
state:
title: State
readOnly: true
ErrorPatchUpdate:
type: object
+ title: A patch update error.
+ description: |
+ A mapping of field names to validation failures.
properties:
state:
title: State
readOnly: true
ErrorProjectUpdate:
type: object
+ title: A project update error.
+ description: |
+ A mapping of field names to validation failures.
properties:
web_url:
title: Web URL
readOnly: true
ErrorUserUpdate:
type: object
+ title: A user update error.
+ description: |
+ A mapping of field names to validation failures.
properties:
first_name:
title: First name
basicAuth:
type: http
scheme: basic
+ description: |
+ Basic authentication. This should be avoided and may be removed in a future API release.
apiKeyAuth:
type: http
scheme: token
requestBodies:
Bundle:
required: true
+ description: |
+ A patch bundle.
content:
application/json:
schema:
$ref: '#/components/schemas/BundleCreateUpdate'
Check:
required: true
+ description: |
+ A patch check.
content:
application/json:
schema:
$ref: '#/components/schemas/CheckCreate'
Comment:
required: true
+ description: |
+ A patch or cover letter comment.
content:
application/json:
schema:
$ref: '#/components/schemas/CommentUpdate'
Patch:
required: true
+ description: |
+ A patch.
content:
application/json:
schema:
$ref: '#/components/schemas/PatchUpdate'
Project:
required: true
+ description: |
+ A project.
content:
application/json:
schema:
$ref: '#/components/schemas/Project'
User:
required: true
+ description: |
+ A user.
content:
application/json:
schema:
schemas:
Index:
type: object
+ name: Index
+ description: |
+ Paths to resource APIs
properties:
bundles:
title: Bundles URL
required:
- name
type: object
+ title: Bundle
+ description: |
+ A patch bundle
properties:
id:
title: ID
readOnly: true
BundleCreateUpdate:
type: object
+ title: Bundle create or update
+ description: |
+ The fields to set on a new or existing bundle.
required:
- name
properties:
type: boolean
Check:
type: object
+ title: Check
+ description: |
+ A patch check
properties:
id:
title: ID
- 'string'
CheckCreate:
type: object
+ title: Check
+ description: |
+ A patch check
required:
- state
properties:
- 'string'
Comment:
type: object
+ title: Comment
+ description: |
+ A comment
properties:
id:
title: ID
- 'boolean'
CommentUpdate:
type: object
+ title: Comment update
+ description: |
+ The fields to set on an existing comment.
properties:
addressed:
title: Addressed
- 'boolean'
CoverList:
type: object
+ title: Cover letters
+ description: |
+ A list of cover letters
properties:
id:
title: ID
format: uri
readOnly: true
CoverDetail:
+ type: object
+ title: Cover letters
+ description: |
+ A list of cover letters
allOf:
- $ref: '#/components/schemas/CoverList'
- type: object
minLength: 1
EventBase:
type: object
+ title: Event base
+ description: |
+ Base event. Not directly used.
properties:
id:
title: ID
payload:
type: object
EventCoverCreated:
+ title: Cover created event
+ description: |
+ A cover created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
cover:
$ref: '#/components/schemas/CoverEmbedded'
EventPatchCreated:
+ title: Patch created event
+ description: |
+ A patch created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
patch:
$ref: '#/components/schemas/PatchEmbedded'
EventPatchCompleted:
+ title: Patch completed event
+ description: |
+ A patch completed event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
series:
$ref: '#/components/schemas/SeriesEmbedded'
EventPatchStateChanged:
+ title: Patch state change event
+ description: |
+ A patch state changed event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
title: Current state
type: string
EventPatchRelationChanged:
+ title: Patch relation change event
+ description: |
+ A patch relation changed event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
- 'null'
- 'string'
EventPatchDelegated:
+ title: Patch delegated event
+ description: |
+ A patch delegated event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
current_delegate:
$ref: '#/components/schemas/UserEmbedded'
EventCheckCreated:
+ title: Check create event
+ description: |
+ A check created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
check:
$ref: '#/components/schemas/CheckEmbedded'
EventSeriesCreated:
+ title: Series create event
+ description: |
+ A series created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
series:
$ref: '#/components/schemas/SeriesEmbedded'
EventSeriesCompleted:
+ title: Series completed event
+ description: |
+ A series completed event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
series:
$ref: '#/components/schemas/SeriesEmbedded'
EventCoverCommentCreated:
+ title: Cover letter comment create event
+ description: |
+ A comment letter comment created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
comment:
$ref: '#/components/schemas/CommentEmbedded'
EventPatchCommentCreated:
+ title: Patch comment create event
+ description: |
+ A patch comment created event.
allOf:
- $ref: '#/components/schemas/EventBase'
- type: object
- state
- delegate
type: object
+ title: Patches
+ description: |
+ A list of patches.
properties:
id:
title: ID
items:
$ref: '#/components/schemas/PatchEmbedded'
PatchDetail:
+ type: object
+ title: Patches
+ description: |
+ A list of patches.
allOf:
- $ref: '#/components/schemas/PatchList'
- type: object
readOnly: true
PatchUpdate:
type: object
+ title: Patch update
+ description: |
+ The fields to set on an existing patch.
properties:
commit_ref:
title: Commit ref
type: integer
Person:
type: object
+ title: Person
+ description: |
+ A person
properties:
id:
title: ID
- $ref: '#/components/schemas/UserEmbedded'
Project:
type: object
+ title: Project
+ description: |
+ A project.
properties:
id:
title: ID
type: string
Series:
type: object
+ title: Series
+ description: |
+ A series
properties:
id:
title: ID
uniqueItems: true
User:
type: object
+ title: User
+ description: |
+ A user
properties:
id:
title: ID
minLength: 1
UserDetail:
type: object
+ title: User
+ description: |
+ A user
allOf:
- $ref: '#/components/schemas/User'
- type: object
type: boolean
CheckEmbedded:
type: object
+ title: Check
+ description: |
+ A patch check
properties:
id:
title: ID
readOnly: true
CommentEmbedded:
type: object
+ title: Comment
+ description: |
+ A comment
properties:
id:
title: ID
minLength: 1
CoverEmbedded:
type: object
+ title: Cover letter
+ description: |
+ A cover letter
properties:
id:
title: ID
readOnly: true
PatchEmbedded:
type: object
+ title: Patch
+ description: |
+ A patch
properties:
id:
title: ID
readOnly: true
PersonEmbedded:
type: object
+ title: Person
+ description: |
+ A person
properties:
id:
title: ID
minLength: 1
ProjectEmbedded:
type: object
+ title: Project
+ description: |
+ A project
properties:
id:
title: ID
readOnly: true
SeriesEmbedded:
type: object
+ title: Series
+ description: |
+ A series
properties:
id:
title: ID
readOnly: true
UserEmbedded:
type: object
+ title: User
+ description: |
+ A user
properties:
id:
title: ID
minLength: 1
Error:
type: object
+ title: A generic error.
+ description: |
+ A generic error.
properties:
detail:
title: Detail
readOnly: true
ErrorBundleCreateUpdate:
type: object
+ title: A bundle creation or update error.
+ description: |
+ A mapping of field names to validation failures.
properties:
name:
title: Name
type: string
ErrorCheckCreate:
type: object
+ title: A check creation error.
+ description: |
+ A mapping of field names to validation failures.
properties:
state:
title: State
readOnly: true
ErrorCommentUpdate:
type: object
+ title: A comment update error.
+ description: |
+ A mapping of field names to validation failures.
properties:
addressed:
title: Addressed
type: string
ErrorPatchUpdate:
type: object
+ title: A patch update error.
+ description: |
+ A mapping of field names to validation failures.
properties:
state:
title: State
readOnly: true
ErrorProjectUpdate:
type: object
+ title: A project update error.
+ description: |
+ A mapping of field names to validation failures.
properties:
web_url:
title: Web URL
readOnly: true
ErrorUserUpdate:
type: object
+ title: A user update error.
+ description: |
+ A mapping of field names to validation failures.
properties:
first_name:
title: First name