Activities: YouTrack Activities |
Catalog: YouTrack
Schema: Activities
Label: Activities
This is a read-only table function. The YouTrack API may not support changing the data or the Invantive SQL driver for YouTrack does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the YouTrack API.
Select YouTrack API URL: /activities
Insert YouTrack API URL: /activities
Update YouTrack API URL: /activities
Delete YouTrack API URL: /activities
Field Selection Method: NotRequired
Select YouTrack API Operation: get /activities
Parameters of Table Function
The following parameters can be used to control the behaviour of the table function Activities. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be treated using their default values.
Value specification by position is done by listing all values from the first to the last needed value. For example with `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three.
Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third.
Name |
Data Type |
Required |
Default Value |
Documentation |
---|---|---|---|---|
author |
string |
☐ |
|
Parameter to filter activities by the author. The database id or login, or Hub id,or 'me' for the current logged in user could be specified. |
categories |
string |
☐ |
|
|
end |
string |
☐ |
|
End timestamp of the time interval the activity timestamp belongs to.If the parameter is not set, it is considered as Long.MAX_VALUE. |
issueQuery |
string |
☐ |
|
Issues search query. Read more about <a href="Search-and-Command-Attributes.xml">search syntax</a>. |
reverse |
boolean |
☐ |
|
Indicates whether the order of returning activities is from newest to oldest or the opposite.If "false", then the oldest activity item that matches a selected filter is returned first.If "true", then the newest activity is returned first. By default, "false". |
start |
string |
☐ |
|
Start timestamp of the time interval the activity timestamp belongs to.If the parameter is not set, it is considered to be 0. |
Table Function Columns
The columns of the table function Activities are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
$type |
string |
|
☐ |
|
author_$type |
string |
|
☐ |
|
author_avatarUrl |
string |
|
☐ |
|
author_banned |
boolean |
|
☐ |
|
author_email |
string |
|
☐ |
|
author_fullName |
string |
|
☐ |
|
author_guest |
boolean |
|
☐ |
|
author_id |
string |
|
☐ |
|
author_jabberAccountName |
string |
|
☐ |
|
author_login |
string |
|
☐ |
|
author_online |
boolean |
|
☐ |
|
author_profiles_$type |
string |
|
☐ |
|
author_profiles_id |
string |
|
☐ |
|
author_ringId |
string |
|
☐ |
|
category_$type |
string |
|
☐ |
|
category_id |
string |
|
☐ |
|
field_$type |
string |
|
☐ |
|
field_id |
string |
|
☐ |
|
field_name |
string |
|
☐ |
|
field_presentation |
string |
|
☐ |
|
id |
string |
ID |
☐ |
|
targetMember |
string |
Target member |
☐ |
|
timestamp |
int64 |
Timestamp |
☐ |
|
23-06-2022 19:43 Version 22.0.248-PROD+3461