Skip to content

Commit

Permalink
Merge pull request #32 from ddyfedd/patch-2
Browse files Browse the repository at this point in the history
Update docapis_resource_descriptions.md
  • Loading branch information
tomjoht authored Feb 3, 2021
2 parents 850f482 + 2fab8e5 commit df6634e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ And so on.
{: .tip}
When developers create APIs, they have a design question to consider: Use many variants of endpoints (as with Eventbrite's API), or provide lots of parameters to configure the same endpoint. Often there's a balance between the two. The trend seems to be toward providing separate endpoints rather than supplying a host of potentially confusing parameters within the same endpoint. On the other hand, GraphQL APIs (which I don't cover in this course) provide one endpoint with different ways to query the information the endpoint contains. See [GraphQL And REST Differences Explained With Burgers](http://apievangelist.com/2018/06/29/graphql-and-rest-differences-explained-with-burgers/) for a good explanation about GraphQL versus REST.

As another example, the previous version of the Instagram API depicted a a Relationships resource as follows:
As another example, the previous version of the Instagram API depicted a Relationships resource as follows:

<a class="noCrossRef" class="noExtIcon"><img src="https://s3.us-west-1.wasabisys.com/idbwmedia.com/images/api/instagramapi_3_17.png"/></a>

Expand Down

0 comments on commit df6634e

Please sign in to comment.