Storiq One API  v1.0
API for Storiq One

Poolgroup information

To list users and pools that are linked to a poolgroup use GET method

path : /storiqone-backend/api/v1/poolgroup/ 
Parameters
id: poolgroup id
Returns
HTTP status codes :
  • 200 Query succeeded
    Poolgroup information is returned
    {
       {
       'message': 'Query succeeded', 'poolgroup 1': {'pools': [3, 5, 7], 'users': [1, 2]}
       }
    }
  • 401 Not logged in
  • 403 Permission denied
  • 404 Poolgroup not found / Pools not found / Users not found
  • 500 Query failure

Poolgroup update

To update the list of pools assigned to a poolgroup, use PUT method

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

Parameters

Name Type Constraint
poolgroup integer non NULL
pools integer 'pools' format must be 'pools=pool1,pool2,pool3...' replace pool1, pool2, pool3 with the id of an existing pool to assign to the poolgroup. These pools will replace the current pools assigned to the poolgroup
Returns
HTTP status codes :
  • 200 Query succeeded
  • 400 Incorrect input
  • 401 Not logged in
  • 404 Pools not found / Poolgroup not found
  • 500 Query failure