Files API to upload, download blobs and to retrieve a link of a specific node
BasePath:/services/files/
Access
[ Jump to Models ]
Table of Contents
Up
get /download/{nodeId}/{version}
(downloadNode)
Downloads a specific version of a node
Path parameters
nodeId (required)
Path Parameter — The id of the node to download format: uuid
version (required)
Path Parameter — The version of the node to download
Return type
Example data
Content-Type: application/json
{
"file" : ""
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
The node to download
NodeBinary
400
The request was malformed
403
The access to the resource is denied
404
The resource was not found
Up
get /download/{nodeId}
(downloadNodeLastVersion)
Downloads the last version of a node
Path parameters
nodeId (required)
Path Parameter — The id of the node to download format: uuid
Return type
Example data
Content-Type: application/json
{
"file" : ""
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
The node to download
NodeBinary
400
The request was malformed
403
The access to the resource is denied
404
The resource was not found
(health)
Check the status of the service and its dependencies.
Responses
204
The service is up & running
500
The service is not available
(linkDownload)
Download the node associated to the specific link
Path parameters
LinkId (required)
Path Parameter — The id of the existing link
Return type
Example data
Content-Type: application/json
{
"file" : ""
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
The node to download
NodeBinary
400
The request was malformed
403
The access to the resource is denied
404
The resource was not found
(uploadNode)
Uploads a new node
Consumes
This API call consumes the following media types via the request header:
Request body
Body Parameter — New node data, content type header must be specified based on the file to upload
Request headers
Return type
Example data
Content-Type: application/json
{
"nodeId" : "nodeId"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
The data of the new created node
CreatedNode
400
The request was malformed
403
The access to the resource is denied
404
The resource was not found
(uploadNodeVersion)
Uploads a new version of an existing node
Consumes
This API call consumes the following media types via the request header:
Request body
Body Parameter — New node data, content type header must be specified based on the file to upload
Request headers
Return type
Example data
Content-Type: application/json
{
"nodeId" : "nodeId",
"version" : 0
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
The data of the new node version
CreatedNodeVersion
400
The request was malformed
403
The access to the resource is denied
404
The resource was not found
[ Jump to Methods ]
Table of Contents
CreatedNode
CreatedNodeVersion
NodeBinary
nodeId (optional)
version (optional)