Actions related to Direct API: access to projects, billing accounts, copilot operations, and other similar stuff is handled by them.
- actions.direct
- .dropAll() ⇒
Action
- .getProjectDetailsInit(projectId) ⇒
Action
- .getProjectDetailsDone(projectId, tokenV3) ⇒
Action
- .getProjectPermissionsInit(projectId) ⇒
Action
- .getProjectPermissionsDone(projectId, tokenV3) ⇒
Action
- .getUserProjectsInit(tokenV3) ⇒
Action
- .getUserProjectsDone(tokenV3) ⇒
Action
- .dropAll() ⇒
Creates an action that drops out of Redux store all Direct-related data, loaded by other actions from this module, and also cancels any pending loading operations.
Kind: static method of actions.direct
Creates an action that signals beginning of project details loading.
Kind: static method of actions.direct
Param | Type | Description |
---|---|---|
projectId | Number |
Project ID. |
Creates an action that loads project details.
Kind: static method of actions.direct
Param | Type | Description |
---|---|---|
projectId | Number |
Project ID. |
tokenV3 | String |
Topcoder auth token v3. |
Creates an action that signals beginning of project permissions loading.
Kind: static method of actions.direct
Param | Type | Description |
---|---|---|
projectId | Number | String |
Project ID. |
Creates an action that loads project permissions.
Kind: static method of actions.direct
Param | Type | Description |
---|---|---|
projectId | Number | String |
Project ID. |
tokenV3 | String |
Topcoder v3 auth token. |
Creates an action that signals beginning of loading the projects related with a user.
Kind: static method of actions.direct
Param | Type | Description |
---|---|---|
tokenV3 | String |
Topcoder v3 auth token of the user for who we load the projects. |
Creates an action that loads projects related to a user.
Kind: static method of actions.direct
Param | Type | Description |
---|---|---|
tokenV3 | String |
Topcoder auth token v3. |