PendingDeleteService Resource

Handle Node namespace

DELETE /pending-deletes/{cellName}

Request Parameters
name type description
cellName path

Example

Request
DELETE /pending-deletes/{cellName}

              
Response
HTTP/1.1 204 No Content

              

GET /pending-deletes/{cellName}

Request Parameters
name type description
cellName path
Response Body
media type data type
application/json PendingDelete (JSON)

Example

Request
GET /pending-deletes/{cellName}
Accept: application/json

              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{
  "apid" : "...",
  "cellId" : 12345,
  "lock" : "...",
  "timeStamp" : 12345
}
                
              

POST /pending-deletes/{cellName}

Request Parameters
name type description
cellName path
Request Body
media type data type
application/json array of string (JSON)
Response Body
media type data type
text/plain (custom)

Example

Request
POST /pending-deletes/{cellName}
Content-Type: application/json
Accept: text/plain

                
...
                
              
Response
HTTP/1.1 201 Created
Content-Type: text/plain

                
...
                
              

DELETE /pending-deletes/{cellName}/{apid}

Request Parameters
name type description constraints
apid path  
cellName path  
lockId query  
remove query boolean

Example

Request
DELETE /pending-deletes/{cellName}/{apid}

              
Response
HTTP/1.1 204 No Content

              

HEAD /pending-deletes/{cellName}/{apid}

Request Parameters
name type description
apid path
cellName path

Example

Request
HEAD /pending-deletes/{cellName}/{apid}

              
Response
HTTP/1.1 200 OK

              

POST /pending-deletes/{cellName}/{apid}

Request Parameters
name type description
apid path
cellName path
mountpoint query

Example

Request
POST /pending-deletes/{cellName}/{apid}

              
Response
HTTP/1.1 201 Created