Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


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

parametervaluerequireddescription
gridIdlong+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

parametervaluerequireddescription
gridIdlong+id of the TGR customfield
issueIdlong-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

parametervaluerequireddescription
gridIdlong+id of the TGR customfield
issueIdlong+id of the issue
rowIdlong-id of the row in grid. Optional. If specified, only data for this row is returned.

 

query parameters

parametervaluerequireddescription
columnsstring-coma-separated list of columns as configured in the grid definition. If omitted - all columns are returned
startAtinteger-startAt pagination parameter. See pagination
maxResultsinteger-maxResults pagination parameter. See pagination 

...