Fedora Repository Project
  1. Fedora Repository Project
  2. FCREPO-742

REST endpoint purgeRelationship does not indicate if the relationship was purged

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Fedora 3.4
    • Fix Version/s: None
    • Component/s: Fedora
    • Labels:
      None
    • Roadmap Theme:
      Interface: REST/HTTP

      Description

      The current implementation of the purgeRelationship REST endpoint does not indicate if a relation was actually purged. It returns "204 no content" in all cases. It should however return whether the operation succeeded or not (as supported by the respective APIM method).

        Activity

        Hide
        Edwin Shin added a comment -
        fixed in r8715 (now returns a 200 status code w/ response body of "true" or "false" depending on whether or not the purge succeeded).
        Show
        Edwin Shin added a comment - fixed in r8715 (now returns a 200 status code w/ response body of "true" or "false" depending on whether or not the purge succeeded).

          People

          • Assignee:
            Edwin Shin
            Reporter:
            Kai St [X] (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: