C# Class PodioAPI.Services.StreamService

Mostrar archivo Open project: podio/podio-dotnet

Public Methods

Method Description
GetAppStream ( int appId, int limit = null, int offset = null ) : Task>

Returns the stream for the given app. This includes items from the app and tasks on the app.

Podio API Reference: https://developers.podio.com/doc/stream/get-app-stream-264673

GetApplicationStreamV3 ( int appId, string groupsEventTypes = null, int groupsLimit = 2, int limit = 10, int offset ) : Task>

Get stream for an application

Podio API Reference: https://developers.podio.com/doc/stream/get-application-stream-v3-100406563

GetGlobalStream ( int limit = null, int offset = null ) : Task>

Returns the global stream. The types of objects in the stream can be either "item", "status", "task", "action" or "file". The data part of the result depends on the type of object. See area for more deatils.

Podio API Reference: https://developers.podio.com/doc/stream/get-global-stream-80012

GetGlobalStreamV3 ( string groupsEventTypes = null, int groupsLimit = 2, int limit = 10, int offset ) : Task>

Get global stream - version 3

Podio API Reference: https://developers.podio.com/doc/stream/get-global-stream-v3-100405451

GetOrgStreamV3 ( int orgId, string groupsEventTypes = null, int groupsLimit = 2, int limit = 10, int offset ) : Task>

Get stream for an organization - version 3

Podio API Reference: https://developers.podio.com/doc/stream/get-org-stream-v3-100405933

GetOrganizationStream ( int orgId, int limit = null, int offset = null ) : Task>

Returns the activity stream for the given organization.

Podio API Reference:https://developers.podio.com/doc/stream/get-organization-stream-80038

GetSpaceStream ( int spaceId, int limit = null, int offset = null ) : Task>

Returns the activity stream for the space.

Podio API Reference: https://developers.podio.com/doc/stream/get-space-stream-80039

GetSpaceStreamV3 ( int spaceId, string groupsEventTypes = null, int groupsLimit = 2 ) : Task>

Get stream for a space - version 3

Podio API Reference: https://developers.podio.com/doc/stream/get-space-stream-v3-116373969

GetStreamObject ( string refType, int refId ) : Task

Returns an object of type "item", "status" or "task" as a stream object.

Podio API Reference: https://developers.podio.com/doc/stream/get-stream-object-80054

GetStreamObjectV3 ( string refType, int refId, string groupsEventTypes = null, int groupsLimit = 2 ) : Task>

Get stream view of an object - version 3.

Podio API Reference: https://developers.podio.com/doc/stream/get-stream-object-v3-116373396

GetUserStream ( int userId, int limit = null, int offset = null ) : Task>

Returns the stream for the given user. This returns all objects the active user has access to sorted by the given user last touched the object.

Podio API Reference:https://developers.podio.com/doc/stream/get-user-stream-1289318

GetUserStreamV3 ( int userId, string groupsEventTypes = null, int groupsLimit = 2, int limit = 10, int offset ) : Task>

Get stream for an user - version 3

Podio API Reference: https://developers.podio.com/doc/stream/get-user-stream-v3-100406822

StreamService ( Podio currentInstance ) : System.Collections.Generic

Method Details

GetAppStream() public method

Returns the stream for the given app. This includes items from the app and tasks on the app.

Podio API Reference: https://developers.podio.com/doc/stream/get-app-stream-264673

public GetAppStream ( int appId, int limit = null, int offset = null ) : Task>
appId int
limit int How many objects should be returned. Default: 10
offset int How far should the objects be offset
return Task>

GetApplicationStreamV3() public method

Get stream for an application

Podio API Reference: https://developers.podio.com/doc/stream/get-application-stream-v3-100406563

public GetApplicationStreamV3 ( int appId, string groupsEventTypes = null, int groupsLimit = 2, int limit = 10, int offset ) : Task>
appId int
groupsEventTypes string The types of events to include in the returned activity groups.
groupsLimit int Default value: 2
limit int Maximum number of groups returned. Default value: 10
offset int Index of first returned group. Default value: 0
return Task>

GetGlobalStream() public method

Returns the global stream. The types of objects in the stream can be either "item", "status", "task", "action" or "file". The data part of the result depends on the type of object. See area for more deatils.

