Storiq One API  v1.0
API for Storiq One

actionscript Script Action

add or delete script

use GET method :

path : /storiqone-backend/api/v1/script/action 

Optional parameters | Name | Type | Description | Constraint | | :------—: | :------------—: | :------------------------------------------------------------------------------—: | :--------------------------—: | | action | string | to add or delete a script | action = add || action = delete | | script_id | integer | script id | | | pool | integer | pool id | | | jobtype | integer | jobtype | 1 <= jobtype <= 9 |

Returns
HTTP status codes :
  • 200 Query succeeded
Archives ids list is returned
{
   {
   "message":"Query successful"
   }
}
  • 400 Incorrect input
  • 401 Not logged in
  • 404 script exist or not
  • 500 Query failure

Script information

To get script by its id use GET method

path : /storiqone-backend/api/v1/script/ 
Parameters
id: script id
Returns
HTTP status codes :
  • 200 Query succeeded
    scrip information is returned 
  • 404 Script not found
  • 500 Query failure

Script ids

To get script list by pool id use GET method

path : /storiqone-backend/api/v1/script/ 
Parameters
id: pool id
Returns
HTTP status codes :
  • 200 Query succeeded
    scrip information is returned 
  • 404 Script not found
  • 500 Query failure

Script ids

To get script list use GET method : without reference to specific id or ids

path : /storiqone-backend/api/v1/script/ 
Returns
HTTP status codes :
  • 200 Query succeeded
    scrip information is returned 
  • 404 Script not found
  • 500 Query failure