-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, I would like to ask whether we support the jenkins unrestricted api related to add, query, delete, update, etc. #274
Comments
@1sweet98912 I've never heard of this "unrestricted api" before. Is that just the name of your job? |
I am very glad to receive your reply! |
@1sweet98912 well ... if you can find that API defined somewhere, or know the URL's to hit, than we could certainly support it here. |
hello! I am very glad to receive your reply!I am sorry to trouble you.
I in this website: "https://github.com/jenkinsci/credentials-plugin/blob/master/docs/user.adoc" to find the information I want is as follows:
Creating a credentials
The URL for creating a domain is: http://jenkins root url/path to context/credentials/store/store id/domain/domain name/createCredentials. This URL expects a POST request with a Content-Type header of type application/xml. The body of the POST request should be the XML configuration of the credentials domain.
Managing an existing credentials instance
The URL for managing the an existing credentials instance is: http://jenkins root url/path to context/credentials/store/store id/domain/domain name/credential/credentials id/config.xml. This URL expects GET, POST or DELETE request.
A GET request will retrieve the existing configuration. The expected response is:
Listing credentials within a credentials domain.
The most basic URLs for listing the credentials in a domain are:
http://jenkins root url/path to context/credentials/store/store id/domain/domain name/api/xml?tree=credentials[id] for the XML representation
http://jenkins root url/path to context/credentials/store/store id/domain/domain name/api/json?tree=credentials[id] for the JSON representation
This URL expects a GET request. You can modify the tree=… query parameter to fetch additional data.
…------------------ 原始邮件 ------------------
发件人: "cdancy/jenkins-rest" ***@***.***>;
发送时间: 2023年1月30日(星期一) 晚上11:00
***@***.***>;
***@***.******@***.***>;
主题: Re: [cdancy/jenkins-rest] Hello, I would like to ask whether we support the jenkins unrestricted api related to add, query, delete, update, etc. (Issue #274)
@1sweet98912 well ... if you can find that API defined somewhere, or know the URL's to hit, than we could certainly support it here.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Support manage jenkins credentials is very necessary. |
Is anyone from the community willing to step up and code these? I currently don't have the time and wont be able to get around to it at least for a little while |
安装插件 configuration as code ,获取jenkins.yaml 。后面的就需要自己写代码生成自己的Jenkins.yaml 。在这里可以查看凭据信息 |
Hello, I would like to ask whether we support the jenkins unrestricted api related to add, query, delete, update, etc.As shown in the picture below!
The text was updated successfully, but these errors were encountered: