![]() |
blend4php
v0.1
A PHP API for interacting with Galaxy
|
Public Member Functions | |
| __construct (GalaxyInstance $galaxy) | |
| create ($params) | |
| show ($params) | |
| update ($params) | |
| delete ($params) | |
| index ($params) | |
| GalaxyHistoryContents::__construct | ( | GalaxyInstance | $galaxy | ) |
The HistoryContents constructor.
| GalaxyInstance | $galaxy | A GalaxyInstance object. |
| GalaxyHistoryContents::create | ( | $params | ) |
Create a new HistoryContents component to a given history
Corresponds to the Galaxy API method at: POST /api/histories/{history_id}/contents/{type} Types will be "datasets" by default. The other option "dataset_collection" is currently not supported.
| $params | An associative array containing the input parameters for this function. The following parameters are available: |
| GalaxyHistoryContents::delete | ( | $params | ) |
Delete the History content with the given id.
Corresponds to the galaxy API path at: DELETE /api/histories/{history_id}/contents/{id}
| $params | An associative array containing the input parameters for this function. The following parameters are available: |
| GalaxyHistoryContents::index | ( | $params | ) |
Displays a collection of history content components.
Corresponds to th Galaxy API path at: GET /api/histories/{history_id}/contents
| $params | An associative array containing the input parameters for this function. The following parameters are available: |
| GalaxyHistoryContents::show | ( | $params | ) |
Retrieve detailed information about a specific hda.
Corresponds to the Galaxy API method and path: GET /api/histories/{history_id}/contents/{id}
| $params | An associative array containing the input parameters for this function. The following parameters are available: |
| GalaxyHistoryContents::update | ( | $params | ) |
Updates the values for the History content with the given id.
Corresponds to the Galaxy API method and path: PUT /api/histories/{history_id}/contents/{id}
Some functionality from original python function is not available.
| $params | An associative array containing the input parameters for this function. The following parameters are available: |
annotation: The new annotation for the hda.
**This was in the api docs but it does not seem to work. TODO: Figure out what this payload does during the update.