Skip to content

Commit 14b98ea

Browse files
authored
Omit trailing slash from URLs (#211)
1 parent 1514a1e commit 14b98ea

File tree

5 files changed

+24
-24
lines changed

5 files changed

+24
-24
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ coverage
2323
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
2424
.grunt
2525

26-
# Bower dependency directory (https://bower.io/)
26+
# Bower dependency directory (https://bower.io)
2727
bower_components
2828

2929
# node-waf configuration

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616

1717
HTTP is the most common choice as the client-server protocol when using GraphQL
1818
because of its ubiquity. However the
19-
[GraphQL specification](https://graphql.github.io/graphql-spec/) deliberately
19+
[GraphQL specification](https://graphql.github.io/graphql-spec) deliberately
2020
does not specify the transport layer.
2121

2222
The closest thing to an official specification is the article
23-
[Serving over HTTP](https://graphql.org/learn/serving-over-http/). Leading
23+
[Serving over HTTP](https://graphql.org/learn/serving-over-http). Leading
2424
implementations on both client and server have mostly upheld those best
2525
practices and thus established a de-facto standard that is commonly used
2626
throughout the ecosystem.
@@ -44,8 +44,8 @@ This repository is managed by EasyCLA. Project participants must sign the free
4444
([GraphQL Specification Membership agreement](https://preview-spec-membership.graphql.org)
4545
before making a contribution. You only need to do this one time, and it can be
4646
signed by
47-
[individual contributors](https://individual-spec-membership.graphql.org/) or
48-
their [employers](https://corporate-spec-membership.graphql.org/).
47+
[individual contributors](https://individual-spec-membership.graphql.org) or
48+
their [employers](https://corporate-spec-membership.graphql.org).
4949

5050
To initiate the signature process please open a PR against this repo. The
5151
EasyCLA bot will block the merge if we still need a membership agreement from

spec/GraphQLOverHTTP.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ You can find our community in the #graphql-over-http channel on the
1717
This specification details how GraphQL should be served and consumed over HTTP
1818
in order to maximize interoperability between clients, servers and tools. This
1919
specification does not override or replace the
20-
[GraphQL specification](https://spec.graphql.org/), it extends it to cover the
20+
[GraphQL specification](https://spec.graphql.org), it extends it to cover the
2121
topic of serving GraphQL services over HTTP. If any statement or algorithm in
2222
this specification appears to conflict with the GraphQL specification, the
2323
behavior detailed in the GraphQL specification should be used.
2424

25-
The [GraphQL specification](https://spec.graphql.org/) deliberately does not
25+
The [GraphQL specification](https://spec.graphql.org) deliberately does not
2626
specify the transport layer, however HTTP is the most common choice when serving
2727
GraphQL to remote clients due to its ubiquity.
2828

2929
Previous to this specification, the article
30-
[Serving over HTTP](https://graphql.org/learn/serving-over-http/)
31-
([WayBack Machine entry, 1st June 2022](https://web.archive.org/web/20220601155421/https://graphql.org/learn/serving-over-http/))
30+
[Serving over HTTP](https://graphql.org/learn/serving-over-http)
31+
([WayBack Machine entry, 1st June 2022](https://web.archive.org/web/20220601155421/https://graphql.org/learn/serving-over-http))
3232
on the graphql.org website served as guidance, and leading implementations on
3333
both client and server have mostly upheld those best practices and thus
3434
established a de-facto standard that is commonly used throughout the ecosystem.

working-group/implementations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ This broadly includes GraphQL servers, clients, middleware, SDK level libraries
7575
| [nanographql](https://github.com/yoshuawuyts/nanographql) | JavaScript | 360 |
7676
| [GQL](https://github.com/graphql-python/gql) | Python | 310 |
7777
| [graphql](https://github.com/shurcooL/graphql) | Go | 304 |
78-
| [re-graph](https://github.com/oliyh/re-graph/) | Clojure | 269 |
78+
| [re-graph](https://github.com/oliyh/re-graph) | Clojure | 269 |
7979
| [GraphQL.Client](https://github.com/graphql-dotnet/graphql-client) | C# | 259 |
8080
| [Grafoo](https://github.com/grafoojs/grafoo) | TypeScript | 251 |
8181
| [nodes](https://github.com/americanexpress/nodes) | Java | 215 |

working-group/public-apis.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,32 @@ The following are common, public GraphQL APIs over HTTP that can be used for com
44

55
| API | Description | Graph*i*QL | Docs/Repo
66
| --- | ----------- | :--------: | :-: |
7-
| AniList | Anime and manga datum, including character, staff, and live airing data. | [Try it!](https://anilist.co/graphiql) | [Docs](https://anilist.github.io/ApiV2-GraphQL-Docs/)
8-
| Artsy | free online platform for collecting and discovering art | [Try it!](https://metaphysics-production.artsy.net/) | [Repo](https://github.com/artsy/metaphysics)
9-
| Braintree | Payment platform | [Try it!](https://graphql.braintreepayments.com/explorer) | [Docs](https://graphql.braintreepayments.com/)
10-
| Buildkite | Continuous integration and deployments | [Try it!](https://graphql.buildkite.com/) | [Docs](https://building.buildkite.com/tutorial-getting-started-with-graphql-queries-and-mutations-11211dfe5d64#.7uhjusw1q)
7+
| AniList | Anime and manga datum, including character, staff, and live airing data. | [Try it!](https://anilist.co/graphiql) | [Docs](https://anilist.github.io/ApiV2-GraphQL-Docs)
8+
| Artsy | free online platform for collecting and discovering art | [Try it!](https://metaphysics-production.artsy.net) | [Repo](https://github.com/artsy/metaphysics)
9+
| Braintree | Payment platform | [Try it!](https://graphql.braintreepayments.com/explorer) | [Docs](https://graphql.braintreepayments.com)
10+
| Buildkite | Continuous integration and deployments | [Try it!](https://graphql.buildkite.com) | [Docs](https://building.buildkite.com/tutorial-getting-started-with-graphql-queries-and-mutations-11211dfe5d64#.7uhjusw1q)
1111
| Catalysis Hub | Chemical surface reaction energies and structures | [Try it!](https://api.catalysis-hub.org/graphql) | [Repo](https://github.com/SUNCAT-Center/CatalysisHubBackend)<br> [Docs](https://docs.catalysis-hub.org/en/latest/tutorials/index.html#graphql)
1212
| CommerceTools | e-commerce solutions | [Try it!](https://impex.commercetools.com/graphiql) | [Docs](https://docs.commercetools.com/graphql-api)
13-
| Contentful | "CMS as a Service". Graph*i*QL demo allows to query a simple blog, but the library itself generates a schema automatically for any content model you store in Contentful. | [Try it!](https://graphql.contentful.com/content/v1/spaces/f8bqpb154z8p/explore?access_token=9d5de88248563ebc0d2ad688d0473f56fcd31c600e419d6c8962f6aed0150599&query=%7B%0A%20%20lessonCollection(where%3A%20%7B%20%0A%09%09OR%3A%20%5B%0A%09%09%09%7B%20title_contains%3A%20%22content%22%20%7D%2C%0A%09%09%09%7B%20title_contains%3A%20%22SDK%22%20%7D%0A%09%09%5D%0A%20%20%7D)%20%7B%0A%20%20%20%20items%20%7B%0A%20%20%20%20%20%20title%0A%20%20%20%20%20%20slug%0A%20%20%20%20%20%20modulesCollection(limit%3A%202%2C%20skip%3A%201)%20%7B%0A%20%20%20%20%20%20%20%20total%0A%09%09%09%09limit%0A%09%09%09%09skip%0A%20%20%20%20%20%20%20%20items%20%7B%0A%20%20%20%20%20%20%20%20%20%20...imageUrl%0A%09%09%09%09%09...%20on%20LessonCodeSnippets%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20title%0A%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20...%20on%20LessonCopy%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20sys%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20id%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20title%0A%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A%0Afragment%20imageUrl%20on%20LessonImage%20%7B%0A%20%20title%0A%20%20image%20%7B%0A%20%20%20%20url%0A%20%20%7D%0A%7D) | [Docs](https://www.contentful.com/developers/docs/tutorials/general/graphql/)
14-
| Countries | Information about countries, continents, and languages, based on [Countries List](https://annexare.github.io/Countries/) | [Try it!](https://countries.trevorblades.com) | [Repo](https://github.com/trevorblades/countries)
13+
| Contentful | "CMS as a Service". Graph*i*QL demo allows to query a simple blog, but the library itself generates a schema automatically for any content model you store in Contentful. | [Try it!](https://graphql.contentful.com/content/v1/spaces/f8bqpb154z8p/explore?access_token=9d5de88248563ebc0d2ad688d0473f56fcd31c600e419d6c8962f6aed0150599&query=%7B%0A%20%20lessonCollection(where%3A%20%7B%20%0A%09%09OR%3A%20%5B%0A%09%09%09%7B%20title_contains%3A%20%22content%22%20%7D%2C%0A%09%09%09%7B%20title_contains%3A%20%22SDK%22%20%7D%0A%09%09%5D%0A%20%20%7D)%20%7B%0A%20%20%20%20items%20%7B%0A%20%20%20%20%20%20title%0A%20%20%20%20%20%20slug%0A%20%20%20%20%20%20modulesCollection(limit%3A%202%2C%20skip%3A%201)%20%7B%0A%20%20%20%20%20%20%20%20total%0A%09%09%09%09limit%0A%09%09%09%09skip%0A%20%20%20%20%20%20%20%20items%20%7B%0A%20%20%20%20%20%20%20%20%20%20...imageUrl%0A%09%09%09%09%09...%20on%20LessonCodeSnippets%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20title%0A%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20...%20on%20LessonCopy%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20sys%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20id%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20title%0A%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A%0Afragment%20imageUrl%20on%20LessonImage%20%7B%0A%20%20title%0A%20%20image%20%7B%0A%20%20%20%20url%0A%20%20%7D%0A%7D) | [Docs](https://www.contentful.com/developers/docs/tutorials/general/graphql)
14+
| Countries | Information about countries, continents, and languages, based on [Countries List](https://annexare.github.io/Countries) | [Try it!](https://countries.trevorblades.com) | [Repo](https://github.com/trevorblades/countries)
1515
| Deutsche Bahn | Infrastructure Data, like realtime facility status, stations, timetables and more | [Try it!](https://bahnql.herokuapp.com/graphql) | [Repo](https://github.com/dbsystel/1BahnQL)
16-
| Digitransit HSL | Transit routes and realtime schedules from Helsinki Regional Transport Authority, Finland | [Try it!](https://api.digitransit.fi/graphiql/finland) | [Docs](https://digitransit.fi/en/developers/apis/1-routing-api/1-graphiql/)
16+
| Digitransit HSL | Transit routes and realtime schedules from Helsinki Regional Transport Authority, Finland | [Try it!](https://api.digitransit.fi/graphiql/finland) | [Docs](https://digitransit.fi/en/developers/apis/1-routing-api/1-graphiql)
1717
| EHRI | Holocaust-related archival materials | [Try it!](https://portal.ehri-project.eu/api/graphql/ui) | [Docs](https://portal.ehri-project.eu/api/graphql)
18-
| EtMDB | Ethiopian Movie Database | [Try it!](https://etmdb.com/graphql?query=%7B%0A%20%20allCinemaDetails(before%3A%20%222017-10-04%22%2C%20after%3A%20%222010-01-01%22)%20%7B%0A%20%20%20%20edges%20%7B%0A%20%20%20%20%20%20node%20%7B%0A%20%20%20%20%20%20%20%20slug%0A%20%20%20%20%20%20%20%20hallName%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A) | [Docs](https://etmdb.com/api/docs/)
18+
| EtMDB | Ethiopian Movie Database | [Try it!](https://etmdb.com/graphql?query=%7B%0A%20%20allCinemaDetails(before%3A%20%222017-10-04%22%2C%20after%3A%20%222010-01-01%22)%20%7B%0A%20%20%20%20edges%20%7B%0A%20%20%20%20%20%20node%20%7B%0A%20%20%20%20%20%20%20%20slug%0A%20%20%20%20%20%20%20%20hallName%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A) | [Docs](https://etmdb.com/api/docs)
1919
| Gdom | DOM Traversing and Scraping using GraphQL | [Try it!](http://gdom.graphene-python.org/graphql?query=%7B%0A++page%28url%3A%22http%3A%2F%2Fnews.ycombinator.com%22%29+%7B%0A++++items%3A+query%28selector%3A%22tr.athing%22%29+%7B%0A++++++rank%3A+text%28selector%3A%22td+span.rank%22%29%0A++++++title%3A+text%28selector%3A%22td.title+a%22%29%0A++++++sitebit%3A+text%28selector%3A%22span.comhead+a%22%29%0A++++++url%3A+attr%28selector%3A%22td.title+a%22%2C+name%3A%22href%22%29%0A++++++attrs%3A+next+%7B%0A+++++++++score%3A+text%28selector%3A%22span.score%22%29%0A+++++++++user%3A+text%28selector%3A%22a%3Aeq%280%29%22%29%0A+++++++++comments%3A+text%28selector%3A%22a%3Aeq%282%29%22%29%0A++++++%7D%0A++++%7D%0A++%7D%0A%7D) | [Repo](https://github.com/syrusakbary/gdom)
20-
| GitHub | Web-based Git repository hosting service | [Try it!](https://developer.github.com/v4/explorer/) | [Docs](https://developer.github.com/v4/)
21-
| GitLab | Host-your-own Git repository hosting service | [Try it!](https://gitlab.com/-/graphql-explorer) | [Docs](https://docs.gitlab.com/ee/api/graphql/)
20+
| GitHub | Web-based Git repository hosting service | [Try it!](https://developer.github.com/v4/explorer) | [Docs](https://developer.github.com/v4)
21+
| GitLab | Host-your-own Git repository hosting service | [Try it!](https://gitlab.com/-/graphql-explorer) | [Docs](https://docs.gitlab.com/ee/api/graphql)
2222
| GraphLoc | Find a geolocation of an IP address including latitude, longitude, city, country, time zone and area code. Free to use, SSL supported | [Try it!](https://graphloc.com) | [Docs](https://www.graphloc.com)
2323
| GraphQL Jobs | GraphQL jobs in modern startups | [Try it!](https://api.graphql.jobs) | [Docs](https://graphql.jobs/docs/api)|
24-
| HIVDB | A curated database to represent, store and analyze HIV drug resistance data | [Try it!](https://hivdb.stanford.edu/page/graphiql/) | [Docs](https://hivdb.stanford.edu/page/webservice/)
24+
| HIVDB | A curated database to represent, store and analyze HIV drug resistance data | [Try it!](https://hivdb.stanford.edu/page/graphiql) | [Docs](https://hivdb.stanford.edu/page/webservice)
2525
| Idobata | Dedicated chat for team development. | [Try it!](https://idobata.io/api) | |
2626
| leanIX | Tools for business strategy | | [Docs](https://dev.leanix.net/docs/graphql-api)
2727
| Pipefy | The operations excellence platform. | [Try it!](https://app.pipefy.com/graphiql) | [Docs](https://developers.pipefy.com) |
2828
| Mattermark | Business research and networking | | [Docs](https://developer.mattermark.com/docs/graphql)
2929
| Memair | Quantified self / extended mind platform | [Try it!](https://memair.com/graphiql) | [Docs](https://docs.memair.com)
30-
| melodyRepo | Fast and reliable dependency manager for Go | [Try it!](https://melody.sh/play/) | [Docs](https://melody.sh/docs/api)
31-
| Microsoft Graph (DEMO) | Connect to the data that drives productivity – mail, calendar, contacts, documents, directory, devices, and more. | [Try it!](https://graphql-demo.azurewebsites.net/) | [Repo](https://github.com/microsoftgraph/graphql-demo)
30+
| melodyRepo | Fast and reliable dependency manager for Go | [Try it!](https://melody.sh/play) | [Docs](https://melody.sh/docs/api)
31+
| Microsoft Graph (DEMO) | Connect to the data that drives productivity – mail, calendar, contacts, documents, directory, devices, and more. | [Try it!](https://graphql-demo.azurewebsites.net) | [Repo](https://github.com/microsoftgraph/graphql-demo)
3232
| Shopify Storefront | The Storefront API gives you full creative control to build customized purchasing experiences for your customers. | [Try it!](https://help.shopify.com/api/storefront-graphiql) | [Docs](https://help.shopify.com/api/storefront-api)<br>[Examples](https://github.com/Shopify/storefront-api-examples)
3333
| Universe | Check what your friends are doing & find unique events near you using our filter. | [Try it!](https://www.universe.com/graphiql) | [Docs](https://developers.universe.com/docs/graphql)
3434
| Yelp | User Reviews and Recommendations of Top Restaurants, Shopping, Nightlife, Entertainment, Services and More | [Try it!](https://www.yelp.com/developers/graphiql) | [Docs](https://www.yelp.com/developers/graphql/guides/intro)
35-
| TravelgateX | The global marketplace for the travel trade | [Try it!](https://api.travelgatex.com/) | [Docs](https://docs.travelgatex.com/getting-started/)
35+
| TravelgateX | The global marketplace for the travel trade | [Try it!](https://api.travelgatex.com) | [Docs](https://docs.travelgatex.com/getting-started)

0 commit comments

Comments
 (0)