Skip to content


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 30,496 public repositories matching this topic...

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 }' \


taotao54321 commented Apr 23, 2020

When I set boolean options using let, they accept v:true but not v:false.
Nvim says E521: Number required: &ignorecase = 'false'.

  • nvim --version: NVIM v0.5.0-456-gdeb4566ca
  • vim -u DEFAULTS (version: ) behaves differently? NO
  • Operating system/version: Debian testing, linux-image-5.5.0-1-amd64
  • Terminal name/version: alacritty 0.4.2
  • $TERM: screen-256color


atlc commented Aug 6, 2019

Operating system: ALL
Last upstream commit: de496848c1e7b7116371ae25944aced1c22c47a9
Browser version(s): Chrome 75.0.3
Ruby version (run ruby -v): 2.5.1p57

In our use case, we added more deeply nested levels. This caused an issue where the ToC library would grab the HTML tags surrounding the current level and add those into the document.title, giving us such titles in our browser

amrsalama commented Apr 24, 2020

Describe the bug
Find-one endpoint /resource/:id responses with 500 status code instead of 404, this happens with MongoDB setup.

Steps to reproduce the behavior

  1. Setup Strapi with MongoDB configuration.
  2. Create a collection (resource).
  3. Give findOne access to the public.
  4. Send a request to /resource-name/any-invalid-id.

Expected behavior
404 response.


rpkilby commented Jun 19, 2019

Jumping to a subsection via the sidenav will sometimes cause the page header to overlap the anchor point. When navigation is working correctly, there's a perceptible flicker/jump, so I'm guessing javascript is being used to calculate the offsets. Looking at mkdocs's docs, this isn't an issue. I'm wondering if this is something that will be fixed by upgrading mkdocs (#6623), or if it's a theme issu

zhaofangcheng commented Apr 30, 2020




node server/install.js
Error: (node:28710) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.

经查询mongoos官网说明,在5.7版本中使用了较高版本的MongoDB driver3.3.x,其中useUnifiedTopology为过期的方法,

yippibrian commented May 21, 2019

It looks like most of the advice from the OWASP REST Cheat Sheet is discussed in this API-Security-Checklist, but OWASP talks about the importance of CORS, which is not mentioned at all in this API-Security-Checklist. Probably good to make mention. Also, the OWASP REST Cheat Sheet provides a bit more guidance regarding validation that might be good to incorporate.

xmatthias commented Feb 14, 2020

While ccxt does a great job unifying most functions / settings, not everything is or can be unified.
I think it would be good to provide a separate wiki/documentation page which documents exchange-specific properties.

The behavior is there now and all is working well - but to find it users need to search through issues (which are not easy to navigate) to find certain exchange-specifics - and o

snaker00 commented Dec 11, 2018

from wxpy import *
bot = Bot(cache_path=True) # 保持登陆状态
def reply_friend(msg):
print('接收:' + str(msg)) #打印接收到的消息
msg.reply("hello world") #回复消息
msg.reply_image('12.png') #回复图片
msg.reply_file(‘12.png') #回复文件
msg.reply_file('1.txt') #回复文件

WowItsDoge commented Feb 22, 2019

Is there an overview, how the config object for the constructors of the neural network are defined?

This would be interesting:

  • Has brain.NeuralNetwork and brain.recurrent.RNN the same config attributes?
  • What is the description of the inputSize attribute?

Thank you for the great work with this library, it is realy amazing!

wazybr commented May 4, 2020

When generating documentation for a class that extends another, and the base class has it's constructor documented, JSDoc generates duplicated documentation pages for the class that is being extended.

Input code

I was able to reproduce the bug on a minimal example project containing 2 files:


 * Represents foo.
export class Foo { 
Timunas commented Sep 10, 2019

Custom error formatter must have now 5 arguments instead of the old 4. These changes were introduced here on #1652

When migrating from 0.19 to 1.1.0 I had issues on a custom error formatter because the original_exception argument was introduced but that change was not documented on the upgrading guide.

nivida commented Jan 24, 2020

Expected behavior

The path defined for example in the tsconfig file of the web3-providers-http package is misleading and should get corrected if possible in a non-breaking manner.

Actual behavior

The defined path is web3-providers instead of web3-providers-http.

Steps to reproduce the behavior

  1. Open a tsconfig file from one of the provider packag
rajsite commented Feb 11, 2020

I'm upgrading a build environment from python 2 to python 3 and noticed that endpoints with seeded random numbers are not returning the same values. It seems to be related to usage of randint:

It seems like randint is not seed safe and it looks like only random() is: https://bugs.python.o

lihengming commented Jul 3, 2017


  1. 加入Thymleaf模板引擎依赖
edlefebvre commented Dec 10, 2019


  • I am running the latest version. (up upgrade)
  • I searched to see if the issue already exists.
  • I inspected the verbose debug output with the -v, --verbose flag.
  • Are you an Up Pro subscriber?


It would be great to add regex capabilities to redirects like so:

redirects: {
  "/folder/:slug(regexhere)": {
    "location": "https
kgriffs commented Jan 14, 2020

Currently, we ask contributors to strive for consistency with existing code, but it would be helpful to clarify the following regarding docstrings:

  • Docstrings should begin with a short (~70 characters or less) summary line that ends in a period.
  • The summary line should begin immediately after the opening quotes (do not add a line break before the summary line)
  • The summary line should de
You can’t perform that action at this time.