The Wayback Machine - http://web.archive.org/web/20201019195120/https://github.com/topics/rest-api?l=javascript
Skip to content
#

REST API

A representational state transfer (REST) API is a way to provide compatibility between computer systems on the Internet. The concept was first outlined in a dissertation by Roy Fielding in 2000.

Here are 4,068 public repositories matching this topic...

travispamaral
travispamaral commented Nov 28, 2017

Hi there! I see that an issue #2884 deeplinking was integrated to 3.x however if I have a hyperlink with a hash to the operationID nothing happens on click. If I reload the page the UI scrolls to the open panel as expected. Is there something I am missing here? My url looks as follows and I am using the 3.0 dist repo installed via npm.

Again when clicked the URL address is updated but nothing h

zmras
zmras commented May 15, 2020

Hi! Let's assume I have the following data:

obj = {
  _id: 'someId',
  items: [
    { value: 'a', count: 5 },
    { value: 'b', count: 1 },
  ]
}

Please, I want to know how can I use obj.increment() to increment the count field of the first element in items?

I have tried obj.increment('items.0.count') but it doesn't work. I got the following error: Cannot read property '0'

insomnia
tomprats
tomprats commented Oct 14, 2020

I'm having a frustrating experience with the documentation browser. I'm working in a large project with a large number of GraphQL queries. The documentation browser shows the queries but there are so many and they don't appear to be ordered in a meaningful way (although I understand it's probably the way the introspection query returns the data).

Adding support for search, ctrl-f or at least li

JKHeadley
JKHeadley commented Jul 21, 2018

See: https://gist.github.com/ericelliott/f3c2a53a1d4100539f71

Advantages

See: https://medium.com/javascript-scene/you-might-not-need-typescript-or-static-types-aa7cb670a77b

  • autocomplete and type inference with most IDEs
  • doesn't require passing Log objects for every call (although it's encouraged)
  • other non-required parameters (such as query) can be omitted
  • much easier to a
Wikipedia
Wikipedia

Related Topics

api graphql-api
You can’t perform that action at this time.