Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ParameterTypeRequiredComment
actionString(tick)

create

see also API - General parameters

maxbyteslong
the number of available bytes
sourcepathString

the path to the storage

customdataJSON

possible values:

  • drainduedate: if drain is true, then one can postpone start of draining with this value, see also Default-Schedule-Worker - G)
  • de.jenomics.ikona.binarystore.worker.schedule.StandardScheduleProcessor.reliability: int-value, i.e. the reliability in percent; default: 100, see also Default-Schedule-Worker - Scoring
  • de.jenomics.ikona.binarystore.worker.schedule.StandardScheduleProcessor.performance: int-value, i.e. the performance in percent - 100% means best performance; default: 100, see also Default-Schedule-Worker - Scoring

  • downloadurl: the first part of the download-url, e.g.

    "http://localhost:8084/ikona-ibs-srv/api/v1/entities/" => It is added with the uuid of the entity that should be downloaded and can be found in Entity API - Info

descriptionString
the description of the storage
hridString
the hrid of the storage
readonlyboolean
if set to true, the storage can only be read
drainboolean
if set to true, the storage will be drained and cannot be used for fetches, see also Default-Schedule-Worker - G)

By default, a new storage is locked. You must set the locked-option to false via update!

...

ParameterType

Required

Comment
actionString(tick)

update

see also API - General parameters

uuiduuid(tick)see also API - General parameters

maxbytes


long
the number of available bytes
descriptionString

customdataJSON

possible values:

  • drainduedate: if drain is true, then one can postpone start of draining with this value, see also Default-Schedule-Worker - G)
  • de.jenomics.ikona.binarystore.worker.schedule.StandardScheduleProcessor.reliability: int-value, i.e. the reliability in percent; default: 100, see also Default-Schedule-Worker - Scoring
  • de.jenomics.ikona.binarystore.worker.schedule.StandardScheduleProcessor.performance: int-value, i.e. the performance in percent - 100% means best performance; default: 100, see also Default-Schedule-Worker - Scoring
lockedboolean
set this to false to active the storage, see also Default-Schedule-Worker - Scoring
readonlyboolean
if set to true, the storage can only be read, see also Default-Schedule-Worker - Scoring
drainboolean
if set to true, the storage will be drained and cannot be used for fetches, see also Default-Schedule-Worker - G)

Example call

No Format
/api/storage?action=update&uuid=bbb42a28-51dd-497c-85a9-16f318612c06&locked=true&readonly=true

...