diff options
author | Johan Herland <johan@herland.net> | 2019-12-01 02:49:54 +0100 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2019-12-01 11:59:37 +0000 |
commit | de36300a2f78c7d22e9f6879342b99ad1c4586b2 (patch) | |
tree | c220359922999185bd87f87a8c74eba28cb98f4d /docs/api/schemas/latest | |
parent | 79a3efb63a3ac2dea0382a4d6ec1b675a7b154c9 (diff) | |
download | patchwork-de36300a2f78c7d22e9f6879342b99ad1c4586b2.tar patchwork-de36300a2f78c7d22e9f6879342b99ad1c4586b2.tar.gz |
REST: Add 'actor' field to '/events' model
Signed-off-by: Johan Herland <johan@herland.net>
Reviewed-by: Stephen Finucane <stephen@that.guru>
Acked-by: Daniel Axtens <dja@axtens.net>
Cc: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Closes: #73
Diffstat (limited to 'docs/api/schemas/latest')
-rw-r--r-- | docs/api/schemas/latest/patchwork.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/api/schemas/latest/patchwork.yaml b/docs/api/schemas/latest/patchwork.yaml index 6c7564b..fc23cdb 100644 --- a/docs/api/schemas/latest/patchwork.yaml +++ b/docs/api/schemas/latest/patchwork.yaml @@ -1649,6 +1649,13 @@ components: type: string format: iso8601 readOnly: true + actor: + type: object + title: Actor + description: The user that caused/created this event. + readOnly: true + allOf: + - $ref: '#/components/schemas/UserEmbedded' payload: type: object EventCoverCreated: |