Resources
/rest/idalko-igrid/1.0/grid/
Methods
...
Obtain Grid Datasource Info GET /rest/idalko-igrid/1.0/grid/{gridId}/datasource
...
Returns the datasource table name and the connection URL for the specified table grid
template parameters
parameter | value | required | description |
---|---|---|---|
gridId | long | + | id of the TGR customfield |
...
403 (forbidden). Returned if:
- the user has no permissions to get this info
- 400 (bad request). Returned if:
- the specified customfield id exists but it is not a TGE customfield
- 404 (not found). Returned if:
- customfield with the specified id does not exist
- 401 (not authorised)
- 500 (server error)
...
Obtain Number of Rows GET /rest/idalko-igrid/1.0/grid/{gridId}[/issue/{issueId}]/rowcount
Returns the number of rows in the specified issue
template parameters
parameter | value | required | description |
---|---|---|---|
gridId | long | + | id of the TGR customfield |
issueId | long | - | id of the issue |
...
403 (forbidden). Returned if:
- the user has no permissions to view specified issue
- 400 (bad request). Returned if:
- the specified customfield id exists but it is not a TGR customfield
- 404 (not found). Returned if:
- customfield with the specified id does not exist
- issue with the specified id does not exist
- 401 (not authorised)
- 500 (server error)
...
Read Grid Data GET /rest/idalko-igrid/1.0/grid/{gridId}/issue/{issueId}/[row/{rowId}]?columns&startAt&maxResults
Returns grid data for the issue
template parameters
parameter | value | required | description |
---|---|---|---|
gridId | long | + | id of the TGR customfield |
issueId | long | + | id of the issue |
rowId | long | - | id of the row in grid. Optional. If specified, only data for this row is returned. |
query parameters
parameter | value | required | description |
---|---|---|---|
columns | string | - | coma-separated list of columns as configured in the grid definition. If omitted - all columns are returned |
startAt | integer | - | startAt pagination parameter. See pagination |
maxResults | integer | - | maxResults pagination parameter. See pagination |
...