Questions tagged [api]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
13 views

How can I build a Linux VM that I can use to test Rest API calls in a lab?

I work in Enterprise CloudOps Support and the products we support use Rest API for notifications. Frequently we get requests to help troubleshoot solutions like Pager Duty, PagerTree, ServiceNow, etc. ...
-1
votes
0answers
34 views

Is there API to add to update Jenkins title

we have a DB table which stores a description for each Jenkins server. Is there any API or CLI which I can use to update "System Message" in the Jenkins system configuration?
1
vote
1answer
32 views

AWS API Gateway as an http proxy to ALB

I have a setup of API Gateway proxying all the requests to my EC2 instances behind load balancer (ALB). But I want api endpoint to have a nice domain my-api.mydomain.com. I'm trying to accomplish that ...
0
votes
0answers
8 views

Github Actions Last Build API

I'm looking for an option similar to Jenkins where I can view the last build, last successful build, last failed build, etc. with a simple api call. The Jenkins example would be: jenkins_url + /job/${...
0
votes
1answer
33 views

How to get Docker Container stats using DataDog API?

I have a running DataDog-Agent on a Docker server. Is there a function in the DataDog API to get the stats of every single container, so I could print the stats to an external Webpage? Or is there ...
1
vote
0answers
39 views

Set global repository access to GitLab via GitLab connections and Gitlab OAuth [closed]

I am trying to configure a secured Jenkins server in a company network where GitLab CE is already running. I have set the access control and the authorization system in Jenkins via the GitLab ...
2
votes
1answer
852 views

Are AWS Boto3 calls asynchronous?

In the API documentation for Apache Cloud Stack for example, they put an (A) to designate asynchronous API calls. In the Boto3 - Python client API for AWS - documentation as I can't see anything like ...
0
votes
1answer
34 views

Github rest api post label gives error for array input

We are hosting GitHub enterprise for our development. I am able to access the reset api and create jira, create PR etc. When I try to add label to my PR, it gives error for array. curl -X POST -u ...
3
votes
0answers
859 views

Can I use the Jenkins REST API with user input? [closed]

I want my Jenkins Pipeline to have a user input step where it posts to a slack channel and waits for user input then uses the input to user enters (button in the slack message). So at the input step ...
1
vote
1answer
2k views

Nexus2: How can I get a list of all artifacts from a specific repository via REST API?

I want to get a list (json) of all artifacts in one specific repository via the REST API. I've already tried: curl -X GET http://localhost/nexus/service/local/respositories/<reponame>/...
1
vote
2answers
968 views

How to make a Jenkins API call when using “Log in with Google” as security?

Jenkins API calls are generally made using a username/password combination, or other set of credentials. We have a Jenkins instance using "Log in with Google" authentication, meaning no credentials ...
0
votes
1answer
41 views

How can I get the first part of the API Deployment URL from inside cloud formation template?

https://u1i7vf9mnl.execute-api.us-west-1.amazonaws.com/v1 How can I get the u1i7vf9mnl portion of the URL from inside of the cloudformation template as a Ref or Fn::GetAtt or some other way?
1
vote
0answers
35 views

Python API requests with OAuth_requests lib behind a corporate proxy [closed]

In a Python app we run tests and publish the results into Zephyr in JIRA using the Zephyr/ JIRA API. It works fine not on a corporate network, but now they have switched to use their corporate network,...
1
vote
2answers
540 views

AWS REST API Query

How to authenticate against AWS to make API query ? https://iam.amazonaws.com/?Action=ListAttachedUserPolicies&UserName=ja&Version=2010-05-08&accesskey and getting: <Code>...
0
votes
1answer
757 views

Automated Integration Testing of an API in Azure Functions using VSTS

I am building a HTTP API as an Azure Function App in C# and I would like to run automated integration tests (calls to the API) as part of the CI/CD. Is this possible to do using VSTS? I have ...
5
votes
1answer
41 views

Is it a common practice to include the version of an API into the rest interface itself?

I was looking for the current version of the github API, but it seems to be omitted. https://api.github.com/ I am personally considering to add a new field to my own API, but I wonder whether that ...
4
votes
1answer
40 views

Does Oracle have an API that shows the latest stable JDK version?

There is an ansible role that installs jdk8, but is incompatible with jdk9. The role parses a couple of html pages and the commands are incompatible with java9. It was quite hard to make it work for ...
2
votes
2answers
125 views

How to get the latest stable version of Firefox?

How to get the latest version of firefox? This URL was found, but is there no API? I would like to get the latest version, e.g. 58.0.2 so this could be used for other purposes. Just latest is ...
2
votes
3answers
542 views

How to get the latest Tomcat version?

If one checks the Tomcat homepage then one could see some versions, but not only the latest. Off course I could parse the website and find the version, but I am looking for a Tomcat API that shows the ...