- Home
- Resources
- Attachment admin API
HDC WS for converting attachment files
GET /admin/attachment
Returns original files for given state
Request Parameters
name |
type |
description |
default |
constraints |
limit |
query |
- raster file entries limit per request |
|
long |
offset |
query |
- offset of raster file entries |
|
long |
state |
query |
- file state |
|
|
Response Body
media type |
data type |
description |
application/json |
object
|
- list of files |
GET /admin/attachment/convertondemand
Converts one file with given id.
Request Parameters
name |
type |
description |
default |
constraints |
fileId |
query |
- file identifier |
|
long |
versionId |
query |
|
|
long |
Response Body
media type |
data type |
description |
application/json |
object
|
- long running process description |
POST /admin/attachment/convertondemand
Request Body
media type |
data type |
application/json |
object
|
Response Body
media type |
data type |
description |
application/json |
object
|
|
GET /admin/attachment/convert/{state}
Converts all files with given state.
Request Parameters
name |
type |
description |
default |
constraints |
state |
path |
- file state. Recommended states for this operation: UPLOADED, UNCONVERTIBLE, IN_QUEUE, CONVERTING |
|
|
Response Body
media type |
data type |
description |
application/json |
object
|
- long running process description |