Podio API Reference: https://developers.podio.com/doc/stream/get-global-stream-80012

public GetGlobalStream ( int limit = null, int offset = null ) : Task>
limit int How many objects should be returned. Default: 10
offset int How far should the objects be offset
return Task>

GetGlobalStreamV3() public method

Get global stream - version 3

Podio API Reference: https://developers.podio.com/doc/stream/get-global-stream-v3-100405451

public GetGlobalStreamV3 ( string groupsEventTypes = null, int groupsLimit = 2, int limit = 10, int offset ) : Task>
groupsEventTypes string The types of events to include in the returned activity groups.
groupsLimit int Default value: 2
limit int Maximum number of groups returned. Default value: 10
offset int Index of first returned group. Default value: 0
return Task>

GetOrgStreamV3() public method

Get stream for an organization - version 3

Podio API Reference: https://developers.podio.com/doc/stream/get-org-stream-v3-100405933

public GetOrgStreamV3 ( int orgId, string groupsEventTypes = null, int groupsLimit = 2, int limit = 10, int offset ) : Task>
orgId int
groupsEventTypes string The types of events to include in the returned activity groups.
groupsLimit int Default value: 2
limit int Maximum number of groups returned. Default value: 10
offset int Index of first returned group. Default value: 0
return Task>

GetOrganizationStream() public method

Returns the activity stream for the given organization.

Podio API Reference:https://developers.podio.com/doc/stream/get-organization-stream-80038

public GetOrganizationStream ( int orgId, int limit = null, int offset = null ) : Task>
orgId int
limit int How many objects should be returned. Default: 10
offset int How far should the objects be offset
return Task>

GetSpaceStream() public method

Returns the activity stream for the space.

Podio API Reference: https://developers.podio.com/doc/stream/get-space-stream-80039

public GetSpaceStream ( int spaceId, int limit = null, int offset = null ) : Task>
spaceId int
limit int How many objects should be returned. Default: 10
offset int How far should the objects be offset
return Task>

GetSpaceStreamV3() public method

Get stream for a space - version 3

Podio API Reference: https://developers.podio.com/doc/stream/get-space-stream-v3-116373969

public GetSpaceStreamV3 ( int spaceId, string groupsEventTypes = null, int groupsLimit = 2 ) : Task>
spaceId int
groupsEventTypes string The types of events to include in the returned activity groups.
groupsLimit int Default value: 2
return Task>

GetStreamObject() public method

Returns an object of type "item", "status" or "task" as a stream object.

Podio API Reference: https://developers.podio.com/doc/stream/get-stream-object-80054

public GetStreamObject ( string refType, int refId ) : Task
refType string
refId int
return Task

GetStreamObjectV3() public method

Get stream view of an object - version 3.

Podio API Reference: https://developers.podio.com/doc/stream/get-stream-object-v3-116373396

public GetStreamObjectV3 ( string refType, int refId, string groupsEventTypes = null, int groupsLimit = 2 ) : Task>
refType string
refId int
groupsEventTypes string The types of events to include in the returned activity groups.
groupsLimit int Default value: 2
return Task>

GetUserStream() public method

Returns the stream for the given user. This returns all objects the active user has access to sorted by the given user last touched the object.

Podio API Reference:https://developers.podio.com/doc/stream/get-user-stream-1289318

public GetUserStream ( int userId, int limit = null, int offset = null ) : Task>
userId int
limit int How many objects should be returned. Default: 10
offset int How far should the objects be offset
return Task>

GetUserStreamV3() public method

Get stream for an user - version 3

Podio API Reference: https://developers.podio.com/doc/stream/get-user-stream-v3-100406822

public GetUserStreamV3 ( int userId, string groupsEventTypes = null, int groupsLimit = 2, int limit = 10, int offset ) : Task>
userId int
groupsEventTypes string The types of events to include in the returned activity groups.
groupsLimit int Default value: 2
limit int Maximum number of groups returned. Default value: 10
offset int Index of first returned group. Default value: 0
return Task>

StreamService() public method

public StreamService ( Podio currentInstance ) : System.Collections.Generic
currentInstance Podio
return System.Collections.Generic