Open APIs

Expand all | Collapse all

Delete Resource Pattern

  • 1.  Delete Resource Pattern

    TM Forum Member
    Posted 20 days ago
      |   view attached

    Attached document `TMF630_REST_API_Design_Guidelines_3.0_Part_1 _R17.5.1.pdf` in page number 67

    Section - 7. Delete Resource Pattern

    A Delete operation MUST return exactly one resource.

    Does it mean that we should always return the deleted resource in the response body?



    ------------------------------
    Pradeep Reddy Dodla
    Oracle Corporation
    ------------------------------


  • 2.  RE: Delete Resource Pattern

    TM Forum Member
    Posted 19 days ago
    Hi Pradeep
    Thanks for the catch. I think that this is a mistake and we need to fix it. I'll open a JIRA issue.
    The DELETE operation is supposed to return 204 (successful delete, no content), and indeed in API generated swaggers this is the only supported response.

    ------------------------------
    Jonathan Goldberg
    Amdocs Management Limited
    Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
    ------------------------------



  • 3.  RE: Delete Resource Pattern

    TM Forum Member
    Posted 18 days ago

    Hi Jonathan,

    Thanks for the response.

    Please let me know if you have already raised a JIRA issue. If yes, can you please share the link? 



    ------------------------------
    Pradeep Reddy Dodla
    Oracle Corporation
    ------------------------------



  • 4.  RE: Delete Resource Pattern

    TM Forum Member
    Posted 18 days ago
    Your wish is my command - you'll need to be a member of the Open API collaborative project to access this link.
    https://projects.tmforum.org/jira/browse/AP-2980

    ------------------------------
    Jonathan Goldberg
    Amdocs Management Limited
    Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
    ------------------------------



  • 5.  RE: Delete Resource Pattern

    TM Forum Member
    Posted 17 days ago

    Thanks Jonathan.



    ------------------------------
    Pradeep Reddy Dodla
    Oracle Corporation
    ------------------------------