Questions tagged [api]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
20 views

API calls w/ global credentials in Jenkins active choice

Is it possible to use the Jenkins credentials set in the global credentials in the active choice plugin groovy script? I'm trying to make an api call that returns a list and display that as a choices ...
user avatar
0 votes
0 answers
20 views

Any good pattern to deploy and maintain multiple helm-released API version routes along with Istio Virtual Service routing?

I am deploying multiple API versions (helm chart) from automated pipeline and I want to deploy an Istio virtual service to establish routing to those version (/v1, /v2, etc.). Each of these API helm ...
user avatar
1 vote
1 answer
468 views

From inside a Docker container, how can I consume an API that is on the machine's localhost?

First of all, please forgive me if any information is missing or if my question does not meet the standards required by the site. I have very basic knowledge of docker, linux and networking and I am ...
user avatar
1 vote
0 answers
26 views

Kubernetes API watch from multiple replicas

I have a service that uses the Kubernetes API to watch the execution of some pods in my cluster. I want multiple replicas of this service running at the same time, to increase resilience. However, if ...
user avatar
  • 11
0 votes
1 answer
154 views

Why do I get "Connection Refused" when attempting to connect to IPFS API using HTTP?

Created a Digital Ocean Ubuntu 20.04 droplet and setup an IPFS server node in it based on this tutorial. If I run the following command in the server ipfs swarm peers I get the expected results In ...
user avatar
0 votes
1 answer
291 views

Trying to run a simple API GET request for private Gitlab account

I am trying to run a simple API request to GitLab through powershell 5.1. After generating an access token with all privileges using the Web UI I tried to run the following: invoke-restmethod https://...
user avatar
  • 101
1 vote
0 answers
10 views

An API to register/transfer domain names [closed]

today I faced a new challenge, I have a system that allows my clients to create/manage x stores. the problem here that i want to be able to create a domain name for each store (based on client ...
user avatar
0 votes
0 answers
20 views

E2E Testing REST APIs (Azure)

What is a good start (e.g. a tool) to E2E test REST APIs and interface communication? Is there anything in the Azure DevOps environment? I know about Postman, SoapUI and Pact, but I wonder whether ...
user avatar
  • 1
-1 votes
1 answer
22 views

How to mitigate issues in an IIS on-prem application calling an unreliable cloud vendor API?

We have an IIS 10 (Windows Server) on-prem application that is calling a cloud vendor api and for some reason the api is not reliable. Sometimes the application returns results as expected. Sometimes ...
user avatar
  • 99
0 votes
1 answer
77 views

Can I run an API gateway on the same instance as my API?

Is there any reason why an API gateway should be on a separate server to the API? Other than ensuring enough resources for both. I am using krackend API gateway and hosting a python API.
user avatar
  • 147
2 votes
1 answer
74 views

Is it an antipattern to avoid API Gateway for certain tasks?

I'm creating a platform architecture for my project and I'd like to use an API Gateway of some sort for handling most requests to a Kubernetes cluster (with a few microservices). There is, however, ...
user avatar
1 vote
1 answer
31 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. ...
user avatar
1 vote
1 answer
2k 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 ...
user avatar
1 vote
1 answer
103 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/${...
user avatar
  • 2,993
0 votes
1 answer
167 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 ...
user avatar
1 vote
0 answers
117 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 ...
user avatar
3 votes
1 answer
3k 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 ...
user avatar
2 votes
1 answer
193 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 ...
user avatar
  • 183
3 votes
0 answers
2k 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 ...
user avatar
  • 233
1 vote
1 answer
9k 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>/...
user avatar
  • 51
1 vote
2 answers
2k 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 ...
user avatar
  • 4,152
0 votes
1 answer
51 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?
user avatar
1 vote
0 answers
45 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,...
user avatar
  • 11
1 vote
2 answers
855 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>...
user avatar
  • 175
0 votes
1 answer
832 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 ...
user avatar
  • 103
5 votes
1 answer
46 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 ...
user avatar
  • 12.6k
4 votes
1 answer
43 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 ...
user avatar
  • 12.6k
2 votes
2 answers
212 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 ...
user avatar
  • 12.6k
2 votes
4 answers
2k 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 ...
user avatar
  • 12.6k