Rest Api - Artifact Storage

Hi

Is there a field in the rest api that shows if a project is using a particular option in Artifact Storage section of Project configuration?

E.g. If using TeamCity built-in storage, or TeamCity S3 plugin?

 

Thanks

0
1 comment

Hi Karl, sorry for the delay,

 

There isn't a property that displays a built-in storage, but you could iterate through the project features trying to locate an external storage item. If you find it, then it's using the plugin and will contain its configuration, if not, then it shouldn't. It's also not available there if the storage is inherited from the parent project, although it can be found in the parentProject property, which is another instance of the project object.

0

Please sign in to leave a comment.