#1829  Data is null in API response for /~api/repositories/{id}/commits/{hash}
Closed
Nika opened 4 weeks ago

In some recent updates this api method now returns null in all fields except hash. Example:

{
    "hash": "d3a93e72bcb9ff79352207c1f7ca288870b7c806",
    "subject": null,
    "body": null,
    "commitDate": null,
    "committer": null,
    "author": null,
    "parentHashes": null,
    "fileChanges": null
}

Same results even for old commits, which have been worked before

Robin Shen changed state to 'Closed' 4 weeks ago
Previous Value Current Value
Open
Closed
Robin Shen commented 4 weeks ago

RESTful api to get commit detail has been changed in 10.1.0 and was documented in incompatiblity change:

https://code.onedev.io/~help/incompatibilities#1010

Nika commented 4 weeks ago

Thanks. Sorry for inconvenience

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
Affected Versions
10.2.x, 10.3.x
Labels
No labels
Issue Votes (0)
Watchers (3)
Reference
onedev/server#1829
Please wait...
Page is in error, reload to recover