Свойство | Тип | Описание | |
---|---|---|---|
AuthenticateWithConnectionInfo | AuthenticationResult | ||
AuthenticateWithConnectionInfoBaseMethod | AuthenticationResult | ||
CreateIdpAuthentication | void | ||
DecodeArrayList | IEnumerable |
||
DoDelete | DynamicJsonObject | ||
DoGet | DynamicJsonObject | ||
DoGetAsPost | DynamicJsonObject | ||
DoGetCacheable | DynamicJsonObject | ||
DoPost | DynamicJsonObject | ||
FormatCreateUri | |||
FormatUpdateCollectionUri | |||
FormatUpdateUri | |||
GetFullyQualifiedRef | string | ||
GetFullyQualifiedUri | |||
GetFullyQualifiedV2xSchemaUri | |||
GetProcessedHeaders | string>.Dictionary | ||
GetSecuredUri | |||
GetSecurityToken | string | ||
ToQueryString | string | ||
UpdateCollection |
Метод | Описание | |
---|---|---|
AddToCollection ( string itemRef, string collectionName, List |
Add items to a collection
|
|
Authenticate ( string username, string password, |
Authenticates against Rally with the specified credentials
|
|
Authenticate ( string username, string password, string rallyServer = DEFAULT_SERVER, |
Authenticates against Rally with the specified credentials
|
|
AuthenticateWithApiKey ( string apiKey, |
Authenticates against Rally with the specified credentials
|
|
AuthenticateWithApiKey ( string apiKey, string rallyServer = DEFAULT_SERVER, |
Authenticates against Rally with the specified credentials
|
|
AuthenticateWithZSessionID ( string userName, string zSessionID, string rallyServer = DEFAULT_SERVER, |
Authenticates against Rally with the specified credentials
|
|
Create ( string typePath, DynamicJsonObject obj ) : Rally.RestApi.Response.CreateResult |
Create an object of the specified type from the specified object
|
|
Create ( string typePath, DynamicJsonObject obj, |
Create an object of the specified type from the specified object
|
|
Create ( string workspaceRef, string typePath, DynamicJsonObject obj ) : Rally.RestApi.Response.CreateResult |
Create an object of the specified type from the specified object
|
|
Delete ( string aRef ) : |
Delete the object described by the specified reference.
|
|
Delete ( string typePath, long oid ) : |
Delete the object described by the specified type and object id.
|
|
Delete ( string workspaceRef, string aRef ) : |
Delete the object described by the specified reference.
|
|
Delete ( string workspaceRef, string typePath, long oid ) : |
Delete the object described by the specified type and object id.
|
|
DownloadAttachment ( string relativeUrl ) : Rally.RestApi.Response.AttachmentResult |
Downloads an attachment from Rally.
|
|
GetAllowedAttributeValues ( string typePath, string attributeName ) : QueryResult |
Get the allowed values for the specified type and attribute
|
|
GetAttributesByType ( string type ) : QueryResult |
Get the attribute definitions for the specified type
|
|
GetByReference ( string aRef ) : dynamic |
Get the object described by the specified reference.
|
|
GetByReference ( string typePath, long oid ) : dynamic |
Get the object described by the specified type and object id.
|
|
GetByReferenceAndWorkspace ( string aRef, string workspaceRef ) : dynamic |
Get the object described by the specified reference scoped to the provided workspace.
|
|
GetCurrentUser ( ) : dynamic |
Get the current user
|
|
GetSubscription ( ) : dynamic |
Get the current subscription
|
|
GetTypes ( string queryString ) : Rally.RestApi.Response.CacheableQueryResult |
Unsupported - DO NOT USE Get the attribute definitions for the specified project or workspace (part of the query string).
|
|
Logout ( ) : void |
Logs this API out from any connection to Rally and clears the authentication configuration.
|
|
Post ( String relativeUri, DynamicJsonObject data ) : DynamicJsonObject |
Performs a post of data to the provided URI.
|
|
Query ( Request request ) : QueryResult |
Perform a read against the WSAPI operation based on the data in the specified request
|
|
RallyRestApi ( |
Construct a new RallyRestApi configured to work with the specified WSAPI version
|
|
RemoveFromCollection ( string itemRef, string collectionName, List |
Remove items from a collection
|
|
SetDefaultConnectionLimit ( ushort maxConnections ) : void |
Sets the default maximum concurrent connection limit for this application.
|
|
Update ( string reference, DynamicJsonObject obj ) : |
Update the item described by the specified reference with the fields of the specified object
|
|
Update ( string reference, DynamicJsonObject obj, |
Update the item described by the specified reference with the fields of the specified object
|
|
Update ( string typePath, string oid, DynamicJsonObject obj ) : |
Update the item described by the specified type and object id with the fields of the specified object
|
|
Update ( string typePath, string oid, DynamicJsonObject obj, |
Update the item described by the specified type and object id with the fields of the specified object
|
Метод | Описание | |
---|---|---|
AuthenticateWithConnectionInfo ( ConnectionInfo connectionInfo, bool allowSSO ) : AuthenticationResult |
Authenticates against Rally with the specified credentials
|
|
AuthenticateWithConnectionInfoBaseMethod ( ConnectionInfo connectionInfo, bool allowSSO, string &exceptionMessage ) : AuthenticationResult | ||
CreateIdpAuthentication ( |
Configures authentication to run against an IDP.
|
|
DecodeArrayList ( IEnumerable list ) : IEnumerable |
||
DoDelete ( |
Performs a delete action.
|
|
DoGet ( |
Performs a get action.
|
|
DoGetAsPost ( Request request, bool retry = true, int retryCounter = 1 ) : DynamicJsonObject |
Performs get as a post action.
|
|
DoGetCacheable ( |
Gets a cacheable response.
|
|
DoPost ( |
Performs a post action. If first action fails there will occur up to 10 retries each backing off an incrementing number of seconds (wait 1 second, retry, wait 2 seconds, retry, etc).
|
|
FormatCreateUri ( string typePath, |
||
FormatUpdateCollectionUri ( bool isAdding, string itemRef, string collectionName, |
||
FormatUpdateUri ( string typePath, string objectId, |
||
GetFullyQualifiedRef ( string aRef ) : string |
Ensure the specified ref is fully qualified with the full WSAPI URL
|
|
GetFullyQualifiedUri ( string aRef ) : |
Ensure the specified ref is fully qualified with the full WSAPI URL
|
|
GetFullyQualifiedV2xSchemaUri ( string aRef ) : |
Ensure the specified ref is fully qualified with the full WSAPI URL
|
|
GetProcessedHeaders ( ) : string>.Dictionary |
||
GetSecuredUri ( |
||
GetSecurityToken ( ) : string |
Gets a security token from Rally.
|
|
ToQueryString ( |
||
UpdateCollection ( string itemRef, string collectionName, List |
public AddToCollection ( string itemRef, string collectionName, List |
||
itemRef | string | The ref of the object to update e.g. /defect/12345 |
collectionName | string | The name of the collection to be updated e.g. Tasks |
items | List |
The items to add. These can be references to existing objects or new objects to be created. |
parameters | additional query string parameters to be included on the request | |
Результат |
public Authenticate ( string username, string password, |
||
username | string | The user name to be used for access |
password | string | The password to be used for access |
serverUrl | The Rally server to use (defaults to DEFAULT_SERVER) | |
proxy | Optional proxy configuration | |
allowSSO | bool | Is SSO authentication allowed for this call? It can be useful to disable this during startup processes. |
Результат | AuthenticationResult |
public Authenticate ( string username, string password, string rallyServer = DEFAULT_SERVER, |
||
username | string | The user name to be used for access |
password | string | The password to be used for access |
rallyServer | string | The Rally server to use (defaults to DEFAULT_SERVER) |
proxy | Optional proxy configuration | |
allowSSO | bool | Is SSO authentication allowed for this call? It can be useful to disable this during startup processes. |
Результат | AuthenticationResult |
public AuthenticateWithApiKey ( string apiKey, |
||
apiKey | string | The API key to be used for access |
serverUrl | The Rally server to use (defaults to DEFAULT_SERVER) | |
proxy | Optional proxy configuration | |
Результат | AuthenticationResult |
public AuthenticateWithApiKey ( string apiKey, string rallyServer = DEFAULT_SERVER, |
||
apiKey | string | The API key to be used for access |
rallyServer | string | The Rally server to use (defaults to DEFAULT_SERVER) |
proxy | Optional proxy configuration | |
Результат | AuthenticationResult |
public AuthenticateWithZSessionID ( string userName, string zSessionID, string rallyServer = DEFAULT_SERVER, |
||
userName | string | The user name to be used for access |
zSessionID | string | The ZSessionID to be used for access. This would have been provided by Rally on a previous call. |
rallyServer | string | The Rally server to use (defaults to DEFAULT_SERVER) |
proxy | Optional proxy configuration | |
allowSSO | bool | Is SSO authentication allowed for this call? It can be useful to disable this during startup processes. |
Результат | AuthenticationResult |
public Create ( string typePath, DynamicJsonObject obj ) : Rally.RestApi.Response.CreateResult | ||
typePath | string | the type to be created |
obj | DynamicJsonObject | the object to be created |
Результат | Rally.RestApi.Response.CreateResult |
public Create ( string typePath, DynamicJsonObject obj, |
||
typePath | string | the type to be created |
obj | DynamicJsonObject | the object to be created |
parameters | additional parameters to include in the create request | |
Результат | Rally.RestApi.Response.CreateResult |
public Create ( string workspaceRef, string typePath, DynamicJsonObject obj ) : Rally.RestApi.Response.CreateResult | ||
workspaceRef | string | the workspace into which the object should be created. Null means that the server will pick a workspace. |
typePath | string | the type to be created |
obj | DynamicJsonObject | the object to be created |
Результат | Rally.RestApi.Response.CreateResult |
public Delete ( string aRef ) : |
||
aRef | string | the reference |
Результат |
public Delete ( string typePath, long oid ) : |
||
typePath | string | the type |
oid | long | the object id |
Результат |
public Delete ( string workspaceRef, string aRef ) : |
||
workspaceRef | string | the workspace from which the object will be deleted. Null means that the server will pick a workspace. |
aRef | string | the reference |
Результат |
public Delete ( string workspaceRef, string typePath, long oid ) : |
||
workspaceRef | string | the workspace from which the object will be deleted. Null means that the server will pick a workspace. |
typePath | string | the type |
oid | long | the object id |
Результат |
public DownloadAttachment ( string relativeUrl ) : Rally.RestApi.Response.AttachmentResult | ||
relativeUrl | string | The relative URL to the attachment. |
Результат | Rally.RestApi.Response.AttachmentResult |
public GetAllowedAttributeValues ( string typePath, string attributeName ) : QueryResult | ||
typePath | string | the type |
attributeName | string | the attribute to retrieve allowed values for |
Результат | QueryResult |
public GetAttributesByType ( string type ) : QueryResult | ||
type | string | The type to get attributes for |
Результат | QueryResult |
public GetByReference ( string aRef ) : dynamic | ||
aRef | string | the reference |
Результат | dynamic |
public GetByReference ( string typePath, long oid ) : dynamic | ||
typePath | string | the type |
oid | long | the object id |
Результат | dynamic |
public GetByReferenceAndWorkspace ( string aRef, string workspaceRef ) : dynamic | ||
aRef | string | the reference |
workspaceRef | string | workspace scope |
Результат | dynamic |
public GetTypes ( string queryString ) : Rally.RestApi.Response.CacheableQueryResult | ||
queryString | string | The query string to get types for |
Результат | Rally.RestApi.Response.CacheableQueryResult |
public Post ( String relativeUri, DynamicJsonObject data ) : DynamicJsonObject | ||
relativeUri | String | The relative URI to post the data to. |
data | DynamicJsonObject | The data to submit to Rally. |
Результат | DynamicJsonObject |
public Query ( Request request ) : QueryResult | ||
request | Request | The request configuration |
Результат | QueryResult |
public RallyRestApi ( |
||
authManger | The authorization manager to use when authentication requires it. If no driver is /// provided a console authentication manager will be used which does not allow SSO authentication. | |
webServiceVersion | string | The WSAPI version to use (defaults to DEFAULT_WSAPI_VERSION) |
maxRetries | int | Requests will be attempted a number of times (defaults to 3) |
traceInfo | TraceFieldEnum | Controls diagnostic trace information being logged |
Результат | System |
public RemoveFromCollection ( string itemRef, string collectionName, List |
||
itemRef | string | The ref of the object to update e.g. /defect/12345 |
collectionName | string | The name of the collection to be updated e.g. Tasks |
items | List |
The items to remove. |
parameters | additional query string parameters to be included on the request | |
Результат |
public static SetDefaultConnectionLimit ( ushort maxConnections ) : void | ||
maxConnections | ushort | The maximum number of concurrent connections. Allowed values are between 1 and 25. |
Результат | void |
public Update ( string reference, DynamicJsonObject obj ) : |
||
reference | string | the reference to be updated |
obj | DynamicJsonObject | the object fields to update |
Результат |
public Update ( string reference, DynamicJsonObject obj, |
||
reference | string | the reference to be updated |
obj | DynamicJsonObject | the object fields to update |
parameters | additional query string parameters to be included on the request | |
Результат |
public Update ( string typePath, string oid, DynamicJsonObject obj ) : |
||
typePath | string | the type of the item to be updated |
oid | string | the object id of the item to be updated |
obj | DynamicJsonObject | the object fields to update |
Результат |
public Update ( string typePath, string oid, DynamicJsonObject obj, |
||
typePath | string | the type of the item to be updated |
oid | string | the object id of the item to be updated |
obj | DynamicJsonObject | the object fields to update |
parameters | additional query string parameters to be include on the request | |
Результат |