SpiraPlan: REST Web Service (v7.0)

See all operations

PUT: projects/{project_id}/source-code/providers

Description

Overwrites a provider's configuration for a given product - even for fields which are omitted, except for VersionControlSystemId and ProjectId. This endpoint will only modify the currently active configuration.

How to Execute

To access this REST web service, you need to use the following URL (make sure to replace any parameters (eg {project_id}) with the relevant value (eg 1):

https://api.inflectra.com/Spira/Services/v7_0/RestService.svc/projects/{project_id}/source-code/providers

Request Parameters

Name Description
project_id ID of the product we are updating the configuration within

Request Body

Property Description
ProjectId ID of the product this source code provider configuration is for
VersionControlSystemId Unique internal ID of this version control configuration
IsActive Whether or not this configuration is active
ConnectionInfo Connection info intended for this product
Login Login credential for connecting to the relevant provider
Password Update only password field for setting the password credential on a newly created provider or when updating a provider
Domain Used by specific integrations for setting some domain information which is separate from the connection info
Custom01 Custom input field for behavior or information specific to a given source code provider
Custom02 Custom input field for behavior or information specific to a given source code provider
Custom03 Custom input field for behavior or information specific to a given source code provider
Custom04 Custom input field for behavior or information specific to a given source code provider
Custom05 Custom input field for behavior or information specific to a given source code provider

Return Data

The JSON and XML examples below show the shape of one entry that will be returned. It does not show an example of how that entry will be populated.