mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-09-29 22:25:59 +00:00
Add an updated_at field to the API call for issue's attachment creation
The update date is applied to the issue's comment created to inform about the modification of the issue's content, and is set as the asset creation date.
This commit is contained in:
parent
ea36cf80f5
commit
96150971ca
5 changed files with 45 additions and 6 deletions
7
templates/swagger/v1_json.tmpl
generated
7
templates/swagger/v1_json.tmpl
generated
|
@ -6718,6 +6718,13 @@
|
|||
"name": "name",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"description": "time of the attachment's creation. This is a timestamp in RFC 3339 format",
|
||||
"name": "updated_at",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "file",
|
||||
"description": "attachment to upload",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue