View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0023648 | mantisbt | api rest | public | 2017-11-18 01:50 | 2017-12-04 02:17 |
Reporter | vboctor | Assigned To | vboctor | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Product Version | 2.8.0 | ||||
Target Version | 2.9.0 | Fixed in Version | 2.9.0 | ||
Summary | 0023648: Leverage ETag headers when getting issues | ||||
Description | When returning issues return an If | ||||
Tags | No tags attached. | ||||
MantisBT: master df983732 2017-11-17 20:53 Details Diff |
Use `ETag` and `If-None-Match` when getting issues When getting an issue, return an `ETag`, even if the issue doesn’t exist. When request contains `If-None-Match` and hash matches, then return `304 Not Modified`. The 304 response will be returned whether issue exists or not. The hash depends on: - a hasing version - user id - issue id - issue last updated Fixes 0023648 |
Affected Issues 0023648 |
|
mod - api/rest/restcore/issues_rest.php | Diff File | ||
mod - core/bug_api.php | Diff File | ||
mod - core/constant_inc.php | Diff File | ||
MantisBT: master d7ec37d2 2017-11-17 21:52 Details Diff |
Return etag when getting issue that doesn’t exist Fixes 0023648 |
Affected Issues 0023648 |
|
mod - api/rest/restcore/issues_rest.php | Diff File | ||
MantisBT: master 731be88f 2017-11-18 22:08 Details Diff |
Hash get issue output for etag - Base the etag hash calculation on hash of the result json. - Apply etag to get single issue or paginated output of multiple issues. Fixes 0023648 |
Affected Issues 0023648 |
|
mod - api/rest/restcore/issues_rest.php | Diff File | ||
mod - api/soap/mc_api.php | Diff File | ||
mod - api/soap/mc_issue_api.php | Diff File |