Questions tagged [api]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

how to secure Kong Admin Api?

I'm setting up the Kong gateway manager locally using Docker. the requests will be sent to localhost:8000, and admin will be available in localhost:8002. How can I secure these ports locally when ...
onebyi3's user avatar
2 votes
0 answers
112 views

how to specify query when searching for run in jenkins blueocean rest api

I have some jenkins project, that has multiple pipelines defined. I can easily search for runs for a certain pipeline: $ curl -k --silent "https://<SOME_SERVER>/blue/rest/search/?q=type:run;...
murison's user avatar
  • 121
0 votes
1 answer
16 views

I activated all three API Keys on my Etherscan.io account, was I only suppose activate one (1), not three (3)? [closed]

I am new to web3, cloud, C++, CLI, Meta and Stack. This is all a new world a new platform for me. I have no one on one teacher I started off being a service (gig) worker to Content Creator-to-...
SilverBackGodx's user avatar
0 votes
0 answers
284 views

When pipelines with retries on `retry:when` `api_failure` condition are rerun?

What api failures are caught by retry:when api_failure in below pipeline? test: script: some api call retry: max: 2 when: api_failure Does gitlab detect any api call failure inside ...
rok's user avatar
  • 256
1 vote
0 answers
274 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 ...
caio nostre's user avatar
0 votes
0 answers
180 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 ...
ThatChrisGuy's user avatar
3 votes
1 answer
9k 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 ...
Rafael Arend's user avatar
1 vote
0 answers
56 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 ...
TsRoe's user avatar
  • 11
1 vote
1 answer
902 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 ...
Tiago Martins Peres's user avatar
0 votes
1 answer
1k 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://...
user32882's user avatar
  • 111
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 ...
Amir Saadallah's user avatar
-1 votes
1 answer
30 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 ...
Pie's user avatar
  • 99
0 votes
1 answer
191 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.
Neil's user avatar
  • 157
2 votes
1 answer
98 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, ...
Grzegorz Judas's user avatar
1 vote
1 answer
122 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. ...
KidACrimson's user avatar
1 vote
1 answer
3k 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 ...
Most Wanted's user avatar
1 vote
1 answer
180 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/${...
Preston Martin's user avatar
  • 3,218
0 votes
1 answer
277 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 ...
Deeonix's user avatar
1 vote
0 answers
184 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 ...
Pablo Romero's user avatar
3 votes
1 answer
4k 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 ...
Ta Mu's user avatar
  • 6,802
2 votes
1 answer
414 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 ...
Nilesh's user avatar
  • 193
3 votes
0 answers
3k 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 ...
red888's user avatar
  • 243
1 vote
1 answer
13k 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>/...
alex's 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 ...
Alex's user avatar
  • 4,522
0 votes
1 answer
67 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?
Dr. Chocolate's user avatar
1 vote
0 answers
59 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,...
Gdohfg's user avatar
  • 11
1 vote
2 answers
977 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>...
Milister's user avatar
  • 175
0 votes
1 answer
878 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 ...
Victor's 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 ...
030's user avatar
  • 13.1k
4 votes
1 answer
45 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 ...
030's user avatar
  • 13.1k
3 votes
2 answers
360 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 ...
030's user avatar
  • 13.1k
2 votes
5 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 ...
030's user avatar
  • 13.1k