Non-json response in REST API (OD-2000)
Senderman opened 1 year ago

Found REST API endpoint which responds with simple string, not json, which may be unexpected for some developers and also a bad practice. Moreover, this endpoint still return Content-Type: application/json header.

https://code.onedev.io/~help/api/io.onedev.server.rest.resource.ProjectResource/getPath

  • OneDev changed state to 'Closed' 1 year ago
    Previous Value Current Value
    Open
    Closed
  • OneDev commented 1 year ago

    State changed as code fixing the issue is committed (9daf03c4)

  • OneDev changed state to 'Released' 1 year ago
    Previous Value Current Value
    Closed
    Released
  • OneDev commented 1 year ago

    State changed as build OD-5285 is successful

issue 1/1
Type
Bug
Priority
Minor
Assignee
Affected Versions
10.9.8
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-2000
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover