]> git.ipfire.org Git - thirdparty/patchwork.git/commit
docs: Resolve issues with 'events'
authorStephen Finucane <stephen@that.guru>
Thu, 16 Apr 2020 12:45:28 +0000 (13:45 +0100)
committerStephen Finucane <stephen@that.guru>
Sat, 18 Apr 2020 10:57:28 +0000 (11:57 +0100)
commit6bd33cbd72eacf630e603d1e5b5ce266452fc2cb
treee644c1e786310955e7817d2d143b32a3491f1f04
parentd11c8e25b982ebc9697ab725a53585781816bba1
docs: Resolve issues with 'events'

Four things to change here:

- The response is any array that can contain any type of event, not one
  of them.
- The 'actor' field is nullable.
- The 'cover' field of the 'cover-created' event is an embedded cover
  letter, not a string.
- The specifications for the 'current_delegate' and 'previous_delegate'
  fields of the 'patch-delegated' field were apparently invalid.

Signed-off-by: Stephen Finucane <stephen@that.guru>
docs/api/schemas/latest/patchwork.yaml
docs/api/schemas/patchwork.j2
docs/api/schemas/v1.0/patchwork.yaml
docs/api/schemas/v1.1/patchwork.yaml
docs/api/schemas/v1.2/patchwork.yaml
patchwork/tests/api/test_event.py