FUMResource Resource

Resource for handling of postponed FUM requests

GET /fum/{filename}

Get the contents of the temporary file

Request Parameters
name type description
filename path filename
Response Body
media type data type description
application/json object (JSON) contents

Example

Request
GET /fum/{filename}
Content-Type: */*
Accept: application/json

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

                
...
                
              

POST /fum/{filename}

Post the result of the postponed FUM

Request Parameters
name type description
filename path filename
Request Body
media type data type description
application/json FUMResult (JSON) FUM result
Response Body
media type data type description
application/json FUMStatusResponse (JSON) response

Example

Request
POST /fum/{filename}
Content-Type: application/json
Accept: application/json

                
{
  "status" : "ACCEPTED",
  "msg" : "...",
  "filename" : "...",
  "mimetype" : "...",
  "url" : "..."
}
                
              
Response
HTTP/1.1 201 Created
Content-Type: application/json

                
{
  "status" : "OK",
  "type" : "...",
  "msg" : "..."
}