Skip to content
#

api-client

An API can be thought of as an instruction manual for communication between multiple software apparatuses. For example, an API may be used for database communication between web applications. By extracting the implementation and relinquishing data into objects, an API simplifies programming.

Here are 3,799 public repositories matching this topic...

httpie
nhooey
nhooey commented Mar 6, 2020

It's not clear from the website's documentation, or the --help output, how to do the following equivalent curl task:

Post a raw JSON query to ElasticSearch:

curl \
    --header "Content-Type: application/json" \
    --request POST \
    --data '{ "_source": [ "restricted_countries.*" ], "query": { "match_all": {} }, "size": 1000 }' \
    'http://localhost:9200/_search'

T

insomnia
4n70w4
4n70w4 commented Mar 29, 2020

Is your feature request related to a problem? Please describe.
An external API does not always respond successfully. Server errors for example 50x or 429 Too Many Requests may occur. Manually pressing the send button while waiting for a successful response can be tedious.

Describe the solution you'd like
Be able to set the number of retries and the expected/unexpected status codes o

nesl247
nesl247 commented Aug 2, 2019

When using typescript as documented in the README, the following deprecation notices occur:

kubernetes-client deprecated require('kubernetes-client').config, use require('kubernetes-client/backends/request').config. at ../../libraries/waitForJob.ts:17:67

kubernetes-client deprecated fromKubeconfig see https://github.com/godaddy/kubernetes-client/blob/master/merging-with-kubernetes.md#re
prkumar
prkumar commented Oct 12, 2019

Suggested by @Shanoir on Gitter:

One thing that I can suggest though: Overall the documentation of uplink is very nice. it clearly lays out how the API classes can be set up, and how to use the decorators. However, there is almost no examples available for the "use" of the methods. I think that across the board, providing these usage examples could really help newcomers get onboarded on the l

mariopro
mariopro commented May 15, 2018

Hi, this looks like a great extension but, unless I'm not finding it in the right place, it's hard to know which parameters should be passed to each method, unless we dig into the code and find it. So the question is, is there any place where we can find the minimum required docs?
Thanks!

ijks
ijks commented May 1, 2018

The GitLab API normally limits the list of issues to 100 entries per request, with a default of 20. This means that Issues::all() and Project::issues() by extension only return the first 20 issues of a project by default, which is surprising given their respective names. It'd be nice if the docs stated this fact, and provided a workaround.

I'd be willing to write a PR for this.

nunomaduro
nunomaduro commented Feb 19, 2019

This issue was created to be a good first issue. The Goal is to study the inclusion of some require-dev dependencies to analyse and detect issues in source for us.

Some proposals:

  • phpstan
  • phploc
  • phpmd

After discussion, we may want you to perform a pull request that includes the tool in the project. You may also have to update the travis.yml.

Wikipedia
Wikipedia
You can’t perform that action at this time.