Questions tagged [api]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1
votes
1answer
12 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 ...
0
votes
0answers
15 views

ElasticSearch/ElasticCloud alert creation

I am a newbie in Elastic in general and a Junior DevOps, so currently I am trying to manage our alerts for CPU/Disk/Memory in Elastic Cloud. I can create the alerts manually just fine, but that takes ...
0
votes
0answers
21 views

What is the best host solution for a medium starter aplication nowadays?

I'm am deploying an application that can be split into a dashboard with some control systems and an API. The system was developed to be an web interface for some scripts and bots used by a community ...
1
vote
2answers
1k 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
33 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.
1
vote
1answer
63 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/${...
2
votes
1answer
54 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, ...
1
vote
1answer
6k 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>/...
2
votes
4answers
1k 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 ...
1
vote
1answer
20 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
vote
1answer
1k 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 ...
3
votes
0answers
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 ...
0
votes
1answer
85 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
78 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 ...
3
votes
1answer
2k 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 ...
2
votes
1answer
123 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 ...
0
votes
1answer
48 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
41 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
759 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
796 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
44 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 ...
2
votes
2answers
160 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 ...
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 ...