Storiq One API  v1.0
API for Storiq One

Pool mirror information

To get a pool mirror by its id use GET method

path : /storiqone-backend/api/v1/poolmirror/ 
Parameters
id: pool mirror id
Returns
HTTP status codes :
  • 200 Query succeeded
    Pool mirror information is returned 
  • 401 Not logged in
  • 404 Pool mirror not found
  • 500 Query failure

Pool mirrors ids (multiple list)

To get pool mirrors ids list, use GET method : without reference to specific id or ids

path : /storiqone-backend/api/v1/poolmirror/ 

Optional parameters

Name Type Description Constraint
limit integer specifies the maximum number of rows to return. limit > 0
offset integer specifies the number of rows to skip before starting to return rows. offset >= 0
Warning
To get multiple pool mirrors ids list do not pass an id or ids as parameter

Pool mirror deletion

To delete a pool mirror, use DELETE method : with pool mirror id

Pool mirror creation

To create a pool mirror, use POST method with pool mirror parameters

Pool mirror update

To update a pool mirror, use PUT method with pool mirror parameters

path : /storiqone-backend/api/v1/poolmirror/ 
Name Type Value
id integer non NULL Default value, nextval('pool_id_seq'::regclass)
name character varying(64) non NULL
uuid uuid non NULL
synchronized boolean non NULL
Returns
HTTP status codes :
  • 200 Query succeeded
  • 400 Incorrect input
  • 401 Not logged in
  • 403 Permission denied
  • 500 Query failure